Java EE应用程序客户端容器 [英] Java EE Application client container

查看:240
本文介绍了Java EE应用程序客户端容器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Java EE服务器有3种类型的容器

There are 3 types of containers for a Java EE server


  1. EJB容器

  1. EJB container

Web容器

我找到了定义的应用程序客户端容器;

Application client container for which I found a definition saying;




管理应用程序客户端组件的执行。客户端
容器在客户端计算机上运行。

Manages the execution of application client components. The client container runs on client machine.

但我不明白Java EE容器如何驻留在客户端机器与在服务器上运行的EJB和Web容器形成对比吗?

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?

有人能举例说明应用程序客户端组件的真正含义吗?

Can someone give me a example of what is really meant by application client components?

推荐答案

应用程序客户端容器只不过是应用程序客户端的组,例如EJB客户端,以及所需的库和Java虚拟机(JVM)。

Application client container is nothing but the group of you application client e.g. EJB Client, along with required libraries and the Java Virtual Machine(JVM).

为了更好地理解,请以EJB为例。您在应用程序服务器(EJB容器)上开发和部署EJB。现在,您可以使用在JVM上运行的简单JAVA客户端程序,将EJB客户端JAR与依赖JAR(如果有)一起分发,这些JAR可用于访问已部署的EJB bean。此客户端执行环境称为应用程序客户端容器

To better understand, take example of EJB. You develop and deploy your EJB on your application server(EJB Container). 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. This client execution environment is termed as Application client container.

此处提供了更多详细信息:应用程序客户端容器

Further details are available here : Application client container

这篇关于Java EE应用程序客户端容器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆