> Cglib is brilliant for simply wrapping method calls. As I understand its
> main feature is generating classes dynamically  by merging two classes
that
> were not in any way related at compile time. The generated class looks
like
> a subclass of the original, so you don't need 1000 interfaces as with
> proxies.

And another advantage is that you don't need to break identity equals
the way you do with java.lang.reflect.Proxy. (The Proxy is always a
different object.)

Very, very nice. I wish I knew about this before!



-------------------------------------------------------
This sf.net emial is sponsored by: Influence the future of 
Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) 
program now. http://ad.doubleclick.net/clk;4699841;7576301;v?
http://www.sun.com/javavote
_______________________________________________
hibernate-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/hibernate-devel

Reply via email to