The Web application’s ServletContext is used as a bind target for the container instance, to make it available for subsequent use without having to instantiate it multiple times.
Web应用程序的ServletContext用作容器实例的绑定目标,以使得容器无需多次进行实例化即可供后续使用。
This article described the steps you can take to build a simple J2EE application that consists of an EJB and a Web module within the same WebSphere Application Server server container instance.
本文描述了一些可以采取的步骤,用来构建一个简单的J2EE应用程序,它包括同一个WebSphereApplicationServer 服务器容器实例中的EJB和Web模块。
An SDO instance thus can only be contained by one container at a time.
因此一个sdo实例在同一时刻仅能被一个容器所包含。
To add an instance to the application, drag this component to the right of the two existing browser container components on the application panel.
要向应用程序添加一个实例,将该组件拖拽到应用程序面板上两个现有浏览器容器组件的右侧。
When you place a component on a form, the designer-host creates a site instance for the component and its container.
在将组件放到窗体中时,设计器宿主会为该组件和它的容器创建一个站点实例。
The requirement defined on the instance of the unit is the container for the dependency link.
定义在这个单元实例上的需求就是依赖连接的容器。
The (host) unit instance that hosts another (hostee) unit is the container of the hostng link.
这个服务其它(被寄主)单元的(托管)单元实例就是托管连接的容器。
Most types of resources are actually resource factories, which the container USES to control instance creation, pooling, and sharing of the resource connections.
资源的大部分类型实际上都是资源工厂,容器以此来控制实例的产生、缓冲池的组合以及共享资源连接。
This client must run in a container and use JNDI look-up to locate the service instance.
此客户端必须在容器中运行,并使用JNDI查找功能来查找服务实例。
Because instantiating the container is costly, we should avoid doing it every time we require an instance.
由于实例化容器的开销非常大,我们应该避免在每次需要实例时对容器进行实例化。
In this instance you use it as a window-style container for the application.
在这个例子中,您将它用作应用程序的窗口样式容器。
An element is an instance of an element type known to the JSP container.
元素是jsp容器已知的元素类型的实例。
Next, we create an instance of the NorthwindEntities container class.
接下来,我们需要创建NorthwindEntities容器类的实例。
The container injects this instance to this CustomerLister.
容器把这个实例注入这个CustomerLister。
When an application (client) wants to access an EJB, it must ask the container for the instance of the bean.
当一个应用程序(客户机)想要访问一个EJB 时,它必须向容器请求 bean的实例。
When you require a more robust high availability environment, you should configure a secondary idle container on each Application Server instance for the rollover to fail to.
当您需要一个更加健壮的高可用性环境时,您应该在每个ApplicationServer实例中配置一个辅助的闲置容器来过渡故障。
During the lifetime of a portlet, the container sends service requests in different threads to a single portlet instance.
在Portlet的生存期中,容器会将不同线程中的服务请求发送到单个Portlet实例。
For instance, Seaser, the opensource DI container, and openthlogy which is hosted by the Requirement development alliance, could be valuable internationally.
比如说,开源依赖注入(DI)容器Seaser和需求开发联盟(Requirement development alliance)主持的 openthlogy项目,就有可能在全球范围上产生影响。
When a Jsp needs to be processed, the Jsp container creates an instance of the JspTranslatorFactory class and passes it the name of the desired visitor class collection.
Jsp需要处理时,jsp容器创建一个JspTranslatorFactory类实例并将所希望访问类集合的名字传递给它。
It specifies the number of buckets in the active instance list within the EJB container.
它指定ejb容器内活动实例列表中的bucket数目。
Return this IndexedRecord which will then be used by the container in order to activate and populate the EJB instance.
返回这个IndexedRecord,该 IndexedRecord将被容器使用,以启动并填充EJB实例。
Per the CDI specification, whenever the ManageCustomer bean instance is instantiated by a container, the CustomerService bean instance will be auto injected in it.
通过CDI规范,无论ManageCustomerbean实例何时由容器实例化,CustomerService bean实例将会自动注入。
Because HelloWorld is now a container managed bean, the container is supposed to provide a HelloWorld bean instance.
由于HelloWorld现在是容器托管bean,容器用来提供HelloWorld bean实例。
The jta.UserTransaction property configures the factory class to obtain an instance of a UserTransaction object instance from the WebSphere container.
UserTransaction属性将工厂类配置为从WebSphere容器获取UserTransaction对象实例的实例。
For example, Figure 5 shows an instance of the EvaluateServlet class as a leak container, and an instance of the ArrayList class as a leaking type in the first row.
例如,图5显示,evaluateservlet类的一个实例是泄漏容器,arraylist类的一个实例是第一行的泄漏类型。
It also demonstrates the use of the variable-resolver directive for DelegatingVariableResolver and an el expression to apply the ManageCustomer managed bean instance provided by the container.
还演示了将变量解析器指令用于DelegatingVariableResolver和el表达式,以使用容器提供的managecustomer托管bean。
Add the hostname and port that correspond to the Web Container HTTP Transport (for instance, wpwcm21.ibm.com, port 9081).
添加WebContainerHTTPTransport 相应的主机名和端口(例如,wpwcm21.ibm.com,端口port 9081)。
For instance, say your application requires a container that vertically stacks display objects but without any gap in between.
比方说,您的应用程序要求一个容器能够垂直堆叠显示对象而不在其间留空隙。
Or, in some cases, you will be able to use an instance provided by your container/platform of choice.
或者在某些情况下,您将能够使用所选的容器/平台提供的实例。
For instance, any class representing a non-empty container would naturally take arguments representing its elements in the constructor.
例如,表示非空容器的任何类在构造函数中必然使用表示其元素的参数。
应用推荐