Package javax.ejb

Interface Summary
EJBContext The EJBContext interface provides an instance with access to the container-provided runtime context of an enterprise Bean instance.
EJBHome The EJBHome interface must be extended by all enterprise Beans' remote home interfaces.
EJBLocalHome The EJBLocalHome interface must be extended by all enterprise Beans' local home interfaces.
EJBLocalObject The EJBLocalObject interface must be extended by all enterprise Beans' local interfaces.
EJBMetaData The EJBMetaData interface allows a client to obtain the enterprise Bean's meta-data information.
EJBObject The EJBObject interface is extended by all enterprise Bean's remote interface.
EnterpriseBean The EnterpriseBean interface must be implemented by every enterprise Bean class.
EntityBean The EntityBean interface is implemented by every entity enterprise Bean class.
EntityContext The EntityContext interface provides an instance with access to the container-provided runtime context of an entity enterprise Bean instance.
Handle The Handle interface is implemented by all EJB object handles.
HomeHandle The HomeHandle interface is implemented by all home object handles.
MessageDrivenBean The MessageDrivenBean interface is implemented by every message driven enterprise bean class.
MessageDrivenContext The MessageDrivenContext interface provides an instance with access to the container-provided runtime context of a message-driven enterprise bean instance.
SessionBean The SessionBean interface is implemented by every session enterprise Bean class.
SessionContext The SessionContext interface provides access to the runtime session context that the container provides for a session enterprise Bean instance.
SessionSynchronization The SessionSynchronization interface allows a session Bean instance to be notified by its container of transaction boundaries.
TimedObject The TimedObject interface contains the callback method that is used to deliver timer expiration notifications.
Timer The Timer interface contains information about a timer that was created through the EJB Timer Service
TimerHandle The TimerHandle interface is implemented by all EJB timer handles.
TimerService The TimerService interface provides enterprise bean components with access to the container-provided Timer Service.
 

Class Summary
AsyncResult<V> Wraps the result of an asynchronous method call as a Future object preserving compatability with the business interface signature.
EJBContainer Used to execute an EJB application in an embeddable container.
ScheduleExpression A calendar-based timeout expression for an enterprise bean timer.
TimerConfig Additional timer configuration options.
 

Enum Summary
ConcurrencyManagementType A Singleton bean's concurrency management type.
LockType Concurrency lock type.
TransactionAttributeType Enum for the types of TransactionAttributes
TransactionManagementType Enums for the TransactionManagement types
 

Exception Summary
AccessLocalException An AccessLocalException is thrown to indicate that the caller does not have permission to call the method.
ConcurrentAccessException A ConcurrentAccessException indicates that the client has attempted an invocation on a stateful session bean while another invocation is in progress.
ConcurrentAccessTimeoutException This exception indicates that an attempt to concurrently access a method of a Singleton resulted in a timeout.
CreateException The CreateException exception must be included in the throws clauses of all create(...) methods define in an enterprise Bean's remote interface.
DuplicateKeyException The DuplicateKeyException exception is thrown if an entity EJB object cannot be created because an object with the same key already exists.
EJBAccessException An AccessLocalException is thrown to indicate that the caller does not have permission to call the method.
EJBException The EJBException exception is thrown by an enterprise Bean instance to its container to report that the invoked business method or callback method could not be completed because of an unexpected error (e.g.
EJBTransactionRequiredException This exception indicates that a request carried a null transaction context, but the target object requires an activate transaction.
EJBTransactionRolledbackException This exception indicates that the transaction associated with processing of the request has been rolled back, or marked to roll back.
FinderException The FinderException exception must be included in the throws clause of every findMETHOD(...) method of an entity Bean's home interface.
IllegalLoopbackException This exception indicates that an attempt was made to perform an illegal loopback invocation on a Singleton with container-managed concurrency.
NoMoreTimeoutsException This exception indicates that a calendar-based timer will not result in any more timeouts.
NoSuchEJBException A NoSuchEJBException is thrown if an attempt is made to invoke a method on an object that no longer exists.
NoSuchEntityException The NoSuchEntityException exception is thrown by an Entity Bean instance to its container to report that the invoked business method or callback method could not be completed because of the underlying entity was removed from the database.
NoSuchObjectLocalException A NoSuchObjectLocalException is thrown if an attempt is made to invoke a method on an object that no longer exists.
ObjectNotFoundException The ObjectNotFoundException exception is thrown by a finder method to indicate that the specified EJB object does not exist.
RemoveException The RemoveException exception is thrown at an attempt to remove an EJB object when the enterprise Bean or the container does not allow the EJB object to be removed.
TransactionRequiredLocalException This exception indicates that a request carried a null transaction context, but the target object requires an activate transaction.
TransactionRolledbackLocalException This exception indicates that the transaction associated with processing of the request has been rolled back, or marked to roll back.
 

Annotation Types Summary
AccessTimeout Specifies the amount of time in a given time unit that a concurrent access attempt on a Singleton session bean should block before timing out.
ActivationConfigProperty Annotation for adding properties to messaging bean annotations (i.e.
AfterBegin Designate a stateful session bean method to receive the AfterBegin Session Synchronization callback.
AfterCompletion Designate a stateful session bean method to receive the AfterCompletion Session Synchronization callback.
ApplicationException Annotation for identifying an Exception class as an Application Exception, which does not cause a transaction rollback
Asynchronous Used to mark a method as an asynchronous method or to designate all business methods of a class or interface as asynchronous.
BeforeCompletion Designate a stateful session bean method to receive the BeforeCompletion Session Synchronization callback.
ConcurrencyManagement Declares a Singleton bean's concurrency management type.
DependsOn Used to express an initialization dependency between Singleton components.
EJB The EJB annotation denotes a reference to an EJB 3.0 session bean.
EJBs The EJBs annotation is used to specify multiple EJB 3.0 session bean references on a bean class.
Init Annotation to mark a method that will initialize a stateful session
Local Bean class annotation that specifies remote interfaces of the Session bean.
LocalBean Designates that a session bean exposes a no-interface view.
LocalHome Annotation for specifying the local home interface for a bean
Lock Declares a concurrency lock for a singleton method.
MessageDriven The MessageDriven annotation specifies that the enterprise bean is a message-driven bean.
PostActivate An ejbActivate type of callback marker.
PrePassivate An ejbPassivate type of callback marker.
Remote Bean class annotation that specifies remote interfaces of the Session bean.
RemoteHome Annotation for specifying the remote home interface for a bean
Remove Annotation to mark a method that will remove a stateful session on completion
Schedule Schedule a timer for automatic creation with a timeout schedule based on a cron-like time expression.
Schedules Schedules multiple timers that use the same method as the timeout callback method.
Singleton Component-defining annotation for a singleton session bean.
Startup Mark a Singleton for eager loading during application initialization.
Stateful A stateful session bean must be annotated with the Stateful annotation or denoted in the deployment descriptor as a stateful session bean.
StatefulTimeout Specifies the amount of time a stateful session bean can be idle ( not receive any client invocations ) before it is eligible for removal by the container.
Stateless A stateless session bean must be annotated with the Stateless annotation or denoted in the deployment descriptor as a stateless session bean.
Timeout Marks an ejbTimeout callback method: public void (Timer timer)
TransactionAttribute The TransactionManagement annotation specifies the transaction management demarcation type of a session bean or message-driven bean.
TransactionManagement The TransactionManagement annotation specifies the transaction management demarcation type of a session bean or message-driven bean.