Recommended framework for java web services [close

2019-07-20 20:44发布

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.

4条回答
何必那么认真
2楼-- · 2019-07-20 21:38

I use JAX-WS: https://jax-ws.dev.java.net/

Based on annotations, easy to get started. Heaps od examples on the web.

查看更多
劳资没心,怎么记你
3楼-- · 2019-07-20 21:40

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.

查看更多
迷人小祖宗
4楼-- · 2019-07-20 21:41

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.

查看更多
Root(大扎)
5楼-- · 2019-07-20 21:46

Consider to use REST with JAX-RS if you have the choice.

查看更多
登录 后发表回答