Configurations for remote_object_release

The remote_object_release process shows how to release EJB 2.x remote objects in one process instance.

Activity Description
Timer This activity starts the process at a specific time.
EJBHome This activity performs a JNDI lookup in the NewEJBResource.ejbResource EJB Configuration shared resource and creates an EJB 2.x remote object.
EJBHome1 This activity performs a JNDI lookup in the NewEJBResource.ejbResource EJB Configuration shared resource and creates another EJB 2.x remote object.
EJBRemote This activity invokes a remote method on the remote object that is created by the EJBHome activity. The Release Remote Object check box is selected in the Advance tab of this activity.
EJBRemote1 This activity invokes a remote method on the remote object that is created by the EJBHome1 activity. The Release Remote Object check box is cleared in the Advance tab of this activity.
EJBRemote2 This activity invokes a remote method on the remote object that is created by the EJBHome activity.

After the EJBRemote activity is completed and then the EJB 2.x object is released, a null pointer exception occurs.

EJB2Remote This activity invokes a remote method on the remote object that is created by the EJBHome1 activity.
Write File This activity writes the exception details to the specified file.