> Just corius, why does generating add, set, get for
> the hibernate beans makes
> you loose any advantage ? (Where is there created a
> prallel class
> hierarchy?)

XDoclet works like this:
- grab source class tagged with tags
- generate something out of it. 

So, say you have base class without getters etc,
but with properties. You can {theoretically, 
since no tags or templates exists for this puprose }
tag properties appropriately. Then you can generate
source for real one class with getters / setters
( derived from base one ) -> you got 2 classes &
you have to work with new one. 

What I like inhibernate is the ability just
write my persistent classes , and work wit them. 
Not like entity beans with all those interfaces
& utility stuff. Though we might be generation some
utility stuff by xdoclet - like remote facades & crud
adapetrs for going to hibernate through session bean.

It simply does not pays to use xdoclet for generation
of getters/setters. Every decent IDE will yllow
you to do this. 

But when it comes to generation of shitload of XML
descriptors - xdoclet comes to full strength...

regards,

=====
Konstantin Priblouda ( ko5tik )    Freelance Software developer
< http://www.pribluda.de > < play java games -> http://www.yook.de >
< render charts online -> http://www.pribluda.de/povray/ >

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
hibernate-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/hibernate-devel

Reply via email to