aspose file tools*
The moose likes Servlets and the fly likes installation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "installation" Watch "installation" New topic
Author

installation

madhu gadde
Greenhorn

Joined: May 27, 2005
Posts: 11
Hi all,

I had j2sdk in my PC and now i want to run servlets.I gone through the java.sun.com and downloaded j2eesdk1.4. Its a executable file, when i double clicked on it it is installing sun's application server, i had tried somany times and somany links,please suggest me where can i get the j2eesdk( to run servlets only)
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

I'm not sure exactly what you doesnloaded, but it sounds like you downloaded the bits you need to write servlets, but it doesn't actually run them itself. You need a 'servlet container' to run servlets in, like Tomcat.

It's free and it's functional. Not quite up to production standards but great if you want to have a play.

Dave
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

The easiest way I know is to get the standard edition of Java and then download and install Tomcat.
http://jakarta.apache.org/tomcat.

It ships with all the j2ee components it needs so you don't need j2ee.
If you get the ".exe" version, the installer will walk you through the entire installation. During the installation, you can choose to install the optional examples applications.
[ May 27, 2005: Message edited by: Ben Souther ]

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

Originally posted by David O'Meara:
Not quite up to production standards but great if you want to have a play.


Moving off topic here...
David,
I, and plenty of other people using Tomcat in production environments, would have to respectfully disagree with you. Why do you feel that it's not up to production standards?
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

(with appologies to madhu gadde, sorry for hijacking your thread)

I've never used Tomcat in production, but that has always been a client decision. They prefer to pay for something and get support for it; it's a safety thing. My view was based on comments from a few people I know who have or are using it to run there production environment, and compared to the various websphere and weblogics I've used it doesn't sound as stable.

Can I ammend my comment to: Tomcat is an excellent resource for learning Servlets, but should be evaluated against other solutions for production systems, depending on your requirements.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61224
    
  66

Not to further hijack the thread, but to back up Ben: also been using Tomcat for years in a production environment with nary a problem.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: installation