Chapter 13 Working with Java


Creating an EJB 3.0 with the Enterprise JavaBean Wizard

To create an EJB3, launch the Enterprise JavaBean Wizard from a class diagram. The following types of EJB3 beans are available:

Steps To create an EJB 3.0 with the Enterprise JavaBean Wizard:

  1. If you have already created a class to serve as the BeanClass, then right click it and select Create Enterprise JavaBean from the contextual menu. Otherwise, to create an EJB 3.0 along with a new BeanClass, Select Tools→Create Enterprise JavaBean. In either case, the Enterprise JavaBean Wizard opens:
  2. Specify a name for the EJB, and then click Next to go to the next screen:
  3. Choose a type of EJB3, and then click Next to go to the next screen:
  4. Choose a Bean Class. If you have not selected a class before launching the wizard, a default class with the same name as the component will be suggested. Otherwise the original class will be selected. Then click Next to go to the next screen:
  5. Choose the desired level of transaction support, and then click Next to go to the next screen:
  6. Select the appropriate checkboxes if you want to create diagrams for the component and/or the component classifiers, and then click Finish to instruct PowerDesigner to create them.

 


Copyright (C) 2007. Sybase Inc. All rights reserved.