Hi, I want to call 4 methods i.e.,insert update,add,delete on 4 buttons and thru this i want to call diff methods which r in the same entity bean.So for that i've to lookup for four times(which is getting problamatic ) or i 've to write 4 diff.beans.coz of some things i cant use session bean.so what is the solution for this??? bye Samir
posted 16 years ago
You should use a session bean as a front for your entity beans if possible, it's good practice. To avoid having to lookup again between Txns, you can use a handle - it will persist refs to an EJBObject.