• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

Handles....

 
Ranch Hand
Posts: 290
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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!!!
 
Ranch Hand
Posts: 387
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
My pie came with a little toothpic holding up this tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
reply
    Bookmark Topic Watch Topic
  • New Topic