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

A couple of generic Tomcat questions

 
Jim Babcock
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I've got a couple of generic questions about Tomcat and was hoping I could get some answers and maybe even a little discuuson about them.

1) What's the difference between Tomcat and Geronimo? Reading the descriptions on their landing pages, I see that Tomcat is a jsp/servlet container and Geronimo is a j2ee container... but isn't Geronimo just an an amalgamation of Tomcats and Struts, two existing Apache projects? I'm confused as to why I should be excited by Geronimo. It seems like a resource drain... at least for the short term.

2) How fast/slow is Tomcat 5.5X? When I first started down this road, I was looking into an Apache/Tomcat figuration and was assured that Tomcat had had considerable work and was about as fast as Apache this days... But as I'm doing other research, I keep running across things that say that they picked up speed when they used Apache as the main server. Admittedly some of these post were older, but I'm still concerned. My application is mostly serving static WML pages to cell phones, but I'm developing some maintenance type applications that will be dynamic (another consideration is that my other servers are all dynamic apps and having as few configs to remember as possible keeps me saner .

Thanks,

Jimbus
 
Daniel Rhoades
Ranch Hand
Posts: 186
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
1) Geronimo is a J2EE Server (still in dev), Tomcat is a J2EE Container, I suspect Geronimo uses tomcat in the same was JBoss does.

2) Fast, but Apache is slightly faster (usually...), unless you have a busy server you might not notice. Consider a Apache/Tomcat configuration - passing only dynamic page requests to tomcat
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65115
89
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
1) Geronimo is a J2EE server -- that is, it also is an EJB container. Tomcat is a servlet/JSP container -- no EJBs.

2) Depending upon who you listen to, Tomcat is sometimes considered faster than Apache in some cases. Most people I know now just use Tomcat or Resin in stand-alone configrations and don't worry about it.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic