Creating an Enterprise Bean
See Also
- In the Projects window, select any existing EJB module project.
- Choose File > New from the main window.
- From the Enterprise category, select one of the following EJB templates:
- Follow the directions in the rest of the wizard.
When you create an enterprise bean, the IDE does the following:
- Java EE 5 projects:
- Adds a node for the enterprise bean under the project's Enterprise Beans
node. This node can contain nodes for bean methods and fields.
- Creates the bean class and the interfaces under the Source Packages node
- Opens the bean class in the Source Editor
- J2EE 1.4 projects:
- Adds a node for the enterprise bean under the project's Enterprise Beans
node. This node can contain nodes for bean methods and fields.
- Updates the deployment descriptors for the EJB module and the Enterprise Application module
that contains the EJB module. If your target server is the Sun Java System
Application Server/GlassFish, the IDE also configures the server-specific deployment
descriptors. For all other application servers, you have to write the server-specific
deployment descriptors yourself.
- Opens the bean class in the Source Editor
- See Also
- Creating an EJB Module Project
- Creating an Enterprise Application Project
- About Creating Web Applications
- Generating CMP Entity Beans From a Database
- Generating Persistent Entity Classes From a Database
Legal Notices