Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Tomcat and javaweb server

 
Danish Shaukat
Ranch Hand
Posts: 341
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all!
I use Symantec's Visual Cafe to compile my servlets and then test them using Java Web Server 2.0. People tell me to use tomcat.
1. So whats the difference between java web server and tomcat.
2. Is tomcat only used to test servlets or i can also use it to compile them.
Regards
Danish Shaukat
 
Karthik Guru
Ranch Hand
Posts: 1209
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
tomcat can be used for compiling as well as deploying.
It comes with the servlet.jar required to compile the servlets and jsps.
I guess JWS is a full blown web-server which has a servlet container while tomcat is just a container and can function as a mini web server for testing servlets/jsps.
For enterprise deployment ,it needs to be used in conjunction with Apache web server / probably it can also be used as a plug in other web servers too..am not sure.check out wit apache.
hope my limited knowledge proves to be of some help to you.
karthik.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic