users@jaxb.java.net

AW: Using JAXB Generated Classes as Beans

From: Wiedmann, Jochen <jochen.wiedmann_at_softwareag.com>
Date: Thu, 30 Oct 2003 07:13:08 +0100

> You would have to write not only the constructor, but an implementation
for each
> method in the interface. However, that's pretty easy, as it's just a
passthrough
> to the JAXB implementation class you're using as a delegate.

Not, that I like the performance issues, but your approach might even be
simplified
by using Proxy classes, in which case all you need to write manually is a
single InvocationHandler, which is simply calling method.invoke().


Jochen