Webservices (Axis2) as standalone server or inside tomcat

Hi

We are planning to use Axis2 for developing web application. Going through the installation guide of Axis2, i found that it can be installed as a standalone server and inside tomcat. Can someone please tell me when should Axis2 be deployed inside tomcat and when as a standalone server? Is there any advantage of using one over the other?
LVL 8
thomas908Asked:
Who is Participating?
 
Siva Prasanna KumarConnect With a Mentor Principal Solutions ArchitectCommented:
If your application is already running on a different Application server thats when they choose Standalone version for developing Web services from existing application and deploy in the same environment.

where as Axis 2 with tomcat is a simple open source solution generally used to when an application is started from scratch or in house web services (may not be highly suitable for production environment ).

There are no specific advantage or disadvantage most of the times it depends on which application server are you planning to deploy the axis 2 application. Like in case if you try to deploy an axis application in web logic 8.1 due to the existing SAAJ.jar of different version in web logic 8.1 you will have a slight trouble which could be fixed by making sure the SAAJ.jar of Axis loads before the web logic's jar.
0
 
thomas908Author Commented:
Thanks for replying.

Does that mean for production we should run it as a standalone server. If I create my webservice in Tomcat can I later run it in  standalone server.
Would anyone else like to add something to it
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.