I am gonna implement web service in Java but before implementation I will decide which framework I should use. Simplicity and running on JBoss 4.2.3 Platform are the requirements.
Wh开发者_如何转开发at is your suggestions?
Instead of using an additional technology stack component, why not use the @WebService
annotation introduced in EJB3. JBoss 4.2.3 supports EJB3
Two examples
Using EJB3 Web Services guarantees that you web services will run on any Java EE compliant server without any modifications to the server.
Since JBoss provides JavaEE features, you can simply take a look at JAX-WS, annotate your EJBs, and let JBoss handle everything from there.
Otherwise you can look at Apache CXF and for JBoss + CXF see here
- Axis2 on Tomcat 6
- JAX-WS on Tomcat 6
Quick, Fast and Easy
精彩评论