This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JavaWebServer2.0 to Tomcat Question

 
Rob Levo
Ranch Hand
Posts: 167
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using JavaWebServer2.0 and want to switch to Apache/Tomcat.
Question: Do I need both Apache Web Server and Tomcat or is Tomcat enough by itself?
Thanks.
 
mocca az
Ranch Hand
Posts: 93
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tomcat is enough.
 
Madhav Lakkapragada
Ranch Hand
Posts: 5040
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Personally, I would give a more conservative answer, it depends. If you are trying to get started with servlets
(although, I wouldn't believe you) yes, Tomcat is enough.
However, if you are in the process of serving servlets etc
for a commercial purpose and with commercial support for
static html pages, then you might need apache.
Pl. note Apache supports static html pages and Tomcat supports
servlets, JSPs and html pages.
regds.
- satya
 
Frank Carver
Sheriff
Posts: 6920
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Also Apache supports CGI, in-process perl, PHP, htaccess authentication, URL rewriting, SSL and a whole load of other modules. Many people use Apache for all these things, and a plugin (Tomcat, Resin, JRun etc.) for servlets and JSPs.
 
Madhav Lakkapragada
Ranch Hand
Posts: 5040
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

another comment abt apache..."apache is a reference implementation on windows". All these goodies are
fully supported on Unix, but on windows there maybe
some surprises. Atleast thats' what I understand from
Apache documentation.
In short, your OS also matters to a certain extent.
Couldn't resist to say something negative....
regds.
- satya
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic