Uses of Package
jakarta.ejb
Package
Description
Contains the Enterprise Bean classes
and interfaces that define the contracts between the enterprise bean
and its clients and between the enterprise bean and the enterprise bean container.
Defines interfaces that are implemented by
the enterprise bean container.
-
ClassDescriptionUsed to specify the value of the
ConcurrencyManagement
annotation for a singleton session bean.A ConcurrentAccessException indicates that the client has attempted an invocation on a stateful session bean or singleton bean while another invocation is in progress and such concurrent access is not allowed.The CreateException exception must be included in the throws clauses of all create methods defined in an enterprise bean's home or local home interface.The EJBContext interface provides an instance with access to the container-provided runtime context of an enterprise bean instance.The EJBException is thrown to report that the invoked business method or callback method could not be completed because of an unexpected error (e.g.The EJBHome interface must be extended by all enterprise beans' remote home interfaces.The EJBLocalHome interface must be extended by all enterprise beans' local home interfaces.The EJBLocalObject interface must be extended by all enterprise beans' local interfaces.The EJBMetaData interface allows a client to obtain the enterprise bean's meta-data information.The EJBObject interface is extended by all enterprise beans' remote interfaces.The EnterpriseBean interface is a common superinterface for the SessionBean, EntityBean and MessageDrivenBean interfaces.The EntityContext interface provides an instance with access to the container-provided runtime context of an entity bean instance.The FinderException exception must be included in the throws clause of every finder method of an entity bean's home or local home interface.The Handle interface is implemented by all enterprise bean object handles.The HomeHandle interface is implemented by all home object handles.Concurrency lock type for singleton beans with container-managed concurrency.The MessageDrivenContext interface provides access to the runtime message-driven context that the container provides for a message-driven bean instance.This exception indicates that a calendar-based timer will not result in any more timeouts.A NoSuchObjectLocalException is thrown if an attempt is made to invoke a method on a local object (local enterprise bean object or timer) that no longer exists.The RemoveException is thrown at an attempt to remove an enterprise bean object or local enterprise bean object when the enterprise bean or the container does not allow the enterprise bean object to be removed.A calendar-based timeout expression for an enterprise bean timer.The SessionContext interface provides access to the runtime session context that the container provides for a session bean instance.TheTimer
interface contains information about a timer that was created through the enterprise bean Timer Service.TimerConfig is used to specify additional timer configuration settings during timer creation.The TimerHandle interface allows the bean provider to obtain a serializable timer handle that may be persisted.The TimerService interface provides enterprise bean components with access to the container-provided Timer Service.The enumTransactionAttributeType
is used with theTransactionAttribute
annotation to specify whether the methods of a session bean or message driven bean are called with a valid transaction context.The enumTransactionManagementType
is used with theTransactionManagement
annotation to specify whether container-managed or bean-managed transaction management is used. -
ClassDescriptionThe EJBException is thrown to report that the invoked business method or callback method could not be completed because of an unexpected error (e.g.The EJBHome interface must be extended by all enterprise beans' remote home interfaces.The EJBObject interface is extended by all enterprise beans' remote interfaces.