Network Deployment (Distributed operating systems), v8.0 > Develop and deploying applications > Develop EJB applications
Develop EJB 3.x enterprise beans
- EJB 3.1 specification
This topic describes the EJB 3.1 specification that is the foundation of the development and application programming model for EJB 3.1 applications. Read this topic for a brief overview of the EJB 3.1 specification.
- EJB 3.0 specification
This topic describes the EJB 3.0 specification that is the foundation of the development and application programming model for the EJB 3.0 applications. Read this topic for a brief overview of the EJB 3.0 specification.
- Application exceptions
Application exceptions alert the client of application specific or business logic issues; they do not report system level exceptions. This topic includes a brief overview of how application exceptions are defined and examples of the @ApplicationException annotation and corresponding application-exception deployment descriptor element.
- EJB 3.x module considerations
When using EJB 3.x modules, keep in mind the following considerations.
- EJB metadata annotations
Annotations enable you to write metadata for EJB inside your source code. We can use them instead of extensible markup language (XML) deployment descriptor files. Annotations can also be used with descriptor files.
- EJB 3.x interceptors
An interceptor is a method that is automatically called when the business methods of an EJB are invoked or lifecycle events of an EJB occur.
- Create stubs command
The createEJBStubs command creates stub classes for remote interfaces of EJB Version 3.x beans packaged in JAR, WAR, or EAR files. It also provides an option to create a single stub class from an interface class located in a directory or a JAR file. Several command options are provided to package the generated stub classes in different ways. See the following syntax and example sections for more details.