Hi Trying to get into Servlets. I understand Apache httpd wont support JSP - instead Tomcat is used. So either way I'll need to install another Web Server to run JSP. Im already having IIS running for ASP.NET and Apache running for PHP. So I guess I need another server to run JSP - so I want to know which best suits JSP - Tomcat or some other one provided free from Sun (anything like J2EE Server ?) Thanks
Hi Anjanesh, Yes, to serve the JSPs you need to have a servlet container like Tomcat.
You can run any number of servers on you machine, provided they use different port numbers(IIS + Apache + Tomcat in your case).
To your question about which application server to use. Well, the choices are plenty if you are happy to buy the license products.
If you want to try out something for free & based on open source, then Tomcat is the favorite. If you plan to use EJBs in near future then go for JBoss(JBoss is the EJB container and comes with Tomcat embedded in it).
I have been using Tomcat for a long time in production environment with satisfactory results. Tomcat is relatively sluggish in performance, however you can load balance by using multiple instances of it. The new version 5.5.7 is claimed to be better so give it a try. (But Remember, Tomcat 5.5.7 is designed for the new JVM 1.5 so, if u r using the old JDK then either download the Tomcat compatibilty patch or choose a prior version of Tomcat)
Overall Tomcat is a good product. So go ahead with confidence...
I would have to agree with Rahul. I have been using Tomcat for quite some time now. If all you are looking do to is develop Servlets and JSPs then use Tomcat. But if you are looking for a container that supports the use of EJBs go with JBoss. It is free. If you will be purchasing licenses then I would use webLogic. Just my personal preference if I had a lot of money
Another thing you may want to look into...... If you will be serving static and dynamic content and need it to be very fast, try connecting Apache Server with Tomcat. Last I looked there were quite a few 'plugins' you could use for integration. If it's just going to be a small system, then use just Tomcat. I do not have much experience with Tomcat5. I have been told that there are a lot of additional packages that were added with the new version of Tomcat5.
Good luck! Ryan
SCJP 1.4, SCWCD
Java: The power, elegance, and simplicity of a hand grenade