This week's giveaway is in the Programmer Certification (OCPJP) forum.
We're giving away four copies of Java Mock Exams (software) and have David Mayer on-line!
See this thread for details.
Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Doubt on client receiving local component's reference(not resolved)

Srinivasan thoyyeti
Ranch Hand
Posts: 558
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear Ranchers,

Question :
Which are the ways in which a client can get a reference to an existing entity object's local component interface ?

A. Use finder method defined in local home interface
B. Receive the reference as a parameter in a method call.

From point A can i derive following points?

1. client should be residing in the Application deployment package.
2. It can be from Web-container(war) like Servlet (or)
It can be from Ejb-container(same jar or different jar) like SessionBean

Point B is completly out of reach for me. I didn't get it.
Please make me clear on B and any mistakes in A also.

Thanks in advance
[ December 19, 2007: Message edited by: Srinivasan thoyyeti ]
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
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!