Java Web服务 - Axis是否必要? [英] Java Web Services - Is Axis Necessary?

查看:128
本文介绍了Java Web服务 - Axis是否必要?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Java Web服务需要 AXIS CXF 吗?是否可以通过JDK(1.6)完成?

Is AXIS or CXF necessary for Java web services? Can it be all done via the JDK (1.6)?

推荐答案


是AXIS还是Java Web服务需要CXF吗?

否。虽然 Axis2 是最常用的Web服务框架,但并不是唯一的方法。

No. Although Axis2 is the most popular framework to work with Web Services is not the only way to do them.


可以通过JDK(1.6)完成吗?

是的,但这要困难得多。通过使用其他应用程序使用的框架以及开发团队提供的错误修复,您将获益匪浅。手工完成就像重新发明轮子一样。

Yes, but it is way much harder. You will benefit tremendously from using a framework used by others apps and from the bug fixes the development team provide. Doing all by hand is like reinventing the wheel.

如果你想完全掌控下面发生的事情,可能你可以选择: JAX-WS

If you want to have full control of what's happening underneath, probably you could go with: JAX-WS

或者如果应用程序非常简单,直接用socket。

or if the application is very simple, directly with socket.

但同样, Axis2 是规范的方式来做WS(但不是唯一的)

But again, Axis2 is the canonical way to do WS ( but not the only one )

这篇关于Java Web服务 - Axis是否必要?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆