I have been working with ejb 2.0 for past 2 years on my application and suddenly stuck with a problem where I just want to call a method before and after transaction to database.
I am sure EJB 3.0 has interceptors to deal with this problem but any idea about EJB 2.0 that how to achieve it.