• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

local & remote doubt

 
Shanmugam Karthikeyan
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
1. For this drag and drop type question, you can use each element only once.
Which interface should be matched with which fact,
so that all four matches are correct?

1. remote component a. does not have a getHomeHandle() method
2. remote home b. extends 'javax.ejb.EJBObject'
3. local component c. methods must NOT throw 'java.rmi.RemoteException'
4. local home d. can be used to retrieve an EJBObject reference.


ans given :
1 - b
2 - d
3 - a
4 - c

My answer :
1 -b
2 -d
3- c
4 - a

Can anyone tell me know what is the wrong in my answer.
 
Ugender Rekulampally
Ranch Hand
Posts: 135
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yes, you are right.
 
Raj Kumar Bindal
Ranch Hand
Posts: 418
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think both are correct b/c:

3-a :correct b/c local component does not have a getHomeHandle().
4-c :Throwing RemoteException is not needed for local home or local component.

Your answer is also correct
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic