EJB
In this section:
- Enable EJB support
- Create EJB
- Configure primary key
- Configure service endpoint
- Create and Edit assembly descriptors
- Create CMP bean fields
- Create local and remote interfaces
- Create message listeners
- Create transfer objects
- Define bean class and package
- Edit module with EJB facet
- Migrate to EJB 3.0
- Use 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.