What is the endpoint interface in EJB? [duplicate]

0

I'm studying EJB (Enterprise Java Beans) and would like to know, within the context of distributed applications, what the role of the endpoint interface is.

  • What is the endpoint interface?
  • Where and when should the interface be used?
asked by anonymous 14.12.2015 / 20:20

1 answer

1

Hello,

An endpoint interface is a feature used in a webservice to identify the location of an interface. In clear Portuguese, the endpoint is the address where an interface is exposed and has the format of a URL, for example http://localhost:8080/AquiEstaMeuServico . Here I consider as interface a set of methods implemented with EJBs. The endpoint address is used in client applications that wish to consume the exposed services. Most APIs for webservices (eg JAX-WS, Axis) require the endpoint / address to send a request using a certain protocol, such as SOAP, for example. This is a widely used feature in distributed enterprise applications that require high system integration.

    
14.12.2015 / 21:19