问题
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.
回答1:
I use JAX-WS: https://jax-ws.dev.java.net/
Based on annotations, easy to get started. Heaps od examples on the web.
回答2:
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.
回答3:
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.
回答4:
Consider to use REST with JAX-RS if you have the choice.
来源:https://stackoverflow.com/questions/3330613/recommended-framework-for-java-web-services