Service Endpoint Interface
   HOME

TheInfoList



OR:

In the Web service context the term endpoint received a formal definition with the W3C recommendation " WSDL 2.0" of 2007, : ''Defines the address or connection point to a Web service. It is typically represented by a simple HTTP URL string'' The term "endpoint interface" is more specific about "how to implement the endpoint", for example by an OpenAPI specification or by WSDL specification. Typical endpoints can be expressed by URI Templates. In
Open API An open API (often referred to as a public API) is a publicly available application programming interface that provides developers with programmatic access to a proprietary software application or web service. APIs are sets of requirements that g ...
terms the endpoints are resources that the API exposes. The old (2004) term "end point" received also a glossary definition: : ''An association between a binding and a
network address A network address is an identifier for a node or host on a telecommunications network. Network addresses are designed to be unique identifiers across the network, although some networks allow for local, private addresses, or locally administere ...
, specified by a URI, that may be used to communicate with an instance of a service. An end point indicates a specific location for accessing a service using a specific protocol and data format. SD Reqs'


SOAP and Java context

A
SOAP Soap is a salt of a fatty acid used in a variety of cleansing and lubricating products. In a domestic setting, soaps are surfactants usually used for washing, bathing, and other types of housekeeping. In industrial settings, soaps are use ...
-based web service can be implemented as a single Java class. An endpoint interface, also known as a service endpoint interface (SEI), is a term used in
Java Platform, Enterprise Edition Jakarta EE, formerly Java Platform, Enterprise Edition (Java EE) and Java 2 Platform, Enterprise Edition (J2EE), is a set of specifications, extending Java SE with specifications for enterprise features such as distributed computing and web serv ...
when exposing
Enterprise JavaBean Jakarta Enterprise Beans (EJB; formerly Enterprise JavaBeans) is one of several Java APIs for modular construction of enterprise software. EJB is a server-side software component that encapsulates business logic of an application. An EJB web co ...
s as a Web service (see also
Service Implementation Bean A Service Implementation Bean (SIB), is a term used in Java Platform, Enterprise Edition, for a Java object implementing a web service. It can be either a POJO or a Stateless Session EJB. The Java interface An interface in the Java programming l ...
(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. In contrast to a remote interface, a Web service endpoint interface is not accompanied by a home interface, which defines the bean's life-cycle methods. The only methods of the bean that may be invoked by a Web service client are the business methods that are defined in the Web service endpoint interface. The methods of an endpoint interface for a Web service are implemented in a session bean class that is stateless.


See also

*
Web API A web API is an application programming interface for either a web server or a web browser. It is a web development concept, usually limited to a web application's client-side (including any web frameworks being used), and thus usually does not in ...
*
OpenAPI Specification The OpenAPI Specification, previously known as the Swagger Specification, is a specification for a machine-readable interface definition language for describing, producing, consuming and visualizing RESTful web services. Previously part of the S ...


References

{{Reflist


External links


Designing Web Services with the J2EE 1.4 Platform


Java enterprise platform