XMLbeans

[quote]ADB, XMLBeans, JiBX are framework for binding xml data to java beans and
viceversa. Each one of these have own home page and explains the
architecture and use way.

ADB Axis Data Bindind was created for the project Apache Axis2 for optimize
the marshaling and unmarshaling process using Axis...

XMLBeans is my favorite, http://xmlbeans.apache.org/ it is easy to use, and
very flexible and support all Schema standard

I dont know the JiBX framework, but it seems to be really good (especialy
for de performance), i am learning about this.

ADB and XMLBeans generates java code from a schema definition (xsd file).
And the generated code, extends from classes of the each framework.

In the case of JiBX you must to have the java beans created, and define a
databinding file that indicates to the framework how to bind the xml data to
java beans fields. This is very usefull in the case that you have previously
created the beans and need to use in the message of a web service.[/quote]

[quote]As Jhan suggested, XMLBeans has the best schema support of any of the
frameworks ("all" is a very big claim to make regarding schema, since
there are still disputes over what the specification means in some
areas, but certainly XMLBeans comes about as close as anything does).
ADB and JiBX each have some areas where they don't support schema
correctly. In the JiBX case, the most important one is probably the lack
of support for xsi:type (used for one form of polymorphism in schema
documents).

JiBX is the only data binding framework which currently offers full
support for "unwrapping" operations in Axis2. The Quick Start Guide
(http://ws.apache.org/axis2/1_1/quickstartguide.html) gives a very
simple example of using this - if you compare the JiBX client and server
code with the other examples you'll see how unwrapping simplifies usage.
This simple example doesn't use a binding definition, since it's dealing
only with a couple of primitive types that have default handling, but in
general you'll need a binding definition to tell JiBX how to convert
your Java objects to and from XML. JiBX does provide primitive tools for
generating code and bindings from schema, and binding and schema from
code, but generally you're going to need to work with the binding
definition as the basis of anything you do using JiBX. You can see
http://www.jibx.org for details on JiBX, and
http://ws.apache.org/axis2/1_1/jibx/jibx-codegen-integration.html (also
included in the Axis2 documentation download) for details on how to use
JiBX with Axis2.
[/quote]
from [url]http://www.5341.com/msg/189720.html[/url]
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值