• Post Reply Bookmark Topic Watch Topic
  • New Topic

<ejb-local-ref > doubt

 
Sagar Kale
Ranch Hand
Posts: 188
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have doubt about ejb 2.0. Suppose I have a session bean ejbSession which has <ejb-local-ref > in deployment descriptor to entity bean ejbEntity.

Now to call methods on ejbEntity from ejbSession, I still have to do jndi look up for ejbEntity.

Then what is use of of defining <ejb-local-ref > in deployment descirptor ?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!