我从接受连接url并创建连接对象开始。
I start off by taking the connection URL and creating a connection object.
在那种情况下,因为池管理器预先在启动时创建连接对象,所以,J2EE组件可以使用连接对象,而不会导致数据库资源管理器上的系统开销。
In that situation, a J2EE component can use connection objects without causing overheads on the database resource manager, since a pool manager creates the connection objects up front, at startup.
接下来,您需要创建客户端连接对象。
当您在非连接模式下工作时,您仍然可以检查源代码的语法与语义错误,然后连接就只是为了提交一个汇编后的文件,这时您已经为创建项目对象做好了准备。
While working in the disconnected mode, you can still check source code for syntax and semantic errors and then connect only to submit a compiled file when you are ready to create the program objects.
如果需要传输队列监听器,就必须与先前创建的客户端连接通道、队列管理器代理和网桥对象相关联。
If a transmission queue listener is required, it must be associated with the client connection channel, queue manager proxy, and bridge objects previously created.
首先,确定并创建所需要的对象、整体的流以及该调用流的连接。
First, identify and create the objects needed, and the overall flow and connections of the call flow.
我们已介绍了如何获取和设置数据对象的属性及其连接方法,接下来需要说明如何创建数据对象。
Now that we have seen how to get and set the properties on a data object and how to connect them, we need to explain how to create data objects.
提供者创建的受管对象包含与JDBC包装器(由容器提供的连接池管理器添加)相似的自动征用代码。
The managed objects created by the provider contain similar auto-enlistment code as the JDBC wrapper added by the container-supplied connection pool manager.
您可以手动对表单元素进行实例化并把它们连接到表单,或者让表单对象创建并实例化一个新表单元素,使它符合您要求的类型。
You can instantiate the form elements manually and attach them to the form or let the form object create and instantiate a new form element of the requested type for you.
从连接创建一个SQLXML对象。
需要创建多少个客户端连接对象,这取决于需要多少个网桥队列。
How many client connection objects you need to create will depend on how many bridge queues are required.
同样地,应用程序设计也能调优性能:更少的对象创建、实时的数据库优化以及使用数据库连接池。
Similarly the application design can be tuned for performance: Fewer object creations, ongoing database refinements, and using database connection pooling.
现在您可以直接传入一个对象,它与预期数据库连接对象相兼容,然后直接使用这个对象,而非创建一个新对象。
Now you can pass in an object directly that is compatible with the expected database connection object, and it will use that object instead of creating a new one.
这可导致自动生成代码以创建将添加到组件托盘中的 ADO.NET连接、命令和数据适配器对象。
This causes code to be automatically generated to create the ADO.NET connection, command, and data adapter objects that are added to the component tray.
现在我们可以将BPEL流程连接到我们创建的两个模拟对象,然后运行测试。
We can now wire the BPEL process to the two mock objects we created and run the tests.
连接工厂是用于创建至资源管理器的连接的对象。
A connection factory is an object that is used to create connections to a resource manager.
此向导允许选择要使用的连接和为其创建数据源的数据对象。
This wizard allows you to select the connection to work with and the data objects that the data source is created for.
在建立连接(无论安全与否)之前,要创建一个指向BIO对象的指针。
Prior to setting up a connection, whether secure or not, a pointer for a BIO object needs to be created.
一旦创建了数据对象,还需要将其连接到数据图中。
Once we've created the data objects, we need to attach them to the data graph.
清单7,第二个代码片段,展示我们如何遍历所有的匹配的连接工厂,以及创建相应的ConnectionFactoryInfo对象。
Listing 7, the second code snippet, shows how we go through all of the matched connection factories and create the corresponding ConnectionFactoryInfo objects.
与servlet不同,有状态会话bean不需要任何特殊的对象,也不需要使用额外的接口来创建有状态连接。
Unlike servlets, stateful session beans do not require any special objects or the use of an additional interface to create stateful connections.
构造函数将按照前面的描述创建一个DBManager对象以建立数据库连接,然后获得productdao类的实例。
The constructor creates a DBManager object to establish a database connection, as discussed earlier, and then acquires an instance of the ProductDAO class.
因为WebSpheremq队列是需要通过应用程序管理的对象,类似于JDBC连接,所以它们的创建和管理超出了该工具箱的范围。
Since WebSphere MQ queues are objects that need to be managed across the application, similar to a JDBC connection, creation and management of them are beyond the scope of the toolkit.
第二个子程序get _ sockets,以这个套接字为参数,接受连接,并创建一个structsockets对象。
The second one, get_sockets , takes the socket, accepts a connection, and creates a struct sockets object.
要连接编校服务器,首先创建一个redactiontoolkitclient类对象。
To connect to the redaction server, first create a RedactionToolkitClient class object.
幸运的是,我们可以将Hibernate的对象关系映射与WebSphereApplicationServer的连接和事务管理结合起来,创建强大的应用程序。
Fortunately, we can mix Hibernate's object relational mapping with the connection and transaction management of WebSphere application Server to create very powerful application.
和清单1一样,这里需要创建与数据库连接没有关联的Data接口的实例,以便执行内存中对象上的查询。
As in Listing 1, you need to create an instance of the data interface not associated with a database connection in order to execute queries over in-memory objects.
以下为一个简单的monkeyrunner程序,它将会连接到一个设备,创建一个MonkeyDevice对象。
Here is a simple monkeyrunner program that connects to a device, creating a MonkeyDevice object.
ConnectionFactory:该对象用于创建JMS连接。
ConnectionFactory: An object used to create a JMS connection.
启动控制台显示了一系列载入和启动的模块、连接器和应用程序,Geronimo运行时环境就在这些对象中创建。
The startup console shows a number of modules, connectors, and applications that are loaded and started, and from which the Geronimo runtime environment is created.
应用推荐