Entering content frame

Procedure documentation Creating Message-Driven Beans Locate the document in its SAP Library structure

Use

This describes the wizard. Enterprise beans can also be created quickly through the context menus of the relevant projects.

Prerequisites

An EJB Module project exists. See Creating EJB Module Projects or Creating EJB Module DC Projects.

Procedure

       1.      Choose File ® New ® Other...

       2.      On the left pane of the first wizard page, choose J2EE ® EJB, and on the right pane, select EnterpriseBean.

       3.      Choose Next.

       4.      In the EJB Name field, enter a name for your new message-driven bean.

       5.      In the EJB Project field, select the project to contain the message-driven bean.

       6.      In the Bean Type field, select Message-Driven Bean.

       7.      In the Default Package field, enter a package.

If the package does not exist, you can create it now.

       8.      Choose Finish.

Result

If you created the enterprise bean in a normal project, you can now see something like this in the J2EE Explorer view:

This graphic is explained in the accompanying text

If you created the enterprise bean in a DC project, you will see something like this in the J2EE DC Explorer view:

This graphic is explained in the accompanying text

You can now edit the message-driven bean.

Related Procedures

Editing Enterprise Beans

 

Leaving content frame