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.
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.
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]
My Application does not have EJB so I think that Tomcat is good enough.
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.
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/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With