# Uses of Package
javax.ejb

- Packages that use javax.ejb
  Package | Description
  --- | ---
  javax.ejb | Contains the Enterprise JavaBeans classes and interfaces that define the contracts between the enterprise bean and its clients and between the enterprise bean and the EJB container.
  javax.ejb.spi | Defines interfaces that are implemented by the EJB container.
  javax.management.j2ee | Provides the J2EE Management Enterprise Bean component (MEJB) interfaces.

- Classes in javax.ejb used by javax.ejb
  Class and Description
  ConcurrencyManagementType Used to specify the value of the `ConcurrencyManagement` annotation for a singleton session bean.
  ConcurrentAccessException 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.
  CreateException 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.
  EJBContext The EJBContext interface provides an instance with access to the container-provided runtime context of an enterprise bean instance.
  EJBException 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.
  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 beans' remote interfaces.
  EnterpriseBean The EnterpriseBean interface is a common superinterface for the SessionBean, EntityBean and MessageDrivenBean interfaces.
  EntityContext The EntityContext interface provides an instance with access to the container-provided runtime context of an entity bean instance.
  FinderException The FinderException exception must be included in the throws clause of every finder method of an entity bean's home or local home interface.
  Handle The Handle interface is implemented by all EJB object handles.
  HomeHandle The HomeHandle interface is implemented by all home object handles.
  LockType Concurrency lock type for singleton beans with container-managed concurrency.
  MessageDrivenContext The MessageDrivenContext interface provides access to the runtime message-driven context that the container provides for a message-driven bean instance.
  NoMoreTimeoutsException This exception indicates that a calendar-based timer will not result in any more timeouts.
  NoSuchObjectLocalException A NoSuchObjectLocalException is thrown if an attempt is made to invoke a method on a local object (local EJB object or timer) that no longer exists.
  RemoveException The RemoveException is thrown at an attempt to remove an EJB object or local EJB object when the enterprise bean or the container does not allow the EJB object to be removed.
  ScheduleExpression A calendar-based timeout expression for an enterprise bean timer.
  SessionContext The SessionContext interface provides access to the runtime session context that the container provides for a session bean instance.
  Timer The `Timer` interface contains information about a timer that was created through the EJB Timer Service.
  TimerConfig TimerConfig is used to specify additional timer configuration settings during timer creation.
  TimerHandle The TimerHandle interface allows the bean provider to obtain a serializable timer handle that may be persisted.
  TimerService The TimerService interface provides enterprise bean components with access to the container-provided Timer Service.
  TransactionAttributeType The enum `TransactionAttributeType` is used with the `TransactionAttribute` annotation to specify whether the methods of a session bean or message driven bean are called with a valid transaction context.
  TransactionManagementType The enum `TransactionManagementType` is used with the `TransactionManagement` annotation to specify whether container-managed or bean-managed transaction management is used.

- Classes in javax.ejb used by javax.ejb.spi
  Class and Description
  EJBException 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.
  EJBHome The EJBHome interface must be extended by all enterprise beans' remote home interfaces.
  EJBObject The EJBObject interface is extended by all enterprise beans' remote interfaces.

- Classes in javax.ejb used by javax.management.j2ee
  Class and Description
  CreateException 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.
  EJBHome The EJBHome interface must be extended by all enterprise beans' remote home interfaces.
  EJBObject The EJBObject interface is extended by all enterprise beans' remote interfaces.

Copyright © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.