Chapter 2 covered the basic steps for building and packaging enterprise beans. This section describes the tasks in deploytool that are necessary for message-driven beans. To view an example in deploytool, open the j 2eetutorial/examples/ears/SimpleMessageApp.ear file and select SimpleMessageEJB from the tree view.
You specify the type when you create the bean with the New Enterprise Bean wizard.
1. |
To start the wizard, select File→New→Enterprise Bean.
|
2. |
In the General dialog box of the wizard, select the Message-Driven radio button.
|
3. | In the Transaction Management dialog box, you may select either the Container-Managed or Bean-Managed radio ... |
No credit card required