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 Can I make do with just Tomcat, OR do I really need JBoss ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Can I make do with just Tomcat, OR do I really need JBoss ?" Watch "Can I make do with just Tomcat, OR do I really need JBoss ?" New topic
Author

Can I make do with just Tomcat, OR do I really need JBoss ?

Anonmo Larry
Greenhorn

Joined: Aug 22, 2006
Posts: 3
Hi,

May I know :
- when do I REALLY need to use an app server like JBoss and
- when a web server like Tomcat is sufficient/enough for my needs ?

I noticed that Tomcat itself has the following :
- provides its own JNDI service
- provides transaction management & resource configuration support through the use of Tyrex 1.0 - allows user to obtain JTA/JCA resources from JNDI namespace, as well as the standard javax.transaction.UserTransaction.

I have the feeling that Tomcat is rather complete for a not-too-complex-webapp. It even has JNDI service, transaction management etc (what else ?)

Of course the obvious answer would be...if you need EJB, then you must use an app server like JBoss. But if I don't use EJB, what kind of features that Tomcat doesn't have that I must use JBoss ?

On the other hand, I think most people just go directly with JBoss, since JBoss includes Tomcat anyway.

I am building a not-too-complex-webapp. I just want to be able to justify when I should use JBoss. I don't want to use a hammer to kill an ant.

Thank you lotz.
[ August 22, 2006: Message edited by: Anonmo Larry ]
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12761
    
    5
If you are not using EJB you certainly should be able to do this with Tomcat. No reason to clog up your system with stuff you dont need.
Furthermore, if you stick to the published servlet api and avoid hard coding details that might vary, moving your app to another server should be easy.

Bill
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Can I make do with just Tomcat, OR do I really need JBoss ?
 
Similar Threads
why JBoss?
Spring + Hibernate - EJB = ?
Newbie Question: Java EE vs Tomcat+Hibernate+Struts
Data Access Object Pattern
Need of IDE