Recommended framework for java web services [closed]
This question was asked about 18 months back. Wanted to see if the community still agrees with CXF as a good choice for the question posted.
Looking for a good framework, if we go the schema-first route.
Thank you.
I use JAX-WS: https://jax-ws.dev.java.net/
Based on annotations, easy to get started. Heaps od examples on the web.
I'm using Axis2 1.5.1 and it sucks. The documentation is very very poor. I feel almost on my own when have to implement jms transport with signing and encryption. A simple client always requires an Axis2 repository in file system.
Nowadays I would recommend JAX-WS as Leonardo suggested. It complies with the current specifications. I used CXF in the past and never had any issues with it (to the extent of my needs). Of course one can argue if Metro (https://jax-ws.dev.java.net/) framework is superior over CXF. In my opinion you should try both and decide which you feel more comfortable with.
Consider to use REST with JAX-RS if you have the choice.
精彩评论