Projects / jTransfo

jTransfo

jTransfo is a Java library to easily convert between transfer and domain objects. It is driven using annotations on the transfer object. Several transfer objects for the same domain object can be used. There are integrations with the Spring framework and Joda-Time.

Licenses
Operating Systems
Implementation

RSS Recent releases

  •  09 Feb 2013 00:12

Release Notes: List type converters should be able to reuse existing lists on target fields. This is important for Hibernate integration. This is done by default, but can be switched off. This release does not require an actual field on the domain object; accessors should be enough. It allows polymorphism on transfer objects. It adds an option to ListTypeConverter for whether null should be kept or converted to an empty list. It adds convertList(), which converts a list of objects. It allows sorting in ListTypeConverter.

  •  21 Jan 2013 05:14

Release Notes: A demo module was added that uses Hibernate and Lombok. Conversion now uses getters and setters on the domain objects, as this is needed to avoid problems with Hibernate lazy loading. Collections need special handling; this release adds a base type converter that accepts the type of the transfer objects. It adds a type converter that updates linked objects but does not update objects in the domain. This is very practical or controlling links between objects without allowing the objects themselves to be modified.

  •  06 Jan 2013 19:49

Release Notes: This release adds the ability to map a transfer object field to a transitive field in the domain object.

Screenshot

Project Spotlight

webon

A Web content management system.

Screenshot

Project Spotlight

Catharsis.Grails.Widgets

A Grails 2 tag library that provides useful social media tags to include in Web pages.