Monday, June 12, 2006

Hyperjaxb3 target platforms

Hyperjaxb2 only had a single target ORM platform and that was Hibernate/HBM file-based mappings. Hyperjaxb2 has literary generated HBM files for the classes generated by JAXB.

In Hyperjaxb3, we'll have multiple target platforms. Hibernate3/HBM is one of the, but I'm looking forward to have EJB3/Hibernate3 with annotations or even JDO if it's somehow relevant.

Each of the supported ORM platforms will have its own generating plugin. At the same time all the platforms will have the same analyzis block (detecting the cardinality and the type of the field). I think the strategy approach used in Hyperjaxb2 is quite reasonable to use here. We'll only need to implement a set of strategies (like single primitive field strategy, complex collection field strategy) for all of the platforms.

0 Comments:

Post a Comment

<< Home