users@jaxb.java.net

RE: Using JAXB Generated Classes as Beans

From: Adam Sherman <adam_at_tritus.ca>
Date: Mon, 03 Nov 2003 11:48:12 -0500

On 11/03/03 16:33:09 +0100 RAOUL Yann wrote:

> Don't you think a good alternative approach would be JAXB to generate
> "beans" without any jaxb specific imports inside, this as a default
> behavior.
> Once data are binded into the bean, you usually don't care of any JAXB
> functions, right ?
> These imports involve that each tier using the data contained in the beans
> would reference JAXB library, which may sometimes possible, sometimes not.

This is a very good point. Why *do* the generated beans have so much
JAXB-specific cruft in them? Shouldn't plain POJOs suffice?

Thanks,

A.


-- 
Adam Sherman
Tritus CG Inc
+1 (613) 797-6819
http://www.tritus.ca/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
For additional commands, e-mail: users-help_at_jaxb.dev.java.net