axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sagara Gunathunga (JIRA)" <>
Subject [jira] [Created] (AXIS2-5340) ServiceDeployer should follow the standard deployment architecture
Date Mon, 11 Jun 2012 15:14:42 GMT
Sagara Gunathunga  created AXIS2-5340:

             Summary:  ServiceDeployer should follow the standard deployment architecture
                 Key: AXIS2-5340
             Project: Axis2
          Issue Type: Improvement
          Components: kernel
    Affects Versions: 1.6.2
            Reporter: Sagara Gunathunga 
             Fix For: 1.7.0

Axis2 ServiceDeployer implements Deployer interface like any other Axis2 deployers but it
does not use axis2.xml file instead ServiceDeployer is hard coded in DeploymentEngine. This
approach having some limitations. 

1.) It is not possible to disable ServiceDeployer if a user only wants to use any other deployer.
( e.g - only JAX-WS deployer) but other deployers grant such features. 

2.) It is not possible to use  newly introduced custom ServiceBuilderExtension  feature with

3.) Standard  axis2.xml based <deployer> element use "extension" and "directory" attributes
to define deployment unit type ( file extension) and container directory. But ServiceDeployer
only work with AAR or exploded AAR archives also use "ServicesDirectory" parameter to specify
directory this is no longer required with proposed solution.   
4.) It's kind of bad practice to have two deployment architectures within a single framework.
It would be nice to port ServiceDeployer into well designed Deployer interface + axis2.xml
based approach. 
5.) With above 3. it is possible to use customized ServiceDeployers easily. 

Following entry need to be added to axis2.xml files of existing applications to keep backward
comparability if the applications upgraded to Axis2 1.7.0 or later versions. 

  <deployer extension=".aar" directory="services" class="org.apache.axis2.deployment.ServiceDeployer">
        <serviceBuilderExtension name ="jwsbuilderExt" class="org.apache.axis2.jaxws.framework.JAXWSServiceBuilderExtension"/>
        <serviceBuilderExtension name ="jwsbuilderExt" class="org.apache.axis2.deployment.WSDLServiceBuilderExtension"/>

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message