Any project targetted to this stub as runtime will be configured to use this test environment.
目标为此存根的任何项目作为运行时时将被配置来使用这个测试环境。
Next, use Eclipse's QuickFix (by clicking greet and pressing Ctrl-1, for example) to generate a method stub for greet , and add code to the stub as follows.
接下来,用Eclipse的quickfix为greet生成一个方法存根,然后为存根加入代码。
Next, use Eclipse's QuickFix (by clicking on greet and pressing Ctrl-1, for example) to generate a method stub for greet , and add code to the stub as follows.
接下来,使用Eclipse的QuickFix(比如,通过单击greet并按Ctrl - 1)为greet生成一个方法存根,并将代码添加到该存根,如下所示。
As you can see, the client stub looks just like the code we used in the previous installment.
就象您能看到的,客户端的存根看上去就像我们在前面部分里使用过的代码。
As such, the method on the stub does not have a value to return, regardless of whether the matching server-side method has one.
正因为如此,存根上的方法并没有要返回的值,而不管匹配的服务器端方法是否有要返回的值。
As such, a typical JAX-RPC runtime maintains the session data separately for each individual stub even though stubs may talk with services running at the same back-end server.
同样,即使存根可能与运行在相同后端服务器的服务进行对话,典型的JAX - RPC运行时也分别为每个单独的存根维护会话数据。
You can also use the configurable endpoint addresses, even if the stub is created with the default, as shown below.
您也可以使用可配置的端点地址,即使存根是使用默认端点地址创建的,如下所示。
In this case, a dynamic proxy is more suitable because it only needs to be re-instantiated (rather than regenerated as in the case of a static stub) whenever the SEI changes.
既然这样,动态代理会更适合,因为它只需要每次SEI修改时重新实例化(而不像使用静态存根时重建)就行了。
As before, the client-side developer must use the stub to invoke the service from the client-side business logic.
同前面一样,客户端开发人员必须使用存根调用客户端业务逻辑中的服务。
Try performing a POST against your handler to see the response from the stub, as if you were trying to create a new entry in the database.
如果正在数据库中创建新的条目,可尝试在处理程序上执行POST,来查看来自存根的响应。
This simplicity is possible due to the JSR 172 stub and runtime, which, as previously mentioned, hide most of the details related to remote invocation.
由于有JSR 172存根和运行时,实现这种简单的应用程序是可能的,正如前面提到的,JSR 172 存根和运行时把与远程调用相关的大部分细节都隐藏了。
As far as the client can tell, it's only interacting with the local stub object.
对客户机来说,它仅仅与本地的存根对象交互。
You can either work with the stub directly, as shown in Listing 1 and Listing 2, or just use the interface to see only those methods that are part of the service definition.
可以直接使用存根,如清单1和清单2中所示,还可以使用接口来仅仅使用属于服务定义的方法。
As far as the client is concerned, this stub object is the remote object.
就客户而言,该存根对象就是远端对象。
It is set as a property on the SubscriptionManager service stub and then converted to the header by the IBM Web services runtime implementation.
会在SubscriptionManager服务存根上将其设置为属性,并随后由IBMWeb服务运行时实现转换为Header。
The client stub object is created in the try statement using the AskServiceLocator object that defines the service address and port for the service as defined in the WSDL.
客户机存根对象将通过使用AskServiceLocator对象在try语句中创建,后者为在WSDL中定义的服务定义了服务地址和端口。
Create a stub implementation for the BackEndSystem that consumes the Business Events actions after transformation by the mediation module as follows.
按照以下操作,为BackEndSystem创建存根实现,以在中介进行转换之后使用BusinessEvents操作。
Stub files act as an interface between the application and the RPC runtime library during a remote procedure call.
stub文件在远程过程调用期间作为应用程序和RPC运行时库之间的接口。
JAX-RPC recommends an instance of a stub to be bound to a specific protocol and transport, such as a SOAP binding stub. For the stub method, the steps to perform are.
JAX - RPC建议把存根的实例绑定到特定的协议和传输上,比如SOAP绑定存根。
Dynamic proxy, as its name suggests, supports an SEI dynamically at run time without requiring any code generation of a stub class that implements a specific SEI.
动态代理,正如它的名字暗示的,能在运行时动态的支持一个SEI而不需要产生任何代码实现一个特定的SEI。
A computer on the stub domain attempts to connect to a computer outside the network, such as a Web server.
在存根域中的一台计算机试图连接外部网络中的一台计算机,例如一台网络服务器。
I can build a simple stub that has an array list as a property, then implement some simple data access methods quickly, as Listing 2 shows.
我就可以构建一个简单的存根(具有作为属性的数组列表),然后快速实现一些简单数据访问方法,如清单2所示。
As explained earlier, the stub method takes a callback function as its final argument, which is used to capture the list of courses in the response.
正如先前所介绍的,存根方法会采用回调函数作为其最后的实参,该实参用来捕获响应中的球场列表。
Under the hood, the stub object implements the same interface as the remote server object.
在幕后,存根对象实现了和远程服务器对象同样的接口。
Part 2 demonstrated how to enhance WSA stub classes and integrate other technology components such as cryptography and XML signatures into WSA stub classes.
第2部分说明了如何增强wsa存根类以及如何将其他技术组件(如加密和XML签名)集成到wsa存根类中。
The router removes the message completely and leaves only a deletion stub, allowing the message to be removed from replica copies as well.
路由器将彻底删除消息且仅留下删除存根,还允许从复制副本删除消息。
As far as the client can tell, the stub object is the implementer of the interface.
对于客户机而言,存根对象就是接口的实现者。
As the systems evolve, there is the need for different forms of test harnesses, including the ability to mock or stub out parts that are not yet ready for prime time.
随着系统的演化,需要不同形式的测试工具,包括要能模仿或去除在黄金时间尚未准备好的部分。
In the absence of any other actions on the part of the requestor, the default value is used as the endpoint address by the stub.
请求程序方面在缺少任何其它动作时,存根就将默认值用作端点地址。
On the server machine side, as the network message is received by the network routines in the kernel, it's sent to the server stub by the use of RPC run time.
在服务器计算机端,当内核中的网络例程接收到网络消息后,它使用RPC运行时将该消息发送到服务器存根。
应用推荐