Pages

26 November 2012

POJOs with Packages Example Problem - Apache Axis2 Web Services 2nd Ed.

POJO style web service development is a variation of  bottom-up web service development allowed by Axis2. Compiling a single java file then put .class file under "\webapps\axis2\WEB-INF\pojo" to use it as a web service is simple and straightforward. However, it is so weak because of its limitation of usages. When more complex requirements occurs it is time to gather all required classes under a .jar file and mark exposed web service implementation classes with appropriate annotations then deploy it.

I followed the directions from Apache Axis2 Web Services 2nd Ed(page 106). But my project's jar file failed to deploy without warnings and run without errors. Because, Apache axis2 1.6.x and below distributions do not support JSR 181 annotated POJO as it' s declared below issue.

https://issues.apache.org/jira/browse/AXIS2-4127

No comments:

Post a Comment

Thx for reading! Comments are appreciated...