Table of Contents
About the EJBWizard
Installing the EJBWizard
Project Organization
Designing an EJB
Compiling the EJB
Advanced configuration options

About the EJBWizard

What is the EJBWizard?

Sample EJBWizard display

The EJBWizard is a GUI tool for the rapid design and implementation of Enterprise Javabeans. Originally designed for the JOnAS EJB server, the EJBWizard now supports JBoss and WebLogic EJBs as well, and can theoretically create EJBs for any EJB application server system.

Disclaimers

This HOWTO describes version 3.5 of the EJBWizard. Some small differences exist between Version 3.5 and earlier versions, mostly having to do with advanced configuration fearures.

As distributed, the EJBs generated are EJB 1.1-compliant. Since the EJBWizard is template-driven, this mostly means that so far no one has contributed any 2.0 EJB templates.

How does the EJBWizard work?

To use the EJBWizard, you fill in the various forms that appear as tabbed pages in the EJBWizard GUI window. If you are designing an Entity EJB you can connect to a database server to obtain field definitions for you. When you have defined all the properties and methods of the EJB, you issue the Generate command from the File menu to cause the various source and support files to be created. Finally, you can save your definitions in a project file in case you have to generate a fresh copy of the EJB. You might want to do this if you later discover a need to add new business methods, finders or create methods.

What are the requirements for using the EJBWizard?

  • The EJBWizard binary distribution

  • A DOM Level 1 XML parser library such as XercesJ version 1.3 or later

  • A suitable JDBC driver(s), if you want to pull database definitions from your database server into the EJBWizard

  • For compiling the generated EJB, you'll also want to have the Ant build tool, available from http://jakarta.apache.org/ant