Recommended framework for java web services [closed]

与世无争的帅哥 提交于 2020-01-15 05:27:33

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!