• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Bear Bibeault
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • salvin francis
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Frits Walraven
Bartenders:
  • Jj Roberts
  • Carey Brown
  • Scott Selikoff

J2EE Sever or Tomcat ?

 
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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...

Good Luck!
Rahul..
 
Ranch Hand
Posts: 134
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Anjanesh,

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
 
Ranch Hand
Posts: 341
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator


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.



Yes, you can use JK1.2.x or mod_proxy to make connecting between Tomcat and Apache.
 
It's just like a fortune cookie, but instead of a cookie, it's pie. And we'll call it ... tiny ad:
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic