ejb模式_EJB的完整形式是什么?
ejb模式
EJB:企業(yè)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的縮寫(xiě) 。 EJB是用于Java平臺(tái),企業(yè)版(JEE)和企業(yè)軟件的靈活且可管理的結(jié)構(gòu)的眾多Java應(yīng)用程序編程接口( API )之一。 Sun Microsystems允許它簡(jiǎn)化大型,固定,有保證和可擴(kuò)展的分布式應(yīng)用程序的增長(zhǎng)和擴(kuò)展過(guò)程。
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是服務(wù)器端和平臺(tái)無(wú)關(guān)的軟件組件,在可伸縮,有保證,固定,多層和分布式應(yīng)用程序中表達(dá)業(yè)務(wù)邏輯的基本功能。 因此,它使應(yīng)用程序開(kāi)發(fā)人員能夠?qū)W⒂跇I(yè)務(wù)邏輯,從而使他們的工作更加輕松。
EJB的要求 (Requirement of EJB)
When over several sites, the data and resources are distributed.
當(dāng)位于多個(gè)站點(diǎn)上時(shí),數(shù)據(jù)和資源將被分發(fā)。
When the application requires to be scalable and it is centric around performance.
當(dāng)應(yīng)用程序需要可伸縮且以性能為中心時(shí)。
When a user required organizing the transactions; the EJB web container can organize transaction limits.
當(dāng)用戶(hù)需要組織交易時(shí); EJB Web容器可以組織事務(wù)限制。
When the application requires expressing the essential features of business logic; a disjunction between business logic and presentation.
當(dāng)應(yīng)用程序需要表達(dá)業(yè)務(wù)邏輯的基本特征時(shí); 業(yè)務(wù)邏輯和表示之間的脫節(jié)。
EJB的類(lèi)型 (Types of EJB)
EJB is divided into following three types,
EJB分為以下三種類(lèi)型:
Session bean:
會(huì)話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.
會(huì)話bean是一個(gè)非持久對(duì)象。 它執(zhí)行客戶(hù)端業(yè)務(wù)邏輯。 例如,對(duì)于銀行業(yè)的應(yīng)用程序,它可以計(jì)算存款利息。
Entity bean:
實(shí)體bean :
EJB constitutes preserving the object. It is a data constituent that preserves the data in the database.
EJB構(gòu)成了保存對(duì)象。 它是將數(shù)據(jù)保留在數(shù)據(jù)庫(kù)中的數(shù)據(jù)組成部分。
Message-driven bean:
消息驅(qū)動(dòng)的bean :
It organizes messages that are occurring at the same time, so it is applied in an asynchronous communication framework like deriving JMS messages.
它組織同時(shí)發(fā)生的消息,因此將其應(yīng)用于異步通信框架中,例如派生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為中心的應(yīng)用程序中,EJB將分配業(yè)務(wù)邏輯,該業(yè)務(wù)邏輯位于Servlet和JSP等面向Web的組件后面。
Similarly like Web-centric applications, Thick client applications, like Swing applications will utilize EJBs.
與以Web為中心的應(yīng)用程序類(lèi)似,胖客戶(hù)端應(yīng)用程序(如Swing應(yīng)用程序)將利用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還可以分配通常用于傳達(dá)企業(yè)對(duì)企業(yè)(B2B)電子商務(wù)和遵循企業(yè)系統(tǒng)的Web技術(shù)之間的連接。
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.
企業(yè)應(yīng)用程序集成(EAI)應(yīng)用程序可以將EJB同化,以在組織內(nèi)部進(jìn)行任務(wù)或功能操作,并在不同的應(yīng)用程序之間繪制設(shè)計(jì)。
優(yōu)點(diǎn) (Advantages)
Free security is dispensed, to access EJB.
分配了免費(fèi)的安全性以訪問(wèn)EJB。
In EJB, Declarative transactions are dispensed.
在EJB中,分配了聲明式事務(wù)。
Caching and pooling both are used in EJBs to enhance performance. EJB web containers conduct EJBs life cycles.
緩存和緩沖池都用于EJB中以提高性能。 EJB Web容器執(zhí)行EJB的生命周期。
In EJB, Remote access proficiencies are available and are growing for scalability.
在EJB中,遠(yuǎn)程訪問(wèn)能力是可用的,并且隨著可伸縮性的發(fā)展而增長(zhǎng)。
Programming based on the usage of attributes or annotations is feasible.
基于屬性或注釋的使用進(jìn)行編程是可行的。
Many complicated resources are accessible for free use.
許多復(fù)雜的資源可供免費(fèi)使用。
翻譯自: https://www.includehelp.com/dictionary/ejb-full-form.aspx
ejb模式
總結(jié)
以上是生活随笔為你收集整理的ejb模式_EJB的完整形式是什么?的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。
- 上一篇: DNF中为什么任务名称颜色不一样?
- 下一篇: “雅缋信炳博”上一句是什么