deploytool Tips for Message-Driven Beans

Chapter 24 covers 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 this example in deploytool, expand the SimpleMessageApp node in the tree view, and then expand the MDBJAR node and select SimpleMessageBean.

Specifying the Bean's Type

You specify the type when you create the bean using the New Enterprise Bean wizard.

1.
To start the wizard, select File→New→Enterprise Bean.
2.
In the General dialog box of the wizard, choose the enterprise bean class of the bean, and accept the bean class name (the default) as the display name. The Enterprise Bean Type appears as Message-Driven by default.

Setting ...

Get The J2EE™ Tutorial Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.