您的位置: 新闻频道 Java新闻

原创新闻 J2XB v1.1发布:Java数据绑定框架

2008-08-06 by 正式编辑 withyou
评论(3) 有531人浏览 j2xb
J2XB v1.1发布,和Apachev Axis2集成一起发布。http://j2xb.sourceforge.net

J2XB是一个数据绑定框架,拥有处理绑定生成从Java到XML Schema和从Java到WSDL能力,帮助开发者写纯粹Java代码,从数据绑定过程定义,XML Schema/ WSDL生成(使用Axis2模块的WSDL),无需代码生成器和写任何配置文件。



J2XB Axis2集成属性:
1。Java 到 创建WSDL类型的web service

2。对WSDL类型完整控制,使用J2XB annotations - XML Constraints, Validations, Facets, Substitution Groups等

3。POJO对象发布,同时包括web service的属性函数,支持属性包括:
a)任何J2XB映射bean
b)任何J2XB支持的基本类型或者值对象
c)任何集合(Array, List or Set)
d)函数异常

J2XB属性:

1。从Java代码完整生成XML Schema,包括Schema属性。
o XML validations (Facets, such as minLength and
patterns).
o Substitution Groups
o Full control of the XML document structure, including flattening Java structures and introducing grouping XML elements.
o Support all XML Simple types
o XML Union Types
o XML List Types

2。绑定任何Java对象到XML
o No requirement for inheriting from a common ancestor.
o No requirement to implement any interface.
o No requirement to have a default constructor.
o No requirement to even have a public constructor, if a factory is provided
o Full support for factories (static factories, instance factories)
o Support for Java built in collection types (Set, List, Array)

3。完整支持集成
o Mapped as Substitution Groups
o Complete and accurate XML Schema generation of the Substitution Groups
o Mapping of generic atomic properties (of type Object and Number) to XML Unions.

4。完整XML解析隔离


完整信息查看:http://j2xb.sourceforge.net

来自:theserverside.com

评论 共 3 条 发表评论

hemahehe 2008-08-07 10:23
"J2XB是一个数据绑定框架,拥有处理绑定生成从Java到XML Schema和从Java到SWDL能力"

SWDL 是 WSDL 吧

WebService 的性能确实很成问题啊
fight_bird 2008-08-07 09:19
WebService是个未老先衰的东西,不值得花费太多精力。
jian'shang 2008-08-07 09:19
吆~~西,大大的好

发表评论

您还没有登录,请登录后发表评论