Win a copy of Escape Velocity: Better Metrics for Agile Teams this week in the Agile and Other Processes forum!
  • 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
  • Liutauras Vilda
  • Tim Cooke
  • Paul Clapham
  • Jeanne Boyarsky
Sheriffs:
  • Ron McLeod
  • Frank Carver
  • Junilu Lacar
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • fred rosenberger

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.
 
What could go wrong in a swell place like "The Evil Eye"? Or with this tiny ad?
Garden Master Course kickstarter
https://coderanch.com/t/754577/Garden-Master-kickstarter
reply
    Bookmark Topic Watch Topic
  • New Topic