应用程序客户机容器客户机。
要作为CORBA对象访问e JB,需要创建一个简单的GUI客户机应用程序,运行在Geronimo应用程序客户机容器中。
To access the EJB as a CORBA object, you need to create a simple GUI client application that runs in the Geronimo application client container.
在图2中可以看到,客户机应用程序容器提供了带有JNDI的引用解析和映射层。
In Figure 2, you can see that the client application container provides a reference resolution and mapping layer with JNDI.
在这种情况下,可能需要在没有客户机容器的帮助下创建客户机应用程序。
In such cases, it might be necessary to create a client application without the help of the client container.
因为没有客户机应用程序容器,所以由容器扩展的任何附加服务都不可用于应用程序。
Because there is no client application container, any additional service extended by the container will not be available to the application.
客户机应用程序容器需要知道客户机应用程序JAR中的哪个类是要启动的类。
The client application container needs to know which class in the client application JAR is the class to start.
位于容器内的客户机应用程序不需要关心这些详细信息。
The client application hosted within the container doesn't need to be concerned with these details.
使用客户机应用程序容器的客户机应用程序档案的部署也遵守这个一般模式。
The deployment of client application archives using the client application container also follows this general pattern.
除ejb映射之外,客户机应用程序容器还为客户机应用程序提供了其他服务。
In addition to the EJB mapping, the client application container provides other services to the client application.
图2例示了客户机应用程序容器如何简化客户机应用程序编码。
Figure 2 illustrates how the client application container simplifies client application coding.
客户机应用程序容器的角色。
当一个应用程序(客户机)想要访问一个 EJB 时,它必须向容器请求 bean的实例。
When an application (client) wants to access an EJB, it must ask the container for the instance of the bean.
没有客户机应用程序容器的支持,需要显式包括直接或间接引用的任何Geronimo或ejb类。
Without client application container support, you need to explicitly include any Geronimo or EJB classes that are referenced directly or indirectly.
它直接访问Geronimo服务器,且不使用客户机应用程序容器。
It accesses the Geronimo server directly and does not use the client application container.
现在可以尝试使用客户机应用程序容器的CatClient。
Now you can try out CatClient using the client application container.
尽管Geronimo客户机应用程序容器具有通用性,但可能遇到一些不适合使用它的情况。
Despite the versatility of the Geronimo client application container, you might encounter some circumstances where its use isn't desirable.
从图1可以看出,Geronimo客户机应用程序容器。
From Figure 1, you can see that the Geronimo client application container.
运行客户机应用程序容器。
获得客户机应用程序容器提供的JNDI初始上下文。
Obtain a JNDI initial context, supplied by the client application container.
简而言之,servlet可以支持与HTTP客户机的有状态交互,而且对应用程序设计或容器资源产生最小的影响。
In short, servlets can support stateful interaction with HTTP clients with a minimal impact on the application design or container resources.
Geronimo客户机应用程序容器解析EJB引用并远程访问 EJB,这些操作对于您是透明的。
The Geronimo client application container resolves your EJB reference and accesses the EJB remotely, transparent to you.
在此部分,我们将开发在WebSphereWeb容器中运行的简单Web客户机应用程序。
In this section, you will develop a simple Web client application that runs in the WebSphere Web container.
本文向您介绍Geronimo客户机应用程序容器——一个J2EE 1.4组件,它可以显著降低创建胖客户机解决方案的复杂性。
This article introduces you to the Geronimo client application container — a J2EE 1.4 component that can significantly reduce the complexity of creating fat-client solutions.
注意,该批处理文件直接启动com . ibm . dw . reallybigpet .client .catclientstandalone类,而没有调用bin \ client . jar客户机应用程序容器。
Note that this batch file starts the com.ibm.dw.reallybigpet.client.CatClientStandalone class directly, and does not invoke the bin \ client.jar client application container.
在这种情况下,Web容器应用程序服务器就是EJB客户机,这样上面为EJB客户机描述的步骤将适用。
In this case, the Web container application servers are EJB clients, so the steps described above for EJB clients will apply.
使用客户机应用程序容器对远程EJB进行JNDI访问。
JNDI access to remote EJBs using client application container.
如图5所示,名为CatClient的GUI客户机驻留在客户机应用程序容器中。
As shown in Figure 5, the GUI client called CatClient resides within the client application container.
第一个版本运行在Geronimo客户机应用程序容器内,并使用它的EJB映射设施(如图5 所示)。
The first version runs inside the Geronimo client application container and makes use of its EJB mapping facility (as shown in Figure 5).
客户机容器——支持对应用程序资源的客户端访问。
Client container — Supports client-side access to application resources.
客户机利用了Geronimo客户机应用程序容器提供的支持。
The client takes advantage of the support provided by the Geronimo client application container.
应用推荐