它使用绑定极大地减少了样板文件代码。
外部服务使用绑定来描述对外部服务的访问。
External services use bindings to describe the access to external services.
出于上面列出的原因,只要有可能,就请使用绑定模式。
For the reasons outlined above, use bindings mode whenever possible.
使用绑定范围控件或超链接控件时要格外小心。
可以使用绑定句柄完成不同的任务,管理这些句柄是必需的。
Different tasks can be accomplished using the binding handle and it becomes imperative that these handles should be managed.
服务和引用通过使用绑定与特定的协议(如web服务)绑定。
Services and references are bound to specific protocols (such as Web services) through the usage of bindings.
图1提供了一个有关如何在JiBX框架中使用绑定定义的简单示例。
Figure 1 gives a simple example of how the binding definition is used in the JiBX framework.
您甚至可以使用绑定来执行Shell命令(例如,运行某个应用程序)。
You can even use the binding to execute a shell command (for example, to run an application).
这里有必要使用绑定注释,否则Guice将不能区分不同的String。
The binding annotation is necessary here because otherwise, Guice couldn't tell different Strings apart.
然后代理使用绑定模式与队列管理器对话,从而代表应用程序执行api调用。
The agent then talks to the queue manager using bindings mode, performing API calls on behalf of the application.
通过使用绑定声明,JAXB规范定义了一些方法来定制生成数据绑定的一些方面。
The JAXB specification defines ways to customize several aspects of the generated data binding by using binding declarations. These include.
传输参数也是必需的,它通知JMS是使用客户机模式连接,还是使用绑定模式连接。
The transport parameter is also required and tells JMS whether to use a client or bindings mode connection. When client mode is used, the host, chan and port parameters must be specified
当使用绑定连接时,JMS用户名和密码直接传递到OAM用户身份验证函数以进行身份验证。
When bindings connections are used, the JMS username and password are passed directly to the OAM authenticate user function for authentication.
如果绑定表示不包含RPC地址,就需要使用绑定入口点并通过连接查询相关联的RPC地址。
If the binding representation does not contain the RPC address, we need to make use of the binding entry point and enquire the associated RPC address with the connection.
引用使用绑定名描述用于调用服务(可以为其他SCA组件提供的服务)的访问机制。
References use bindings to describe the access mechanism used to invoke a service (which can be a service provided by another SCA component).
所以我决定最好还是强制使用绑定定义文件,而不是怂恿用户陷入用标签定义绑定元数据的歧路。
I decided it was better to just force the use of a binding definition file than to encourage users to start down the pitfall-laden path of defining binding metadata in tags.
将注入器应用程序连接(使用绑定)到本地队列管理器,并且使用MQ网络将消息移到测试系统中。
Have the injector applications connect (using bindings) to a local queue manager and use MQ networking to move the messages onto the test system.
使用绑定模式成功执行示例后,您可以重新回到此步骤,并使用客户机模式定义运行jmsadmin脚本。
After having successfully executed the sample using bindings mode, you can come back to this step and run the JMSAdmin script using the client mode definitions.
服务使用绑定描述使用者(可以为来自其他SCA组件的客户端)必须用于调用服务的访问机制。
Services use bindings to describe the access mechanism that consumers (which can be a client from another SCA component) must use to call the service.
当WebSphereMQQueueManager与客户端在同一个机器上运行时,使用绑定传输模式。
The bindings transport mode is used when the WebSphere MQ Queue Manager is running on the same machine as the client.
既可以使用绑定参数构造HQL的WHERE子句,也可以使用字符串拼接的方法,该决定对性能会有一定影响。
You can build a HQL WHERE clause using either binding parameters or simple string concatenation; the decision impacts on performance.
如果你坚持使用一个按钮那么字符串的存储在一个资源文件并使用绑定绑定到视图(如果需要帮助和本地化)。
If you insist on using one button then maybe store the string's in a Resource file and use Bindings to bind to them from the View (Helps with localisation too if needed).
使用绑定参数的原因是让数据库一次解析sql,对后续的重复请求复用生成好的执行计划,这样做节省了CPU时间和内存。
The reason for using binding parameters is to ask the database to parse your SQL once and reuse the generated execution plan for subsequent repeat requests, which saves both CPU time and memory.
当应用程序使用LDAP服务器进行身份验证时,它通常使用绑定来与服务器通信,而通过解除与服务器的绑定来关闭连接。
When an application USES the LDAP server for authentication, it generally USES the binding to communicate with the server, and unbinding from the server to close the connection.
如果BusinessEvents和WebSphereMQ(以下简称MQ)位于相同的机器上,请确保MQ使用绑定传输。
If Business Events and WebSphere MQ (hereafter called MQ) are located on the same machine, ensure that MQ is using the bindings transport.
在mq队列管理器与WebSphereApplicationServer运行于同一节点的配置中,使用绑定模式可提供性能优势。
In configurations where the MQ queue manager is running on the same node as WebSphere Application Server, using bindings mode offers a performance advantage.
JiBX 不是根据DTD或Schema生成代码,而是使用绑定定义,该定义将用户提供的类与XML结构相关联。
Rather than generating code from a DTD or Schema, JiBX works with a binding definition that associates user-supplied classes with XML structure.
但是通过使用REOPT绑定选项,优化器将会根据应用程序在运行时所提供的值来生成存取计划,而不是使用绑定过程中创建的一般计划。
But with the REOPT bind option, the optimizer will generate an access plan against the value provided by the application during runtime, instead of using the generic plan created during bind.
窗口还需要提供一种关闭方式,这主要是使用绑定到关闭按钮的closeStatistics()函数,使用如清单9 中所示的dojoAttachEvent 声明。
The window also needs to provide a way to close itself, which is done by using the closeStatistics() function bound to the close buttons by using dojoAttachEvent declarations as seen in listing 9.
如果您尝试仅使用绑定定义配置节点,则会看到错误消息serviceport:youmustselectabindingthathasatleastone port。
If you try to configure a node using just a binding definition, you'll get the error Service port: you must select a binding that has at least one port.
应用推荐