Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Tomcat or JBoss server for a Java EE application?

This might be duplicate of this and this question.

I have a java application in which i am using JAX-WS (WEB SERVICES). and many other features in it like apache-commons utils.

  1. My application is swing application, that connects to my server code and uploads and downloads, and sync files with the server. my database is mysql.
  2. I have compiled my server code and created a .WAR file. i deployed that .WAR (containing all the required libraries for my server side application) file on a JBoss server and its working fine.

  3. Now my Management says me to why use JBoss instead of Tomcat, which easy to manage and setup on a linux server. actualy they have a linux server which supports tomcat, but not JBoss. so they said to me to deploy on Tomcat on Linux Server. I installed and configured tomcat on my windows and deployed a .WAR file. and also created virtual directory for my resources its working fine[but not tested completely]

  4. My Application does not have EJB so I think that Tomcat is good enough.

  5. Please suggest me is it fine to use Tomcat instead of JBoss server, I am worried if it may get problems in the future, or it might not support features of my application in future or after complete testing.

like image 326
Asghar Avatar asked Jan 18 '23 14:01

Asghar


1 Answers

JBoss uses Tomcat under the hood to host war applications anyway.

Using Tomcat for you war application instead of JBoss should be perfectly fine. Any commons-jars that you are using can be downloaded from http://commons.apache.org/. Put them in your lib directory and you should be good to go. Most apache commons libraries should allready be included with Tomcat though, you'll have to check.

PS:
JAX-WS is standard in the latest JDK6 updates. If your using a earlier version of the JDK then just download the JAX-WS jars. The standard reference implementation from Oracle/Sun can be downloaded from here http://jax-ws.java.net/

like image 173
n4rzul Avatar answered Jan 26 '23 18:01

n4rzul