EJB
In this section:
- EJB
- Enabling EJB Support
- Creating EJB
- Configuring Primary Key
- Configuring Service Endpoint
- Creating and Editing Assembly Descriptors
- Creating CMP Bean Fields
- Creating Local and Remote Interfaces
- Creating Message Listeners
- Creating Transfer Objects
- Defining Bean Class and Package
- Editing Module with EJB Facet
- Migrating to EJB 3.0
- Using EJB ER Diagram
General EJB features
IntelliJ IDEA features the complete EJB support. It understands EJB specifications from 1.x to 3.0, and leverages them through all of its productivity-boosting features - from coding assistance to refactoring, creating the environment ideally suited for developing EJB applications.
File and live templates for entity, session, message and other beans.
Auto-generating code for CMP beans, fields and relationships.
Dedicated context editors for all supported beans.
Automatic building of standard EJB deployment packages.
Automatic generation of appropriate EJB XML descriptors.
- Complete EJB-aware coding assistance:
Code completion for both EJB code and descriptor files.
EJB error highlighting.
EJB-aware intention actions and quick fixes.
Powerful EJB-aware refactorings.
IntelliJ IDEA unifies all EJB-related application parts in the dedicated facet, which includes EJB descriptors, build, and library settings.
Multiple EJB facets are allowed per module.
EJB 3.0-specific features
Annotation mechanism for creating EJB, and Interceptors.
Automatic code generation, completion and dedicated binding editor.
Full EJB persistence support, powered with generating of persistence mapping from entity beans, Hibernate or JDBC source.
Visual Persistence diagram builder.
- Migration of your existing EJB projects (versions 1.x and 2.x) to EJB 3.0 with:
Converting EJB environment access.
Rebuilding EJB deployment descriptors.
Transforming EJB interfaces.
Turning Entity Beans into Container Managed Persistence.