清单1包含一个服务端点接口的示例。
Listing 1 contains an example of a service endpoint interface.
清单2.服务端点接口。
包含destroy()方法的服务端点接口。
The service endpoint interface containing the destroy() method
服务端点实现类型是由服务端点接口派生出来的。
The service endpoint implementation class is derived from the service endpoint interface.
动态代理类似于静态stub,充当目标服务端点接口的代理。
A dynamic proxy is similar with static stub to act as a proxy for target service endpoint interface.
下面是从WSDL文件中抽取的用于生成服务端点接口的一段代码。
Here is an extract from the WSDL file that is used to generate the Service Endpoint interface.
清单10和11显示了不使用和使用自定义数据绑定的服务端点接口。
Listings 10 and 11 shows a Service Endpoit Interface without and with custom data binding.
在这一系列文章的下一篇文章中,我将讨论服务端点接口以及它们的要求。
I will discuss service endpoint interfaces and their requirements in the next article in this series.
二者之间的区别是,动态代理在运行时动态支持服务端点接口,不会生成任何代码。
The difference between them is that dynamic proxy support a service endpoint interface dynamically at runtime without requiring any code generation.
一个服务端点接口,它由服务器部分实现,用于在客户机上调用服务方法。
A service endpoint interface that is implemented by the server part and used for invoking service methods on the client.
动态代理支持在运行时访问服务端点接口(SEI),不需要静态生成stub类。
Dynamic proxies provide access to service endpoint interfaces (SEIs) at run time without requiring static generation of a stub class.
这个运行时系统可以把多个对该服务端点接口的客户机调用分派到对于这个单一实例。
The run-time system may dispatch multiple client invocations to the service endpoint interface to this single instance.
静态stub可以从WSDL或其他资源(如一个服务端点接口和其他绑定信息)生成。
A static stub can be generated from a WSDL or other resources, such as a service endpoint interface and additional binding information.
Web服务客户也可以通过bean的服务端点接口访问无状态会话bean。
A web service client can also access a stateless session bean through the service endpoint interface of that bean.
在JAX - WS中,Web服务不需要实现或者提供服务端点接口(SEI)。
In JAX-WS, the Web service does not need to implement or provide a service Endpoint Interface (SEI).
向导将创建通过Web服务公开ejb本地方法所需的所有文件,包括服务端点接口。
The wizard creates all the necessary files to expose the EJB local method via a Web service, including the service endpoint interface.
存根和动态代理方法使用服务端点接口(Service Endpoint Interface,SEI)。
Stub and dynamic proxy methods use the Service Endpoint Interface (SEI).
正如JAX - RPC规范的5.2节中预先定义好的一样,这些服务端点必须和服务端点接口定义一致。
These service endpoints must conform to the service endpoint interface definition as prescribed by Section 5.2 of the JAX-RPC specification. Some of the requirements of this definition are.
创建服务端点接口(service endpoint interface,SEI),并定义一个将公开为Web服务的方法。
Create a service endpoint interface (SEI) and define a method to be exposed as a Web service.
公开服务端点接口并创建Web服务描述语言(Web Service Description Language,WSDL)文件,以描述作为客户机存根生成依据的接口。
Expose the service endpoint interface and create a Web service Description Language (WSDL) file that describes the interface from which to generate the client stubs.
在我们的示例中,由于我们决定使用Web服务端点的接口,因此没有WSDL文件。
In our example we do not have a WSDL file since we have decided to start with an interface to our web service end-point.
下面是用于创建我们的Web服务端点的接口文件。
The following is the interface file that was used to create our web service end-point.
另外,每个航空公司的服务端点可以有自己的接口(请记住,假设设计此解决方案之前存在这些情况)。
Also, each airline's service endpoint might have its own interface (remember the assumption that those existed before this solution was designed).
正如前面提到的,连接性逻辑负责基于内容的服务端点选择,并负责调用所选端点的数据或接口映射。
As already mentioned earlier, the connectivity logic is responsible for content-based service endpoint selection, and for data or interface mapping to call the selected endpoint.
如果服务实现类实现这个接口,就需要JAX - RPC运行时系统来管理相应的服务端点实例的生存周期。
If a service implementation class implements this interface, the JAX-RPC runtime system is required to manage the life cycle of the corresponding service endpoint instances.
SCA需要一个描述总线上服务端点的服务接口定义(客户机应用程序将调用的接口)。
SCA requires a service interface definition that describes the service endpoint on the bus (the interface the client application will call).
是一个中介组件,用于选择适当的服务端点并映射到调用它的所选端点接口。
Is a mediation component to select an appropriate service endpoint and map to the selected endpoint's interface to call it.
访问Web服务所需的所有信息—抽象接口、绑定和服务端点可以通过WSDL得到。
All the information required to access a Web service is available through WSDL — the abstract interface, the binding and the service endpoint.
作为对这个接口的补充,这个服务端点实现类可能实现ServiceLifecycle接口来管理服务的生命周期(请参阅图1)。
In addition to that interface, this service endpoint implementation class may implement the ServiceLifecycle interface for managing the service's life cycle (see Figure 1).
作为对这个接口的补充,这个服务端点实现类可能实现ServiceLifecycle接口来管理服务的生命周期(请参阅图1)。
In addition to that interface, this service endpoint implementation class may implement the ServiceLifecycle interface for managing the service's life cycle (see Figure 1).
应用推荐