An
endpoint interface, also known as a
service endpoint interface (SEI), is a term used in
Java Platform, Enterprise Edition when exposing
Enterprise JavaBeans as a
Web service (see also
Service Implementation Bean (SIB)). It is annotated with
@WebService
and is a component interface, which declares all the abstract methods that are exposed to the client. As it extends the
java.rmi.Remote
interface, all methods must throw the
RemoteException
. A Web service client accesses a
stateless session bean through the bean's Web service endpoint interface. Like a remote interface, a Web service endpoint interface defines the business methods of the bean.