Monthly Archives: August 2010

Nice and Naughty Transactions in Hibernate and Spring

I came across a very interesting fact about Spring transaction management.   Spring provides us with two ways of handling transaction 1) Using proxies, 2) Using DI through the getTemplate() method.   Now what happens when we consider 1) we … Continue reading

Posted in Computers and Internet | Leave a comment

JavaAssist and CGLIB Hibernate and Spring

I recently came across some legacy code that brought to mind some interesting aspects of Spring and Hibernate. This involves the code generation libaray CGLIB. Javassist is a class library for editing bytecodes in Java; it enables Java programs to define … Continue reading

Posted in Computers and Internet | Leave a comment