File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes A couple of generic Tomcat questions Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "A couple of generic Tomcat questions" Watch "A couple of generic Tomcat questions" New topic
Author

A couple of generic Tomcat questions

Jim Babcock
Ranch Hand

Joined: Dec 03, 2004
Posts: 55
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

Joined: Jun 30, 2004
Posts: 186
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


Drinking more tea is the key...
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61761
    
  67

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.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: A couple of generic Tomcat questions