所有这些都可以在客户端代码中没有可变状态的情况下完成。
This all can be done with no mutable state in the client code.
您将在下一节中找到客户端代码。
客户端代码对基本例处理不一致。
The base cases are then handled inconsistently by client code.
用于客户端代码开发的ide。
此后,即可将精力集中在客户端代码。
您可以参考清单3获取服务器端代码。
客户端代码与以下内容类似。
客户端代码将该消息传递给包装器函数。
The client code hands this message up to the wrapper function.
ClearCase远程客户端代码优化。
事件容易捆绑到服务器端代码。
可以包含到已有服务器端代码工件中。
It can be included in an existing server-side code artifact.
可以从编写这个例子的客户端代码开始。
这里是客户端代码的摘录。
它对小部件服务器端代码使用的技术没有任何限制。
There are no restrictions on the technologies used for the server-side code of the widget.
从您的客户端代码调用REST处理程序。
您的服务器端代码完全从用户界面分离出来。
Your server-side code is completely decoupled from the user interface.
显然,它使用了由SDK安装的其他客户端代码。
Apparently, it USES some of the other client code installed by the SDK.
清单6显示了用于调用计算器服务的客户端代码。
Listing 6 illustrates client code for invoking the calculator service.
现在我们来看看浏览器端代码中是如何处理数据的。
Now let's look at how the data is processed in the browser-side code.
所有服务器端代码片段都将被评估并发送到服务器上。
Instead, all server-side code pieces are evaluated and sent to the server.
在客户端代码中,您现在需要获得该客户端代理的实例。
In your client code, you now need to obtain an instance of the client proxy.
客户端代码调用数据逻辑方法可以捕获用户定义的异常。
Client code calling the data logic method can catch the user-defined exception.
这种支持包括生成WSDL和样本客户端代码来调用服务。
This support includes generation of the WSDL and sample client code for invoking the service.
另外一方面,服务器端代码要更加复杂才能提供相应的功能。
The server side on the other hand is much more complicated to get right.
服务器端代码的JAX-WS版本如 清单7 所示。
The JAX-WS version of the server-side code is shown in Listing 7.
在动态链接库的世界中,客户端代码就更容易受到API变化的影响了。
In the world of dynamically linked code, the client code is particularly vulnerable to API changes.
在某个意义上,由于只侧重于客户端代码,本例省略了安全性。
In one sense, by focusing only on client-side code, this example has cheated.
另一个情况是客户端代码能在等待被调用服务完成的同时能干些别的事情。
Another case is where the client code could be doing other things while it waits for the called service to complete.
如果服务器端代码失败,则将调用失败的方法,并用抛出的异常作为参数。
If the server-side code fails, the failure method is called with the thrown exception as its argument.
然后就可以测试生成的客户端代码,确保一切都是按照需要运行。
You can then test the generated client code and ensure that everything is working as required.
应用推荐