Identify correct and incorrect statements or examples about the client view of a entity bean's remote component interface (EJBObject).

A client can access an entity object through the entity bean’s remote interface. An entity bean’s remote interface MUST extend the javax.ejb.EJBObject interface. A remote interface defines the business methods that are callable by remote clients.

public interface Account extends javax.ejb.EJBObject {
	void debit(double amount)
		throws java.rmi.RemoteException,
			InsufficientBalanceException;
	void credit(double amount)
		throws java.rmi.RemoteException;
	double getBalance()
		throws java.rmi.RemoteException;
}					
					

The javax.ejb.EJBObject interface defines the methods that allow the client to perform the following operations on an entity object’s reference:

The container provides the implementation of the methods defined in the javax.ejb.EJBObject interface. ONLY the BUSINESS methods are DELEGATED to the instances of the enterprise bean class.

public interface EJBObject extends Remote {
	EJBHome getEJBHome() throws RemoteException;
	Handle getHandle() throws RemoteException;
	Object getPrimaryKey() throws RemoteException;
	boolean isIdentical(EJBObject obj) throws RemoteException;
	void remove() throws RemoteException, RemoveException;
}
					

Professional hosting     Belorussian informational portal         Free SCWCD 1.4 Study Guide     Free SCDJWS 1.4 Study Guide     SCDJWS 1.4 Quiz     Free IBM Certified Associate Developer Study Guide     IBM Test 000-287. Enterprise Application Development with IBM WebSphere Studio, V5.0 Study Guide     Free Mock Exam Engine