问题描述
我目前使用Apache Axis。但是我在Intellij IDEA中创建了一个新项目,我可以选择添加以下内容之一:$ b
- Apache Axis
- Glassfish / JAX-WS 2.x RI / Metro 1.x / JWSDP 2.0
- 稳定的Web服务
我选择Axis是因为它是我习惯的那个,但我仍然想知道它是否是更简单的选项。
我会选择JAX-WS 2.x RI / Metro 1.x,它比Axis(它完全过时)要容易得多。就易用性(我讨厌Axis2部署模型)和性能而言,即使Axis2与JAX-WS RI相比也很糟糕(参见)。 NetBeans有很多很好的教程,您可以将它们转换为Idea。查看为例。
I currently use Apache Axis. But I am creating a new project in Intellij IDEA and I have the option to add one of the following:
- Apache Axis
- Glassfish /JAX-WS 2.x RI / Metro 1.x / JWSDP 2.0
- Restful Web services
I am choosing Axis because it's the one I am used to, but I am still wondering if it's the easier option.
I'd go for JAX-WS 2.x RI / Metro 1.x, it's definitely easier than Axis (which is totally outdated by the way). And even Axis2 sucks compared to JAX-WS RI in terms of ease of use (I hate Axis2 deployment model) and performances (see JAX-WS RI 2.1 benchmark details). NetBeans has plenty of good tutorials that you can transpose to Idea. Have a look at http://netbeans.org/kb/61/websvc/intro-ws.html for example.
这篇关于什么是最好的java web服务框架?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!