EJB‎ > ‎

Interfaces

Enterprise Java Beans Interfaces

  • Business Interface - Defines business methods that are to be supported by session beans. This interface can either be remote, annotated by @javax.ejb.Remote, or local, annotated by @javax.ejb.Local, but not both.
  • Endpoint Interface - Web Service Interface - Makes business methods available to applications outside of the EJB container via SOAP. This interface based on Java API for XML-RPC (JAX-RPC) and follows SOAP and WSDL standards. The endpoint interface is a plain java interface annotated with @javax.jws.WebService.
  • Message Interface - implements the message interface. It defines the methods the container messaging system, usually JMS, can deliver messages to the bean. This interface is annotated with @javax.ejb.MessageDriven(...)
  • Component Interface - Legacy interface from EJB 2.x - shouldn't be used anymore
  • Home Interface - Legacy interface from EJB 2.x - shouldn't be used anymore
Comments