Summary

Today you wrote a message-driven enterprise bean that processes messages asynchronously. The enterprise bean consists of bean class and deployment descriptors. When a client sends a message to a Destination for which a message-driven bean is the consumer, the EJB container calls the onMessage() method on the bean instance passing the client's message. The onMessage() method of the enterprise bean class contains business logic to process the message. The enterprise bean doesn't provide home and component interfaces for client access. You also learned how to package and deploy the enterprise bean, and then you wrote and ran a client that accessed the enterprise bean.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.116.65.130