• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Stub confusion

 
Anna Hays
Ranch Hand
Posts: 131
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, I have a question from reading the HFEJB book regarding to the stub action behind the scene when a client calls the EJB. Is the follwing statements correct?

The client obtains the Home object from JNDI lookup, the server returns the home stub to the client.

Then client reqest for the EJBObject from the home stub, the server returns the EJBObject stub to the client.

I.e. the clients will have 2 stubs. Is this correct?

Thanks.

Anna
 
Venkatesh Rangamani
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes i believe you are rite.

-Venkat
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic