I am not too in favour of XML in entity bean.
XML is sloooow : the writer talks about perf in creation of the XML.
The problem is on the parsing of it : really really too slow.
As the writer mention you also loose the object view in the client...

Generating classes _or_ auto xml (or Map or ...) are opposite approach
to the goal of simplifying the developement in J2EE world.

I prefer using generated stuffs by a tool (well xdoclet here) than
reflection, xml... kind of things.
It is faster at run time.  Period.  
There was an article on javaworld some months ago (or maybe o reilly??)
describing the difference of approach better than I am able to do.

It is a debate really and I don't believe there is a definitive answer.

But be sure we will be able to do exactly the same in terms of
functionnality in Value Object that what this article do.
We can also give the same output using generated toString and it will be
faster at run time than DOM, reflection stuffs.  Hehe that is all the
power of xdoclet.

The trick is clever though. I don't want to criticize that.  I just give
my own opinion.



> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED]] On Behalf 
> Of Steve Knight
> Sent: jeudi 21 mars 2002 17:52
> To: [EMAIL PROTECTED]
> Subject: Re: [Xdoclet-user] ValueObjects
> 
> 
> Mmmm, Xjavadoc.
> sounds sweet...I am anxiously anticipating.
> 
> By the way, what are your thoughts on the Dynamic Value 
> Objects article on
> TheServeSide.com: 
> http://www.theserverside.com/resources/article.jsp?l=CMP2
> 
> Thanks again,
> 
> Steve
> 
> 
> ----- Original Message -----
> From: "Vincent Harcq" <[EMAIL PROTECTED]>
> To: "'Steve Knight'" <[EMAIL PROTECTED]>; 
> <[EMAIL PROTECTED]>
> Sent: Thursday, March 21, 2002 11:11 AM
> Subject: RE: [Xdoclet-user] ValueObjects
> 
> 
> > Yep that was he has done.
> > Please wait and you will get xjavadoc included for the same 
> price ;) 
> > Xjavadoc is far more important atm. Regards
> > Vincent
> >
> > > -----Original Message-----
> > > From: [EMAIL PROTECTED]
> > > [mailto:[EMAIL PROTECTED]] On 
> Behalf Of Steve 
> > > Knight
> > > Sent: jeudi 21 mars 2002 15:55
> > > To: [EMAIL PROTECTED]
> > > Subject: Re: [Xdoclet-user] ValueObjects
> > >
> > >
> > > Mostly, I am interested in the patches involving the new 
> "volatile" 
> > > tag and the fixes for the duplicate variable definition 
> problem. I 
> > > guess I will have to wait until next week  :(
> > >
> > > Thanks,
> > >
> > > Steve
> > >
> > >
> > > ----- Original Message -----
> > > From: "Vincent Harcq" <[EMAIL PROTECTED]>
> > > To: "Steve Knight" <[EMAIL PROTECTED]>; 
> > > <[EMAIL PROTECTED]>
> > > Sent: Thursday, March 21, 2002 9:40 AM
> > > Subject: Re: [Xdoclet-user] ValueObjects
> > >
> > >
> > > > The marcus one ?
> > > > Not before next week I am afraid :(
> > > >
> > > >
> > > > --- Steve Knight <[EMAIL PROTECTED]> wrote:
> > > > > Hey guys,
> > > > > any idea on when the new patches for ValueObjects will be
> > > commited
> > > > > to CVS? I would like to start trying them out to see if
> > > they solve
> > > > > some of my problems.
> > > > >
> > > > > Thanks,
> > > > >
> > > > > Steve
> > > > >
> > > > >
> > > > > _______________________________________________
> > > > > Xdoclet-user mailing list [EMAIL PROTECTED]
> > > > > https://lists.sourceforge.net/lists/listinfo/xdoclet-user
> > > > >
> > > > >
> > > > >
> > > >
> > > >
> > > > __________________________________________________
> > > > Do You Yahoo!?
> > > > Yahoo! Movies - coverage of the 74th Academy AwardsR 
> > > > http://movies.yahoo.com/
> > > >
> > > > _______________________________________________
> > > > Xdoclet-user mailing list [EMAIL PROTECTED]
> > > > https://lists.sourceforge.net/lists/listinfo/xdoclet-user
> > > >
> > >
> > > _______________________________________________
> > > Xdoclet-user mailing list [EMAIL PROTECTED]
> > > https://lists.sourceforge.net/lists/listinfo/xdoclet-user
> > >
> >
> >
> > _______________________________________________
> > Xdoclet-user mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/xdoclet-user
> >
> 
> _______________________________________________
> Xdoclet-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/xdoclet-user
> 


_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to