File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes basic questions Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "basic questions" Watch "basic questions" New topic
Author

basic questions

mark stone
Ranch Hand

Joined: Dec 18, 2001
Posts: 417
1. for writing and running servlets what api (java sdk) do we need to install ?
EE enterprise or SE standard edition ??
sun's java web server contains appropriate module that can run servlets... right ?
So one needs such a module to run the servlets ?
2. what about apache web server ? it comes with the servlet engine ? or is it called container ?
3. there are two parts : one is the sdk and the other is runtime environment. the runtime engine required to run servlets is the "container" ? right ? about the sdk ?
[ August 07, 2002: Message edited by: mark stone ]
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15632
    
  15

Well, you've posted this in the Tomcat forum. Tomcat contains all the necessary J2EE classes to run servlets and JSPs.
Apache is NOT a Java server, but for performance reasons, it's often used to connect to a backend Java server like Tomcat. Tomcat can run just fine without Apache, just a little more overhead on non-Java stuff like basic HTML pages.
I recommend you raid the local bookstore for intro books/magazines on the subject. I think you may also find some recommendations here at the JavaRanch.


Customer surveys are for companies who didn't pay proper attention to begin with.
Anthony Villanueva
Ranch Hand

Joined: Mar 22, 2002
Posts: 1055
installing tomcat4
Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
You will need the JDK and not just the JRE to run JSP's because they get compiled into servlets at runtime.
mark stone
Ranch Hand

Joined: Dec 18, 2001
Posts: 417
thanks for the url.
ok, which one is the one that would install the tomcat container for apache web server
jakarta-tomcat-4.0.4.exe
jakarta-tomcat-4.0.4-LE-jdk14.zip
can you please briefly let me know what is the purpose for this zip file ?
Originally posted by Anthony Villanueva:
installing tomcat4
mark stone
Ranch Hand

Joined: Dec 18, 2001
Posts: 417
jdk for Standard edition or Enterprise ? i believe for EE, but just wanted to make sure.
Originally posted by Bodie Minster:
You will need the JDK and not just the JRE to run JSP's because they get compiled into servlets at runtime.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: basic questions
 
Similar Threads
Java For Web Development: What should I focus on?
basic questions
can J2SE be a server-side JAX-RPC implementation?
Need help to develop web application (Servlets/JSP) using Eclipse IDE and Weblogic
IBM HttpServer and websphere Appserver