WAS v8.5 > Deploy applications > Deploy messaging resources > Deploy enterprise applications > Deploy enterprise applications developed as message-driven beans

Deploy an enterprise application to use message-driven beans with JCA 1.5-compliant resources

Message-driven beans can be configured as listeners on a JCA 1.5 resource adapter, such as the default messaging provider or the WebSphere MQ messaging provider in WAS.

This task assumes that we have an EAR file containing an enterprise application, developed as a message-driven bean, that can be deployed in WAS.

We can continue to deploy message-driven beans against a listener port. You might want to do this for compatability with existing message-driven bean applications. However, listener ports are stabilized, and you should plan to migrate all your message-driven beans to use JCA 1.5-compliant or 1.6-compliant resources. You deploy message-driven beans against JCA 1.5-compliant resources, and configure the resources as deployment descriptor attributes and (for EJB 3) as annotations.

  1. For each message-driven bean in the application, create a J2C activation specification.

    For more information, see Configure an activation specification for the default messaging provider or Create an activation specification for the WebSphere MQ messaging provider.

  2. For each message-driven bean in the application, configure the J2C deployment attributes, as described in Configure deployment attributes for a message-driven bean against JCA 1.5-compliant resources.

  3. Use the dmgr console to install the application.


Subtopics


Related concepts:

Message-driven beans - automatic message retrieval


Related


Designing an enterprise application to use message-driven beans
Develop an enterprise application to use message-driven beans
Deploy an enterprise application to use message-driven beans with listener ports
Configure security for message-driven beans that use activation specifications
Deploy enterprise applications
Install enterprise application files with the console


+

Search Tips   |   Advanced Search