There has been lot of posts and questions about where to use jboss and where to use tomcat.
Tomcat is just a servlet container providing servlet capabilities whereas jboss provides you a complete JEE stack. Few features of JEE stack are as below :-
- JMS messaging for asynchronous integration
- Web Services engine (JAX-WS and/or JAX-RS)
- Management capabilities like JMX and a scripted administration interface
- Advanced security, e.g. out-of-the-box integration with 3rd party directories
- EAR file instead of “only” WAR file support
- It also has EJB (enterprise java beans)
This definitely makes jboss more resource consuming as compared to tomcat. To know how to install and run jboss on linux please see the below link :-
https://docs.jboss.org/jbossas/jboss4guide/r1/html/ch01.html
For installing tomcat on linux please go through the http://tecadmin.net/steps-to-install-tomcat-server-on-centos-rhel/# or https://www.mulesoft.com/tcat/tomcat-on-linux-installation-and-configuration.
Feel free for any queries or comments.
-Alok Thaker