• 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
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

Session Bean Local and Remote Interfaces Question

 
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 580
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I think e option is correct
 
Ashley Bideau
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I also thought "e" but mock engine says "d" . Can anyone please confirm.
 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 333
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 135
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 213
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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).
 
reply
    Bookmark Topic Watch Topic
  • New Topic