简体   繁体   English

Java EE 应用程序客户端容器

[英]Java EE Application client container

There are 3 types of containers for a Java EE server Java EE 服务器有 3 种类型的容器

  1. EJB container EJB 容器

  2. Web container网络容器

  3. Application client container for which I found a definition saying;我找到了一个定义说的应用程序客户端容器;

Manages the execution of application client components.管理应用程序客户端组件的执行。 The client container runs on client machine.客户端容器在客户端机器上运行。

But I don't understand how a Java EE container can reside in a client machine in contrast to the EJB and Web container that both run on a server?但是我不明白 Java EE 容器如何驻留在客户端计算机上,而 EJB 和 Web 容器都运行在服务器上?

Can someone give me a example of what is really meant by application client components?有人可以给我一个例子来说明应用程序客户端组件的真正含义吗?

Application client container is nothing but the group of you application client eg EJB Client, along with required libraries and the Java Virtual Machine(JVM). Application client container不过是一组应用程序客户端,例如 EJB 客户端,以及所需的库和 Java 虚拟机 (JVM)。

To better understand, take example of EJB.为了更好地理解,以 EJB 为例。 You develop and deploy your EJB on your application server(EJB Container).您在应用程序服务器(EJB 容器)上开发和部署 EJB。 Now you can distribute your EJB client JAR along with dependent JARs(if any) which can be used to access your deployed EJB bean using a simple JAVA client program running on a JVM.现在您可以分发您的 EJB 客户端 JAR 以及相关 JAR(如果有),这些 JAR 可用于使用在 JVM 上运行的简单 JAVA 客户端程序来访问您部署的 EJB bean。 This client execution environment is termed as Application client container .此客户端执行环境称为Application client container

Further details are available here : Application client container此处提供更多详细信息: 应用程序客户端容器

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM