Building a Message-Driven Bean with JBuilder

Building a message-driven bean with JBuilder is accomplished by using the EJB Designer. The EJB Designer offers facilities to create the bean and build the deployment descriptor. The process is as follows:

  • Create a message-driven bean within an EJB container.

  • Build the deployment descriptor for the message-driven bean.

  • Debug the bean execution in process.

The following steps are required to build a generic message-driven bean:

1.
Right-click in the EJB Designer and create a new message-driven bean.
2.
Configure your bean’s parameters and name (see Figure 24.4).
Figure 24.4. Message-driven bean designer.

3.
Edit the deployment descriptor for the message-driven bean (see Figure 24.5). In addition, ...

Get Borland® JBuilder™ Developer’s Guide 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.