users@jaxb.java.net

[Fwd: Re: hyperjaxb2]

From: Aleksei Valikov <valikov_at_gmx.net>
Date: Sat, 07 Oct 2006 12:30:48 +0200

Hi.

Here's some news/details on Hyperjaxb progress.

Bye.
/lexi

attached mail follows:



Hi.

> I have some more queries here on hyperjaxb:
>
> 1) You said that version 1.0 will be released in 2 weeks. This release
> is for hyperjaxb2 OR hyperjaxb3?

This is Hyperjaxb2. Hyperjaxb3 is under active development, but it's a bit early
to release anything. However I'll consider releasing hyperjaxb3-hibernate, which
is simply a port of Hyperjaxb2 and therefore quite mature.

> 2) It is said that hyperjaxb2 supports JAXB1.0 and hyperjaxb3 will
> supoort JAXB2.0. So, will the version 1.0 of hyperjaxb2 support for
> JAXB2.0 or JAXB1.0?

JAXB 1.x.
Hyperjaxb2 and Hyperjaxb3 are not 'versions' of Hyperjaxb, these are parallel
products, one for JAXB1.x, the other for JAXB2.x. They both will be developed
and supported further on.

> 3) Finally, we are not sure whether we should use hyperjaxb2 and
> hyperjaxb3 in our project . What is the difference between hyperjaxb2
> and hyperjaxb3?

This depends on your environment and project time frame.

Environment:

Hyperjaxb2 works with JAXB 1.x, Hibernate 3.x and Java 1.4.x and later.

Hyperjaxb3 works with JAXB 2.x (which therefore requires Java 5) and multiple
persistence platforms:
* Hibernate 3.x - works pretty well already.
* EJB3 via Hibernate Entity Manager/Hibernate annotations - working prototype.
* EJB3 via TopLink Essentials - planned.
* EJB3 via Kodo JDO - planned.
* EJB3 vendor-independent - planned.
* JDO 2.x (vendor-independent and vendor-specific) - planned.

Time frame:

Hyperjaxb2 is stable, mature and quite well documented. It is ready for
production use. Changes done till 1.0 (next two weeks) are merely build issues
and documentation.

Hyperjaxb3 is only partial implemented. If you only want Hibernate 3.x
functionality, this can be used. There's no docs yet, but you can use Hyperjaxb2
docs, it's almous 1:1 port.

If you want EJB3 (JPA) functionality on further platforms, this is not ready. I
have prototype/experimental implementation of EJB3 via Hibernate EM, this is a
funny thing to play is but far from being mature.

Resume:

If you are bound to Java 1.4.x, use Hyperjaxb2.

If you have to start ASAP and you need an industry-proven thing, use Hyperjaxb2.
You will still be able to migrate to Hyperjaxb3-Hibernate without problems,
everything that works with Hyperjaxb2 works with Hyperjaxb3-Hibernate as well.

If you have to start ASAP and you'd rather use JAXB2 from the very start, use
Hyperjaxb3-Hibernate. A stable version will be released in two weeks.

Hope this helps.

Please let me know if I can repost this answer into JAXB/Hyperjaxb mailing lists
(I'm answering _your_ questions after all so I have to ask you permission both
legally and morally speaking.)

Bye.
/lexi