欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  资讯频道

J2XB v1.1发布:Java数据绑定框架

程序员文章站 2022-03-22 18:45:02
...
J2XB v1.1发布,和Apachev Axis2集成一起发布。http://j2xb.sourceforge.net

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

J2XB v1.1发布:Java数据绑定框架

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
相关标签: Java 框架 XML