Configurations for ejb_with_java_invoke

The ejb_with_java_invoke process shows how to use the EJB activities with the Java Invoke activities, to add, update and delete data in a catalogue.

Activity Description
Timer This activity starts the process at a specific time.
EJBHome This activity performs a JNDI lookup in the test.NewEJBResource EJB Configuration shared resource and create an EJB 2.x remote object.
EJBRemote This activity invokes the addCatalogue() method on the remote object which is created by the EJBHome activity. As a result, a record is added in the catalogue.
JavaInvoke This activity invokes a Java class method to check if the catalogue record is added after the EJBRemote activity.
EJBRemote1 This activity invokes the updateCataloguePrice() method on the remote object that is created by the EJBHome activity. As a result, a record is updated in the catalogue.
JavaInvoke1 This activity invokes a Java class method to check if the catalogue record is updated after the EJBRemote1 activity.
EJBRemote2 This activity invokes the deleteCataloguePrice() method on the remote object that is created by the EJBHome activity. As a result, a record is deleted in the catalogue.