Axis2:创建客户端的四种方法
如图所示,有 4 种方法可以在 Axis 2 中创建客户端。
1.building an AXIOM based client,
2.generating a client using Axis2 Databinding Framework (ADB),
3.generating a client using XMLBeans,
4.and generating a client using JiBX
有人可以告诉我,我们如何决定应使用哪种方法。 请指导我。
There are 4 ways to create Clients in Axis 2 as shown
1.building an AXIOM based client,
2.generating a client using Axis2 Databinding Framework (ADB),
3.generating a client using XMLBeans,
4.and generating a client using JiBX
Could anybody please tell me , how can we decide what approach should be used .
please guide me .
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
其他方法是数据绑定技术
ADB 为您提供更好的性能和更少的生成类。但某些模式构造不可用。换句话说,它不能 100% 支持 xml 模式,如果您的模式太复杂,您将无法使用它。
它几乎覆盖了所有模式。但 ADB 有点慢,并且生成很多类。
当您有一些现有的 pojo 类时,将使用 JIBX。
除此之外,您还可以使用 jaxbri。这也类似于 ADB,并且具有更好的模式覆盖率。
Other methods are data binding techniques
ADB gives you better performance and less generated classes. But some of the schema constructs are not available. In other words it is not support xml schema 100% and you won't be able to use it if your schema is too complex.
It has almost all schema coverage. But bit slower to ADB and generate a lot of classes.
JIBX is used when you have some existing pojo classes.
In addition to this you can use jaxbri as well. Which also similar to ADB and have better schema coverage.