Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 558
  • Last Modified:

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?
0
thomas908
Asked:
thomas908
1 Solution
 
Siva Prasanna KumarPrincipal 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

Featured Post

[Webinar] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now