Enterprise JavaBeans (EJB) 3.1 specification
This topic describes the Enterprise JavaBeans (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.
Enterprise JavaBeans (EJB) 3.0 specification
This topic describes the Enterprise JavaBeans (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 Enterprise JavaBeans (EJB)
3.x modules, keep in mind the following considerations.
EJB metadata annotations
Annotations enable you to write metadata for Enterprise JavaBeans (EJB) inside your
source code. You 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 Enterprise JavaBeans (EJB) are invoked or lifecycle
events of an EJB occur.
Create stubs command
The createEJBStubs command creates stub classes for remote
interfaces of Enterprise JavaBeans (EJB)
Version 3.0 beans packaged in Java archive
(JAR) or Enterprise archive (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 Syntax
and Examples sections later in this topic for more details.
Create stubs command
The createEJBStubs command creates stub classes for remote
interfaces of Enterprise JavaBeans (EJB)
Version 3.x beans packaged in Java archive
(JAR), web application archive (WAR), or enterprise archive (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.
Last updated: April 18, 2014 05:01 AM CDT http://www14.software.ibm.com/webapp/wsbroker/redirect?version=phil&product=was-nd-iseries&topic=container_ejb_developing3beans File name: container_ejb_developing3beans.html