• 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
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!