I did some superficial tests under JDK1.4. With invocation handling that
just delegates to the actual implementation, it seems that CG is slower than
Proxies initially. But after several thousand invocations CG gets
substantially (20+%) faster than Proxies. My theory is that CG somehow
benefits mor
hi,
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
I like the services-layer idea, but also have to agree that it leads to
repetitive code.
In our system, we have implemented the service layer as session beans. The
transaction management is taken care of by the container. But we still have
the repititive
try{
opensession();
}catch(Exception e){
ro
Bill and Gavin,
There is something I have been thinking about ever since Gavin joined the
JBoss Group. Has the relationship between Hibernate and JBoss4 AOP ever been
discussed? Could bringing JBoss4 AOP and Hibernate closer together could
have some interesting spin offs? Maybe both integrating Hi