Win a copy of The Business Blockchain this week in the Cloud forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Handles....

 
Steven Colley
Ranch Hand
Posts: 290
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi folks, i have a question regarding handle objects ..:

Take a look at this statement:

"The remote clients can retrieve the handle of the entity object using the home interface or component interface."

This is a TRUE statement according to the mock tool.

Comment: The handle of the entity object can be obtained only from the component interface of the bean. The home interface provides only the home handle objects.

1 Does it mean that the sentence above is right or wrong?

2 Does it mean that home handle and "handle" (only) are different things? The first one means habing a handle for the home interface instead of having for remote so?

Tks so much folks!!!
 
Herman Schelti
Ranch Hand
Posts: 387
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Felipe,

I find the mock question vague, but I guess the clue is in the word "or".
The first one of the possibilities is "false", the second one is "true",
and therefore (false || true ) will give the answer "true".

If it's a commercial mock-tool, it's best to ask them, they usually respond quickly.

Answer to your 2nd question: is yes, they are different things.
handle is a handle to (an instance of) EJBObject
homehandle is a handle to (an instance of) EJBHome

Herman
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic