users@jaxb.java.net

Existing classes

From: Robert Greene <rgreene_at_versant.com>
Date: Sun, 12 Jan 2003 12:31:20 -0800

Hi All,

Another point regarding use with existing UML models and their generated
classes.

It seems that JAXB forces the implementation classes into a package that
gets the suffix /impl added to it..... forcing the package name to
include impl. Even if we solve the existing problem ( previous e-mail
on Complex types ) that forces a predetermined inheritance model, the
implementation classes are the ones that need to conform to the existing
code. If you want separate packages between the interfaces and the
implementation classes so you can avoid name collisions or for some
other reason, you should place the interface classes in a seperate
package and let the implementation classes conform to the complete
mapping you are allowed to specify in the binding annotations.

It does not make much sense to allow a package specification in the
binding annotations which is not the resulting package of the
implementation classes.

Has anyone worked around this issue? Any idea if this is going to be
changed in the final release?

Thanks,
-Robert

--
Robert Charles Greene
Versant Corporation
Director, Systems Engineering
Office:  (510) 789-1627
Cell:   (510) 207-5783