What is handle in EJB

Showing Answers 1 - 5 of 5 Answers

RokkamRajesh

  • Jun 15th, 2005
 

To get hold the session state of the Stateful Session bean.

  Was this answer useful?  Yes

Ashok

  • Jun 27th, 2005
 

A handle is an abstraction of a network reference to an EJB object. A handle is intended to be used as a "robust" persistent reference to an EJB object. 

  Was this answer useful?  Yes

Bhumika

  • Dec 4th, 2006
 

A Handle represents a portable reference to a remote EJB object, in that it can be serialized, passed across Java VM boundaries, and then used to reconstitute a remote reference to the same EJB object from which it was acquired.

For Handle interface  getEJBObject()is the only method, which returns a remote reference to the EJB object that it represents.

public interface Handle {
// Public Instance Methods
public abstract EJBObject getEJBObject () throws java.rmi.RemoteException;
}

Passed To: EJBHome.remove()

Returned By: EJBObject.getHandle()

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions