• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

basic questions

 
Ranch Hand
Posts: 417
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ?
 
Ranch Hand
Posts: 2676
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 1055
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 3695
IntelliJ IDE Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Actually, post it to the Apache/Tomcat forum.
 
Eat that pie! EAT IT! Now read this tiny ad. READ IT!
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic