• Post Reply Bookmark Topic Watch Topic
  • New Topic

How To Call Multiple Methods??

 
Samir Narale
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Jim Baiter
Ranch Hand
Posts: 532
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!