You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by am am <ak...@yahoo.com> on 2011/01/25 22:44:32 UTC

Axis2 deployment in POJO

Hi,

I am axis starter and I have the following question.  
Most of the tutorials mention that to deploy a pojo, the pojo should be placed 
under the pojo directory (and if it does not exist create it). 

Additionally, pojos under a package, should be placed in a .jar and modify the 
deployer in axis2.xml to point to pojo directory for jars.
But in official guide of axis2 
http://axis.apache.org/axis2/java/core/docs/pojoguide.html there is no mention 
of a need for pojo directory. Additionally I noticed that if I drop a jar in the 
WEB-INF/lib the pojo deployment still works. 

So, can someone please tell me if the pojo directory is needed or not? Or is the 
pojo directory required, if you have no services.xml for the pojo?
Because for the case of 
http://axis.apache.org/axis2/java/core/docs/pojoguide.html there is a 
services.xml for the pojo.
I am trying to understand how axis2 deploys

Thank you