Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6202321
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T04:42:44+00:00 2026-05-24T04:42:44+00:00

This will appear to be the age old question (which it is :)) that

  • 0

This will appear to be the age old question (which it is :)) that which server is better between Tomcat and JBoss, but I have not found a good enough answer yet to solve my problem.

I know that Tomcat is only a servlet engine and JBoss offers many more functionalities out of the box, but what I fail to understand is why Tomcat is better to use in some situations than jboss.
I read somewhere that JBoss has a pluggable architecture and if required, you can unplug features from JBoss to make it essentially a tomcat servlet container. If that is the case, then isn’t it better to do so instead of using Tomcat, in order to leave scope for plugging things back.

Another explanation I find in favour of Tomcat is that it is lightweight, does that mean less memory requirement or does that also allows faster response. Again, I need to know that won’t jboss load components as per requirement i.e. if i am using only servlets, then won’t jboss skip the rest of the features and become lightweight automatically.

Essentially, my application does not have any Java EE features, but the ‘lightweight’ arguments in favour of Tomcat does not sound convincing enough because of the above mentioned reasons.

Please help.

Edit: We had finally decided to use tomcat back then and we have been using it for more than 6 months now with great ease of use. Infact we found some practical use where we could very easily run multiple tomcat instances on the same server machine for different developers, the same could have been very difficult with jboss.

I have found tomcat to be hassle free for our work and therefore may be the right choice when you are not using much of Java EE features.
PS: Please note that we still use Spring and Hibernate with Tomcat

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T04:42:45+00:00Added an answer on May 24, 2026 at 4:42 am

    First the facts, neither is better. As you already mentioned, Tomcat provides a servlet container that supports the Servlet specification (Tomcat 7 supports Servlet 3.0). JBoss AS, a ‘complete’ application server supports Java EE 6 (including Servlet 3.0) in its current version.

    Tomcat is fairly lightweight and in case you need certain Java EE features beyond the Servlet API, you can easily enhance Tomcat by providing the required libraries as part of your application. For example, if you need JPA features you can include Hibernate or OpenEJB and JPA works nearly out of the box.

    How to decide whether to use Tomcat or a full stack Java EE application server:

    When starting your project you should have an idea what it requires. If you’re in a large enterprise environment JBoss (or any other Java EE server) might be the right choice as it provides built-in support for e.g:

    1. JMS messaging for asynchronous integration
    2. Web Services engine (JAX-WS and/or JAX-RS)
    3. Management capabilities like JMX and a scripted administration interface
    4. Advanced security, e.g. out-of-the-box integration with 3rd party directories
    5. EAR file instead of “only” WAR file support
    6. all the other “great” Java EE features I can’t remember 🙂

    In my opinion Tomcat is a very good fit if it comes to web centric, user facing applications. If backend integration comes into play, a Java EE application server should be (at least) considered. Last but not least, migrating a WAR developed for Tomcat to JBoss should be a 1 day excercise.

    Second, you should also take the usage inside your environment into account. In case your organization already runs say 1,000 JBoss instances, you might always go with that regardless of your concrete requirements (consider aspects like cost for operations or upskilling). Of course, this applies vice versa.

    my 2 cent

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Im sure this will be a simple one but have a project that started
Based on this question it appears that the default template for CheckStyle will allow
This has been an age old question and I am aware of the usual
This will hopefully be an easy one. I have an F# project (latest F#
This will require a little setup. Trust me that this is for a good
Hopefully this will not spark a religious war... We have a web based app
I know this will be a difficult question, so I am not necessarily looking
I think this will be easy but I can't see how to do it!
I would like to do the following but I don't think this will work:
Not certain if this will get much response due to the newness of Windows

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.