O'Reilly logo

J2EE™ Tutorial, The by Beth Stearns, Monica Pawlan, Eric Jendrock, Kim Haase, Dale Green, Stephanie Bodoff

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

deploytool Tips for Message-Driven Beans

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.

Specifying the Bean’s Type and Transaction Management

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required