users@jaxb.java.net

Re: impl class customization

From: Tim Davidson <tim.davidson_at_greenhatconsulting.com>
Date: Fri, 09 May 2003 09:25:44 +0100

where is this chat and where is the example or a faq entry?
could someone include a link so us others can read it?

-----Original Message-----
From: Brandon Franklin [mailto:brandon_at_thoughtriver.com]
Sent: Friday, May 09, 2003 8:38 AM
To: JAXB-INTEREST_at_JAVA.SUN.COM
Subject: Re: impl class customization


You might want to read, later in the log, my response to that question
(CyberCerberus), as well as the comment from Brian Franklin. Also, the
discussion in the Unmoderated portion of the chat (you can follow a link to
that from the bottom of the log page) goes into greater detail about why
this is not a good idea.

-Brandon Franklin
 Thought River South

----- Original Message -----
From: "Vladimir Blagojevic" <vladimir_at_cs.yorku.ca>
To: <JAXB-INTEREST_at_JAVA.SUN.COM>
Sent: Friday, May 09, 2003 4:33 PM
Subject: impl class customization


> Hi,
>
> Quoting the recent chat discussion:
>
> lgstarn: The JAXB specification authors chose to create the generated JAXB
> classes as value objects that can be accessed via interfaces. Can you
> discuss ways (other than straight delegation) in which JAXB can be used as
> part of an object hierarchy? In other words, is there a way to use
> inheritance/polymorphism with these objects to add business behavior?
>
> Ryan Shoemaker: Great question. Everyone wants to know how to add their
> own business logic to the generated classes. We currently have an issue in
> the RI that makes extending the generated classes a little tricky, but it
> is possible. We are working on a FAQ entry that will explain this in more
> detail via the <implClass> customization
>
>
> Any news about an example or a faq entry?
>
>
> Thanks,
> Vladimir
>