What is the endpoint interface in EJB?

Asked

Viewed 300 times

0

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

  • What is the endpoint interface?
  • Where and when the interface should be used?

1 answer

1

Hello,

An endpoint interface is a resource used in a web service to identify the location of an interface. In clear English, 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 want to consume the exposed services. Most web service Apis (eg JAX-WS, Axis) require endpoint/address to send a request using a certain protocol, such as SOAP, for example. This is a widely used feature in distributed business applications that require high system integration.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.