• 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
  • Paul Clapham
  • Jeanne Boyarsky
  • Liutauras Vilda
Sheriffs:
  • Rob Spoor
  • Bear Bibeault
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:
  • Frits Walraven
  • Himai Minh

session bean business interface.

 
Ranch Hand
Posts: 164
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
core specs :-
If bean class implements a single interface, that interface is assumed to be the business
interface of the bean. This business interface will be a local interface unless the
interface is designated as a remote business interface by use of the Remote annotation
on the bean class or interface or by means of the deployment descriptor.

Now here is a question:
public interface ManageEmployee{
void AddEmployee(Employee emp)
}
@Stateless
public class ManagerEmployeeBean implements ManagerEmployee
{
void AddEmployee(Employee emp)
{//impl}
}

Choose one:
1.ManagerEmployeeBean exposes ManagerEmployee interface as its Local Buss interface.
2.ManagerEmployeeBean does not expose ManagerEmployee as its buss interface.

right ans : 2
my ans 1.

why is 1 incorrect and 2 correct ans choice.

thanks,
mallika
 
Ranch Hand
Posts: 951
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

Is any explanation is given for option 2 is right. I will also go for option 1.

Thanks
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic