站内搜索: 请输入搜索关键词

当前页面: 开发资料首页业界新闻Java Bean 映射工具 Dozer 2.0 发布

Java Bean 映射工具 Dozer 2.0 发布

摘要: Java Bean 映射工具 Dozer 2.0 发布了。Dozer可以在JavaBean到JavaBean之间进行递归数据复制,并且这些JavaBean可以是不同的复杂的类型。
Java Bean 映射工具 Dozer 2.0 发布了。

Dozer可以在JavaBean到JavaBean之间进行递归数据复制,并且这些JavaBean可以是不同的
复杂的类型。

所有的mapping,Dozer将会很直接的将名称相同的fields进行复制,如果field名不同,或者有特别的对应要求,则可以在xml中进行定义。

新版本主要是为了解决XSD schema 类型和domain objects之间的 SOA mapping 问题。

2.0的新特性包括:
Context based mapping
Collection and Array mapping handling Lists, Sets, Arrays and allowing for class type hints
Support for custom converters
Custom bean factories for beans that do not follow the JavaBean specification
Inheritance mapping including abstract classes and interfaces
Field exclusion and custom getter() setter() functionality
Copy-by-reference and 'self' mappingNull and empty quote source value exclusionBi-directional or one-way mapping
String to date mapping
Data type conversion like String to Integer Wrapper or String to primitive
Class level mapping recursion and deep property mapping
Spring integration
Map backed property support
8X speed improvement over dozer 1.x
↑返回目录
前一篇: Open Source Database One$DB v4.1 发布
后一篇: 测试框架 TestNG 4.5 发布