File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes session bean business interface. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "session bean business interface." Watch "session bean business interface." New topic

session bean business interface.

mallika shah
Ranch Hand

Joined: May 11, 2006
Posts: 164
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)
public class ManagerEmployeeBean implements ManagerEmployee
void AddEmployee(Employee emp)

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.

Narendra Dhande
Ranch Hand

Joined: Dec 04, 2004
Posts: 951

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


Narendra Dhande
SCJP 1.4,SCWCD 1.4, SCBCD 5.0, SCDJWS 5.0, SCEA 5.0
I agree. Here's the link:
subject: session bean business interface.
It's not a secret anymore!