• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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.
 
Run away! Run away! Here, take this tiny ad with you:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic