• Post Reply Bookmark Topic Watch Topic
  • New Topic

overloading in EJB

 
Ram Pra
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can we overload the methods in entity and session beans ? If we can, could someone tell me how does the container determine which method to execute ..does it find based on the parameters we specify in the deployment descriptor.
Thanks
Prashanth
 
JeanLouis Marechaux
Ranch Hand
Posts: 906
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Even if you can (actually, I've never tried it), I guess the container will always call the one it knows, ie, wich have the signature defined in the EJB spec.
 
Ram Pra
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It would be gr8 if someone could give a detailed explanation on this.

Thanks
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!