ejb模式_EJB的完整形式是什么?

article/2025/10/26 8:42:44

ejb模式

EJB:企业Java Bean (EJB: Enterprise Java Bean)

EJB is an abbreviation of Enterprise Java Bean. EJB is one of many Java application programming interfaces (API) for flexible and manageable structuring of Java Platform, Enterprise Edition (JEE) and enterprise software. It is allowed by Sun Microsystems to make easier the process of growth and expansion of huge, fixed, assured and scalable distributed applications.

EJB是Enterprise Java Bean的缩写EJB是用于Java平台,企业版(JEE)和企业软件的灵活且可管理的结构的众多Java应用程序编程接口( API )之一。 Sun Microsystems允许它简化大型,固定,有保证和可扩展的分布式应用程序的增长和扩展过程。

EJB full form

EJB is a server-side and platform-independent software component that expresses the essential features of the business logic in scalable, assured, fixed, multilayer and distributed applications. Therefore, it makes easier the application developers effort by enabling them to focus on their business logic.

EJB是服务器端和平台无关的软件组件,在可伸缩,有保证,固定,多层和分布式应用程序中表达业务逻辑的基本功能。 因此,它使应用程序开发人员能够专注于业务逻辑,从而使他们的工作更加轻松。

EJB的要求 (Requirement of EJB)

  • When over several sites, the data and resources are distributed.

    当位于多个站点上时,数据和资源将被分发。

  • When the application requires to be scalable and it is centric around performance.

    当应用程序需要可伸缩且以性能为中心时。

  • When a user required organizing the transactions; the EJB web container can organize transaction limits.

    当用户需要组织交易时; EJB Web容器可以组织事务限制。

  • When the application requires expressing the essential features of business logic; a disjunction between business logic and presentation.

    当应用程序需要表达业务逻辑的基本特征时; 业务逻辑和表示之间的脱节。

EJB的类型 (Types of EJB)

EJB is divided into following three types,

EJB分为以下三种类型:

  1. Session bean:

    会话bean

    A session bean is a non-persevering object; it executes the clients business logic. E.g. For an application of banking, it can compute interest on deposits.

    会话bean是一个非持久对象。 它执行客户端业务逻辑。 例如,对于银行业的应用程序,它可以计算存款利息。

  2. Entity bean:

    实体bean

    EJB constitutes preserving the object. It is a data constituent that preserves the data in the database.

    EJB构成了保存对象。 它是将数据保留在数据库中的数据组成部分。

  3. Message-driven bean:

    消息驱动的bean

    It organizes messages that are occurring at the same time, so it is applied in an asynchronous communication framework like deriving JMS messages.

    它组织同时发生的消息,因此将其应用于异步通信框架中,例如派生JMS消息。

EJB的用法 (Usage of EJB)

  • In a Web-centric application, the EJBs will dispense the business logic that settles down behind the Web-oriented constituents, such as servlets and JSPs.

    在以Web为中心的应用程序中,EJB将分配业务逻辑,该业务逻辑位于Servlet和JSP等面向Web的组件后面。

  • Similarly like Web-centric applications, Thick client applications, like Swing applications will utilize EJBs.

    与以Web为中心的应用程序类似,胖客户端应用程序(如Swing应用程序)将利用EJB。

  • EJBs can also dispense a connection between the Web technologies often used to convey Business-to-business (B2B) e-commerce and following the systems of business.

    EJB还可以分配通常用于传达企业对企业(B2B)电子商务和遵循企业系统的Web技术之间的连接。

  • Enterprise Application Integration (EAI) applications can assimilate EJBs to conducting a task or function operations inside an organization and plotting a design between different applications.

    企业应用程序集成(EAI)应用程序可以将EJB同化,以在组织内部进行任务或功能操作,并在不同的应用程序之间绘制设计。

优点 (Advantages)

  • Free security is dispensed, to access EJB.

    分配了免费的安全性以访问EJB。

  • In EJB, Declarative transactions are dispensed.

    在EJB中,分配了声明式事务。

  • Caching and pooling both are used in EJBs to enhance performance. EJB web containers conduct EJBs life cycles.

    缓存和缓冲池都用于EJB中以提高性能。 EJB Web容器执行EJB的生命周期。

  • In EJB, Remote access proficiencies are available and are growing for scalability.

    在EJB中,远程访问能力是可用的,并且随着可伸缩性的发展而增长。

  • Programming based on the usage of attributes or annotations is feasible.

    基于属性或注释的使用进行编程是可行的。

  • Many complicated resources are accessible for free use.

    许多复杂的资源可供免费使用。

翻译自: https://www.includehelp.com/dictionary/ejb-full-form.aspx

ejb模式


http://chatgpt.dhexx.cn/article/pA0u5IyZ.shtml

相关文章

到底EJB是什么?

 到底EJB是什么?被口口相传的神神秘秘的,百度一番,总觉得没有讲清楚的,仍觉得一头雾水。百度了很久,也从网络的文章的只言片语中,渐渐有了头绪。 用通俗话说,EJB就是&a…

什么是EJB?不再神秘!

1. 我们不禁要问,什么是"服务集群"?什么是"企业级开发"? 既然说了EJB 是为了"服务集群"和"企业级开发",那么,总得说说什么是所谓的"服务集群"和"企业级开发&…

jndi(是什么)和ejb容器的关系

如下: 转载了几篇关于ejb jndi的文章! 转载: http://blog.csdn.net/zhaosg198312/article/details/3979435 JNDI避免了程序与数据库之间的紧耦合,使应用更加易于配置、易于部署。 JNDI的扩展: JNDI在满足了数据源配置的要求的基础上&#xff…

EJB是什么?

来源:http://blog.csdn.net/jojo52013145/article/details/5783677 1. 我们不禁要问,什么是"服务集群"?什么是"企业级开发"? 既然说了EJB 是为了"服务集群"和"企业级开发",那…

EJB到底是什么

百科定义EJB: 被称为java企业bean,服务器端组件,核心应用是部署分布式应用程序。用它部署的系统不限定平台。实际上ejb是一种产品,描述了应用组件要解决的标准 标准: 可扩展 (Scalable)分布式 (Distributed)事务处理(T…

EJB是什么,以及weblogic和tomcat的区别

首先说一下weblogic和tomcat的区别 weblogic是 java应用服务器 用于开发、集成、部署和管理大型分布式web应用、网络应用和数据库应用 将java的动态功能和java enterprise标准的安全性引入大型网络应用的开发集成部署和管理之中。 weblogic中有domain ,域是作为一…

到底EJB是什么

到底EJB是什么?被口口相传的神神秘秘的,百度一番,总觉得没有讲清楚的,仍觉得一头雾水。百度了很久,也从网络的文章的只言片语中,渐渐有了头绪。 用通俗话说,EJB就是:"把你编写的…

EJB是什么

1. 我们不禁要问,什么是"服务集群"?什么是"企业级开发"? 既然说了EJB 是为了"服务集群"和"企业级开发",那么,总得说说什么是所谓的"服务 集群"和"企业级开发…

EJB到底是什么,真的那么神秘吗?

百科定义EJB: 被称为java企业bean,服务器端组件,核心应用是部署分布式应用程序。用它部署的系统不限定平台。实际上ejb是一种产品,描述了应用组件要解决的标准 标准: 可扩展 (Scalable)分布式 (Distributed)事务处理(T…

程序无法正常启动(0xc000007b) 解决的过程

版权声明:转载需标明该文链接。 https://blog.csdn.net/zaibeijixing/article/details/87785073 解决(2019/2/20) 之前基于opencv 的项目都完全没问题,现在新建的一个opencv程序出现上述错误。查阅网上资料,自己摸索&a…

“0xc000007b无法正常启动”我的解决方案

关于这个问题,网上有很多解决方案,但是你得找到自己的问题在哪。 有的说DirectX 9.0损坏,我试着恢复了一下,还是没有得到解决。 还是DLL的问题,可能是缺少或者32位和64位使用不合适。 我的问题最开始不是这个&#xf…

应用程序无法正常启动0xc000007b怎么解决

我们平时在使用电脑时,打开应用或者安装某些软件例如MySQL(博主本人就是在安装MySQL时遇见的),有时候会出现提示“应用程序无法正常启动0xc000007b”,这个问题的原因是什么呢?博主本人去简单了解了一下&…

计算机无法启动应用程序怎么办,应用程序0xc000007b无法正常启动解决办法

最近经常有有用户在电脑系统上操作运行程序时就出错了,且遇到提示“应用程序无法正常启动(0xc000007b)”。这该怎么办呢?接下来,小编就向大家介绍应用程序无法正常启动提示错误0xc000007b的原因和解决方法。 出现“应用程序无法正常启动0xc00…

aapt 命令可应用于查看apk包名、主activity、版本等很多信息

aapt命令小结 互相学习,请关注我的微博:weibo.com/ganchaojiang aapt即Android Asset Packaging Tool.本文小结了一下该工具的用法。 1. aapt l[ist] [-v] [-a] file.{zip,jar,apk} List contents of Zip-compatible archive. 1.1 列出压缩文件目录…

Android:linux下aapt使用

Android:linux下aapt使用 aapt stands for Android Asset Packaging Tool and is included in the tools/ directory of the SDK. This tool allows you to view, create, and update Zip-compatible archives (zip, jar, apk). It can also compile resources into…

【Android自动化打包】01. aapt的用法

什么是aapt? 执行命令: C:\Users\Xiaopeng>aapt Android Asset Packaging Tool 1. 列出apk包的内容 aapt l[ist] [-v] [-a] file.{zip,jar,apk} 注:filepath是apk存放的路径 1.1 aapt l -v filepath/..apk  :以table的形式…

linux下载安装aapt工具

我也上传了资源 aaptapktoolapktool.jar-Android文档类资源-CSDN下载aaptapktoolapktool.jar更多下载资源、学习资料请访问CSDN下载频道.https://download.csdn.net/download/qq_25815655/85195493 这里把需要的包下下来传csdn了。如果命令无法下载可参考csdn下载地址&#xf…

Android AAPT详解

目录 AAPT解释,作用AAPT基本命令AAPT编译资源源码解析AAPT打包和系统不一致的资源ID AAPT是什么 AAPT - Android Asset Packaging Tool 看全称,就可知道AAPT是Android资源打包工具。�讲这个之前,是有必要简单说下Android是如何构…

41.Android aapt工具

41.Android aapt工具 Android aapt工具 aapt 介绍aapt 环境配置aapt listaapt dumpaapt package其他命令 aapt 介绍 可参考官方文档: http://www.androidcn.net/wiki/index.php/Reference/aapt aapt stands for Android Asset Packaging Tool and is included in …

[Android]aapt使用小结

aapt命令小结 aapt即Android Asset Packaging Tool.本文小结了一下该工具的用法。 1. aapt l[ist] [-v] [-a] file.{zip,jar,apk} List contents of Zip-compatible archive. 1.1 列出压缩文件目录 aapt l <file_path.apk> 参数: -v:会以table的形式输出目录,ta…