Bruce-

Sounds good.  I'm interested in hearing your take on a couple issues
as they relate to the JAXB 2 spec.  Two things jumped out at me while
I was reading mostly because of discussions that have occurred on
recently on the Castor lists.  First, the requirement that all classes
be JavaBeans, and second, the use of annotations for mapping.

For the first topic, this is basically how Castor currently works
(though Castor does offer direct access to public fields).  Very
recently on the list there was a discussion about persistence
frameworks breaking the public/private barrier in order to work with
classes that have a "restricted" public API (i.e. no set methods or
some other constraint).  I'm going to refrain from stating an opinion
here (though with a little work anyone can find my opinion elsewhere),
and ask instead your thoughts on how this plays with JAXB 2.  Along a
similar vein is the requirement from JAXB for a no-arg constructor.

Looking now to the second topic, I like the idea of not having to
manage multiple files in order to map a class, but I might worry if
the capability of a user (albeit a pretty amazing user) to edit a
mapping themselves is being removed in favor of annotations.  I know
95% of the time the mapping is set by the developer and never changed,
but with an external mapping file it is possible (albeit improbable)
that someone can restructure the XML without touching the code (and
still have everything work).  Again, I'd like to hear your thoughts on
this topic.

Thanks, and I look forward to hearing your ideas.

Stephen


On 3/13/06, Bruce Snyder <[EMAIL PROTECTED]> wrote:
> On 3/13/06, Stephen Bash <[EMAIL PROTECTED]> wrote:
> > Bruce-
> >
> > Having read through some of the JAXB 2 PFD I have some comments I'd
> > like to talk over with you and/or Keith.  Would you prefer discussing
> > them via e-mail or leaving comments on the wiki page? Or I guess
> > there's option three, not hear them at all ;)
>
> Let's discuss it here on the list for all to see.
>
> Bruce
> --
> perl -e 'print unpack("u30","D0G)[EMAIL 
> PROTECTED]&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
> );'
>
> Apache Geronimo (http://geronimo.apache.org/)
>
> Castor (http://castor.org/)
>
> -------------------------------------------------
> If you wish to unsubscribe from this list, please
> send an empty message to the following address:
>
> [EMAIL PROTECTED]
> -------------------------------------------------
>
>

Reply via email to