• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

basic questions

 
mark stone
Ranch Hand
Posts: 417
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
1. for the standard edition the classes are java.* (like java.awt.* java.io.* 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
Posts: 2676
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Anthony Villanueva
Ranch Hand
Posts: 1055
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3695
IntelliJ IDE Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Actually, post it to the Apache/Tomcat forum.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic