Displaying the EJB designer using the (Hosting java) Project For
Displaying the EJB designer using the Project For Existing code wizard, which creates a new JBuilder project containing one or more new EJB modules that contain the deployment descriptors. The Project For Existing Code wizard creates a new JBuilder project from an existing body of work. That body of work can include EJB 1.1 or 2.0 vendor-specific deployment descriptors. To use the Project For Existing Code wizard to create a new JBuilder project and a new EJB module for each directory containing EJB deployment descriptors the wizard scans, follow these steps: 1 Choose File|New to display the object gallery. 2 Click Project in the tree to display the Project page. 3 Double-click the Project For Existing Code icon to start the Project For Existing Code wizard. 4 Use the ellipsis ( ) button to specify the root directory where you want the scan to begin. For example, suppose you have a clients directory that contains two subdirectories named personal_info and accounts, each containing EJBs with deployment descriptors. You want to create both a personal_info and an accounts EJB module. If you specify clients in the Directory field, the wizard starts its scan with the clients directory, then scans the personal_info and accounts directories. Each generated EJB module is given a default name generated from the subdirectory name where the descriptors were found. So the new project the wizard creates will contain two EJB modules, personal_info and accounts. For complete information about using remaining pages of the Project From Existing Code wizard, click the wizard s Help button or see Creating a project from existing files in the Creating and managing projects chapter in Building Applications with JBuilder. Displaying the EJB designer You use the EJB designer to develop enterprise beans. There are two ways to display the EJB designer to begin creating an enterprise bean: Use the EJB Module wizard to create a new module. The wizard displays the new module it creates in the project pane. Double-click the new module to display the EJB designer. See Creating an EJB module with the EJB Module wizard on page 18 for more information. Use the EJB designer wizard. These are the steps you follow: a Choose File|New|Enterprise|EJB to display the EJB page of the object gallery and double-click the EJB designer. b Select the target EJB module for the bean you create from the list of Available EJB Modules. The available EJB modules appear in the list. If you don t have a module yet, you can choose the New button, which starts the EJB Module wizard. When the wizard completes, the EJB designer wizard continues. 22 Developing Applications with Enterprise JavaBeans
Every our account comes with web mail client, free virus scanner, free anti-spam tool, free web templates and much more. For complete list of all our virtual web hosting features check our Virtual Web Hosting section.