The EJB wizards The EJB wizards The object (Web site directory)
The EJB wizards The EJB wizards The object gallery has EJB wizards that help you get started creating enterprise beans. To see the EJB wizards in the object gallery, choose File|New and double-click the Enterprise|EJB node in the tree on the left: EJB Module and EJB designer wizards Each enterprise bean you create must belong to a JBuilder EJB module. An EJB module is a logical grouping of one or more beans that will be deployed in a single JAR file. An EJB module contains the information that represents the context of the EJB JAR file. Before you begin creating beans, you must use either the EJB Module wizard or the EJB designer wizard to create an EJB module. The wizards can create an EJB 2.1, 2.0 or 1.1 module. Once your module exists, you can begin building your beans with the EJB designer or the Enterprise JavaBean 1.1 wizard. Note Although JBuilder supports EJB 2.1 beans, this support is available only with servers that support J2EE 1.4 and have a JBuilder plug-in. For information about creating and working with EJB modules, see Introducing EJB modules on page 17. EJB 1.x wizards Although the EJB designer can now create EJB 2.1, 2.0 and 1.1 beans, you ll want to use the Enterprise JavaBean 1.x wizard or the EJB 1.x Entity Modeler for creating entity beans with bean-managed persistence (BMP). Also, if the entity bean you are creating has relationships to other entity beans, choose the EJB 1.x Entity Modeler rather than the EJB designer to develop your bean. Beans created using the 1.x wizards can be modeled using the EJB designer. For information about using the EJB 1.x wizards, see Chapter 8, Creating beans with the Enterprise JavaBean 1.x wizard and Chapter 9, Creating EJB 1.x entity beans from an existing database table. EJB Test Client wizard Once you ve created an enterprise bean, you ll want to be sure it is working properly. JBuilder provides an EJB Test Client wizard that can create a test client that calls the methods in your bean. The wizard can create a simple application test client, a JUnit test case, or a Cactus JUnit test case. See Chapter 11, Running and testing an enterprise bean for complete information about using the EJB Test Client wizard. 14 Developing Applications with Enterprise JavaBeans
We feature a web hosting shopping cart and live support solution. Just try our web hosting shopping cartwhich provides a secure way of obtaining payments through your website.