File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes basic questions Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "basic questions" Watch "basic questions" New topic

basic questions

mark stone
Ranch Hand

Joined: Dec 18, 2001
Posts: 417
1. for the standard edition the classes are java.* (like java.awt.** etc) and also there are javax.* (like javax.swing, javax.accessibility etc
But for the EE ie enterprise edition there are only javax.activation, javax.mail etc etc
so what exactly is this javax ?
2. for writing and running servlets what api 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 ?
Matthew Phillips
Ranch Hand

Joined: Mar 09, 2001
Posts: 2676
javax stands for java extension. They are packages that are not required as part of the standard java language.
The servlets package is part of J2EE, so you will need that to run it. I think that if you download Tomcat as your servlet container the servlet and jsp support is built in so that you do not need J2EE.

Matthew Phillips
Anthony Villanueva
Ranch Hand

Joined: Mar 22, 2002
Posts: 1055
For writing and debugging servlets, just include $catalina_home/common/lib/servlet.jar in your classpath, if catalina_home is your Tomcat4 install directory.
To set up Tomcat properly, please refer to the docs. If something goes wrong, post it here and there'll be people willing to help.
Mike Curwen
Ranch Hand

Joined: Feb 20, 2001
Posts: 3695

Actually, post it to the Apache/Tomcat forum.
I agree. Here's the link:
subject: basic questions
It's not a secret anymore!