This all can be done with no mutable state in the client code.
所有这些都可以在客户端代码中没有可变状态的情况下完成。
And this all can be done with no mutable state in the client code.
在客户代码中,这些都可以在不使用可变状态的情况下就能做到。
Client code calling the data logic method can catch the user-defined exception.
客户端代码调用数据逻辑方法可以捕获用户定义的异常。
By declaring it static, you save client code the overhead of creating an object.
通过声明为静态,为客户机代码节省了创建对象的工作量。
Listing 4 is the first step for the client code.
清单4是针对客户机代码的第一个步骤。
Either way, you must actually activate the security handling in your client code.
不管哪种方法,实际上您必须在您的客户端代码中激活安全性处理。
So much for the basic JSSE server and client code.
基本的JSSE服务器和客户机代码就只有这些。
Replace the generated client code with the code in Listing 2 and save the file.
使用清单2中的代码替换生成的客户机代码并保存文件。
Listing 2 shows the client code used for this purpose in the sample application.
清单2展示了用于本样例应用程序的客户机代码。
In your client code, you now need to obtain an instance of the client proxy.
在客户端代码中,您现在需要获得该客户端代理的实例。
Listing 7 is example client code for the purpose.
清单7是实现此目的的示例客户机代码。
This client code is available in the download file.
该客户机的代码可以在下载文件中找到。
This support includes generation of the WSDL and sample client code for invoking the service.
这种支持包括生成WSDL和样本客户端代码来调用服务。
Listing 6 shows the complete test client code.
清单6展示了完整的测试客户机代码。
Listing 2 shows the complete test client code.
清单2展示了完整的测试客户机代码。
The code in a client program using EJB 3 is even simpler.
使用EJB3的客户端程序中的代码甚至更简单。
Notice the code for the client side consists only of setting the request method to GET.
注意客户端的代码只包含设置请求方法为GET的内容。
Listing 7 has the entire client code.
清单7提供了完整的客户机代码。
Still, let's jump to the full client code first.
同样,让我们首先直接跳到完整的客户代码。
Test the service with client code.
用客户机代码测试服务。
Invoking the REST handler from your client code.
从您的客户端代码调用REST处理程序。
Here is an extract of the client code.
这里是客户端代码的摘录。
The refactored client code is shown in Listing 4.
重构后的客户机代码如清单4所示。
The following illustrates the use of the example client code
以下代码说明了示例客户机代码的用法
Here is the complete application code for WMA client.
以下是WMA客户机的完整应用程序代码。
Create a folder to hold the Web service client code.
创建文件夹,以存储Web服务客户机代码。
Listing 5: Document client code.
清单5:“文档”客户机代码。
Tying client code to a particular protocol implementation is restricting.
将客户机代码绑到一个特殊的协议实现要受到限制。
Incorporating new bindings into client code is hard.
将新的绑定融入到客户机代码是很困难的。
Testing the Simplified Airline service with client code
用客户机代码测试SimplifiedAirlines服务
应用推荐