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

Session Bean Local and Remote Interfaces Question

 
Ashley Bideau
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Which of the following are correct for a session bean?


Select 1 correct option.

a The bean provider must provide at least a local home and a local component interfaces.


b The bean provider must provide at least a remote home and a remote component interfaces.


c The Bean Provider must provide either a remote home and a remote component interface or a local home and a local component interface but not local as well as remote home and component interface.


d The Bean Provider may provide either the remote interfaces or the local interfaces.


e The bean provider may provide any combination of local or remote interfaces as long as there is at least one home and one component interface.
 
vidya sagar
Ranch Hand
Posts: 580
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think e option is correct
 
Ashley Bideau
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I also thought "e" but mock engine says "d" . Can anyone please confirm.
 
TeGo Gokhale
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think e is not correct because you cannot have a local home and remote component or you cannot have home and local component interface.

The correct answer i reckon should be : you can have either (remote home & component interface) or (local home & local component) or both. I fail to find matching answer in options.
 
Kedar Dravid
Ranch Hand
Posts: 333
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You may provide either
1) a remote home interface and a corresponding remote component interface, or
2) a local home interface and a corresponding local (component) interface.
You can't have
1) a remote home interface and a corresponding local (component) interface, or
2) a local home interface and a corresponding remote (component) interface.

So, option d is correct.
 
Ugender Rekulampally
Ranch Hand
Posts: 135
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
the correct answer is D. clearly E is wrong since you can't have a local home interface and a remote component interface combination or other way around.

thanks,
Ugender
 
Patrick Williams
Ranch Hand
Posts: 213
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ugender is correct. You can have either (local component/home), (remote component/home) or both. You cannot mix a local component with a remote home (or any combo of one local and one remote).
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic