




版權說明:本文檔由用戶提供并上傳,收益歸屬內容提供方,若內容存在侵權,請進行舉報或認領
文檔簡介
1、外文翻譯,網上搜索所得基于J2EE在分布式環(huán)境下的底層結構的自動動態(tài)配置的應用 Anatoly Akkerman, Alexander Totok, and Vijay Karamcheti摘要:為了實現廣域網中符合工業(yè)標準基于組件的應用程序中動態(tài)的可適應性,我們需要一種框架來在這樣的環(huán)境里自動化地配置J2EE 應用程序。這種需要對于哪怕在單一的應用程序服務器上嘗試部署J2EE應用的人來說也顯而易見,這種任務設計到大量的系統(tǒng)服務和應用組件的配置。關鍵詞:j2ee;動態(tài)配置;分布式;組件;1 前言近幾年,我們已經看到基于組件的企業(yè)應用開發(fā)的顯著增加。這種應用程序通常被部署在公司的內部網或者是因特
2、網上,以高事務容量,大量的用戶和覆蓋范圍廣的訪問為特征,它通常會被部署在中央區(qū)域,采用服務器集群來均衡負載從而支持用戶下載。但是這種平均負荷的方法被證明只對減少應用轉發(fā)的用戶可以察覺的反應時間有效,而對于減少網絡方面的延遲作用不大,垂直分割(例如運行網絡層和事務層在不同的虛擬機)被用于錯誤分離和均衡負荷,但是它是不符合實際的由于遠程調運的大量使用顯著地增加了運行時時間。最近的著作已經表明在廣域網中利用垂直負荷而不引起前面所述的超時問題的可行性。那非研究的主要結論可以概括如下:(1) 應用合適的應用程序,在廣域網中的垂直負荷可以察覺的延遲。(2) 廣域垂直層需要復制應用層組件而且需要維持和原組件
3、間的一致性。(3) 新加的復制組件可以被動態(tài)配置以滿足新的需要。(4) 事實上,不同的復制組件可能會根據應用不同的方式實現相組件。(5) 新的請求路徑可以復用先前的組件配置路徑。應用智能監(jiān)視和人工智能規(guī)劃方法再結合那個研究得出的結論,我們看到通過動態(tài)布置基于動態(tài)監(jiān)視的額外的應用組件,在廣域網中符合工業(yè)標準基于組件的應用程序中動態(tài)的可適應性是可以實現的。然而,為了實現這種動態(tài)可適性,我們需要一種框架來在這樣的環(huán)境里自動化地配置J2EE 應用程序。這種需要對于哪怕在單一的應用程序服務器上嘗試布置J2EE應用的人來說也顯而易見,這種任務設計到大量的系統(tǒng)服務和應用組件的配置。例如你必須在配置和部署應用
4、組件前先建立JDBC數據源,設立消息目的地和資源適配器。在需要跨越多個節(jié)點服務器的廣域網配置中,這將更加復雜,因為更多的便利內部節(jié)點通信的系統(tǒng)服務需要配置和啟動,而且多種配置數據比如IP地址,端口號,JNDI名字和其他的數據在多個節(jié)點的配置文件中必須維持一致性。這種分布式配置框架必須滿足:(1) 聲明內部組件一致性規(guī)范和定義它對組件配置部署的影響。(2) 聲明應用程序組件對應用服務器,以及它們的配置和部署的依賴性。(3) 提供簡單但可表達的抽象方法去控制通過部署和拆卸組件獲得的適用性。(4) 能夠復用服務和組件從而高效的利用網路節(jié)點資源。(5) 提供上述便利而不會增加應用程序員的設計負擔。在本
5、論文中,我們提出自動動態(tài)部署J2EE應用程序的框架涉及了上面的所有問題,這種框架為組件定義了結構描述語言,鏈接說明和集合。這種組件說明語言用來描述應用程序組件和鏈接,它使得應用組件與系統(tǒng)組件中清晰的分開。一種靈活的系統(tǒng)類型用來定義組件接口和端口的兼容性。一種為配置組件屬性而開發(fā)的定義和表述語言允許內部組件間獨立的規(guī)范和組件間屬性的繼承。組件集合語言允許先前定義的復制的組件通過連接合適的端口集合到應用路徑,連接時通過鏈接復制對象和具體把這些復制組件映射到目標應用服務器節(jié)點。組件配置過程評估了應用程序路徑的正確性,確認在系統(tǒng)組件上的應用組件的獨立性和完成復制組件的部署。根據這些配置使先前部署的復制
6、組件在新的路徑中得以匹配和復用的努力正在做出。我們把這種架構作為JBoss開源java應用服務器的一部分加以實現,在幾個J2EE樣本程序比如Java PetStore,,RUB和 TPC_W_NYU中進行測試。這種架構實現利用了JBoss的可擴展的微內核結構,基于JMX規(guī)范。JBoss的組件結構允許根據部署應用程序的需要增加服務配置。我們相信通過動態(tài)部署和拆卸系統(tǒng)服務來重構應用服務器對構建高效資源框架的動態(tài)分布部署的J2EE應用程序來說是非常必要的。本文如下部分是這樣組織的。第2部分提供了必要的背景以理解和研究有關的J2EE組件技術規(guī)范。第3部分對這種架構給出了一般性的描述。第4部分更深入的描
7、述了有關這種架構特別重要的和有趣的內部機制。第五部分描述了如何實現這種架構,相關聯的工作將在第六部分介紹。2 J2EE背景知識2.1 介紹組件框架。組件框架是一種中間件系統(tǒng),它支持遵守一定標準的有不同組件構成的應用程序。應用組件被塞入這種確立它們運行環(huán)境和規(guī)定它們交互的框架中。這通常是通過容器,組件持有者來實現的。這種容器也提供通常需要的功能以實現命名,安全性,事務,和持久性!組件框架為組件的執(zhí)行提供了一個集成的環(huán)境,因此顯著的減少了在設計,實現,部署和維護應用程序時工作。現在工業(yè)上的組件框架標準以對象管理組的CORBA組件模型, SUN 公司的JAVA 2 Platform J企業(yè)版J2EE
8、和微軟公司的.NET標準,其中在企業(yè)里應用最為廣泛的組件框架是2EEE。J2EE. J2EE是開發(fā)多層企業(yè)應用JAVA程序的綜合性的標準。J2EE規(guī)范定義如下:(1) 組件編程模型。(2) 組件和主服務器的鏈接。(3) 服務器提供給組件的服務。(4) 各種各樣的人物角色。(5) 兼容性檢驗裝置和編譯測試程序。在眾多的服務列表中,消息通信,事務處理,命名機制和其它應用組件用到的服務是應用服務器必須提供的。用J2EE進行應用開發(fā)必須遵守經典的3層結構表現層,業(yè)務層和企業(yè)信息系統(tǒng)層。屬于各層的J2EE組件在開發(fā)時遵守具體的J2EE標準。1、表現層或者網絡層這一層實際上又被分為客戶端和服務器端。客戶端
9、包括瀏覽器,applets,Java應用程序等和負責和服務器端的表現層或者業(yè)務層進行交互。服務器端包括servlet、jsp和靜態(tài)網頁內容。這些組件負責把業(yè)務數據傳遞給終端用戶。數據本身通常從業(yè)務層獲得有時也從企業(yè)信息系統(tǒng)層直接獲得。表現層的服務器端通常通過Http協議來進行訪問。2、 業(yè)務層或者EJB層這一層包含EJB,即企業(yè)應用的事務邏輯模型。這些組件提供了持久化機制和事務支持。EJB中的組件通過RMI被調用。在Java虛擬機調用或者異步的消息傳遞,取決與EJB組件的類型。EJB規(guī)范定義了很多種組件。它們在調用風格(同步和異步,本地和遠程)與狀態(tài)(完全狀態(tài),不可持久狀態(tài),可持久)方面不同。
10、同步調用的EJB組件通過特定的工廠代理對象來表現自己。這種工廠代理對象通常被EJB部署者綁定在JNDI中。EJB對象允許或者本地EJB對象是特定EJB實例的代理。3、企業(yè)信息系統(tǒng)或者數據層這一層指的就是企業(yè)信息系統(tǒng),比如關系數據庫,ERP系統(tǒng),消息系統(tǒng)等。業(yè)務層和持久層在資源適配器的幫助下與該層進行通信。資源適配器在Java連結結構中被定義。J2EE編程模型一直被認為是分布式的編程模型,在該模型中應用組件在J2EE服務器上運行并且彼此可以相互交互。經過初始化說明和第一個服務實現后,該技術,更顯著的說EJB技術,已經明顯地從純粹的分布式計算模型轉向了本地交互。轉變的背后有合理的性能有關的原因,然
11、而分布式的特征現在還存在。J2EE規(guī)范已經經過了好幾次修訂,現在最穩(wěn)定的版本是1.3,1.4版本正處于重審階段。我們應該把注意力放在1.3版本上,而實際上是在學習后者。適用與商業(yè)的J2EE實現可以大量的從BEA系統(tǒng),IBM,Oracle等贊助商得到。包括JBoss和JOnAS在內的開源實現據稱兼容性也不錯。最近名單上有多出了新的Apache project Geronimo。2.2 J2EE組件編程模型在我們基本的J2EE組件前,先讓我們強調一下什么是組件。軟件組件是有一系列的具體的接口和明確的上下文環(huán)境構成。它可以被獨立的部署而且易于被第三方重構。根據以上的定義,如下的組成J2EE應用程序的
12、實體可以看作是軟件組件:(1) EJBS(會話,實體,消息驅動)。(2) Web組件(Servlet、JSP)。.(3) 消息目的。(4) 數據源。EJB和Web組件被部署在由應用服務贊助商提供的容器中.它們有定義良好的容器規(guī)則來管理生命周期,線程,持久化和其他問題。EJB和Web組件都利用JNDI目錄機制去尋找資源和它們想要交互的其EJB組件。目錄被執(zhí)行的JNDI環(huán)境被獨立的由容器的每個組件加以維護。該種環(huán)境下的綁定機制通常由組件部署的解釋者加以配置。消息目的地,像對話和隊列,是由消息服務執(zhí)行所提供的資源。數據源是提供給應用服務器的為事務組件進入到企業(yè)信息服務層提供數據接口,通常由被應用服務
13、器管理的JDBC連接池實例化。一個J2EE編程者明確編寫的項目只有EJB和Web組件。這些用戶編寫的組件彼此交互而且系統(tǒng)服務可以是明顯的也可以是隱含的。例如,EJB開發(fā)者可以選擇明確的事務區(qū)分方式,這種方式意味著開發(fā)者假設通過定義良好接口的事務經理服務平臺來書寫明確的程序交互。或者,開發(fā)者也可選擇容器管理事務區(qū)分的方式。這樣由于組件的事務行為通過他的描述者來定義而且全部用EJB容器來處理,因此作為一個隱式獨立的EJB提供潛在的事務管理服務。2.3 組件間的鏈接 遠程交互J2EE僅定義了三種可以在不同應用服務器間傳遞的基本組件間連接類型。在這三種情況下,通信通過特定的Java對象來完成。(1)
14、遠程EJB調用:同步的EJB調用通過主EJB對象和EJB對象接口來實現。(2) Java連結器的外部連接:同步消息接收,同步和異步消息發(fā)送,用連接工廠和連接接口進行數據庫查詢。(3) Java連接器的內部連接:異步消息傳遞進入消息驅動Bean只能使用Activation Spec 對象。在前兩個實例中,應用組件的開發(fā)者不僅書寫執(zhí)行在組件的運行時JNDI環(huán)境中的對象目錄代碼,而且書寫發(fā)布方法調用,與遠程的組件相互發(fā)送和接受消息。組件的運行時JNDI環(huán)境為每一個組件部署所創(chuàng)建。環(huán)境中的綁定在組件部署時由部署者進行初始化。這些綁定被假設為是靜態(tài)的,因為規(guī)格中沒有提供任何的容器和組件間協議去提示綁定發(fā)
15、生了變化。在 Java連接器的內部通信情景下,Activation Spec 對象查詢以及所有的相應的M容器隱式的完成。雖然查詢的協議還沒有被標準化,但是假設一個基于JMX或者JNDI的查詢是合理的。 假設潛在的應用服務器提供了所有的設備去控制部署過程的每一步,那么在兩個J2EE組件間確立一個連接需要涉及:(1) 部署目標組件類。(2) 創(chuàng)建一個特定的Java對象用作目標組件代理。(3) 用組件的命名服務去綁定目標。(4) 啟動目標組件。(5) 部署指定的組件類。(6) 在主機的命名服務中,創(chuàng)建和進行指定組件的運行環(huán)境。(7) 啟動指定的組件。然而,沒有一個現代的應用服務器允許詳細的控制所有組
16、件類型的部署過程除了在它們的部署解釋器中的有限的選擇。因此我們的架構將使用簡化的途徑,它所依賴的特征在現在的大多數的應用服務器上都可以得到。(1) 動態(tài)部署消息目的和數據源的能力。(2) 創(chuàng)建和綁定特定的JNDI目標去訪問消息目的和數據源的能力。(3) 把初始綁定的EJB對象到EJB部署組件的能力。(4) 用在參考組件運行環(huán)境中的JNDI指引去指出綁定的參考EJB的能力。在只有相同的應用服務器的架構中,上面的功能對通過簡單的部署控制解釋器方式來控件間的連接已經足夠了。然而,在不同應用服務器的環(huán)境下,由于跨服務器的類下載問題,這種簡單的控制解釋器的方式是不夠的。 本地交互一些組件間的交互可以發(fā)生
17、在同一地點的相同應用服務器虛擬機的組件間,有時候甚至可以發(fā)生在只有相同容器的組件間。在Web層,這種交互的例子是 servlet到 servlet的請求轉發(fā)。在EJB層,這種交互的例子是CMP實體關系和通過EJB本地接口的調用。這種本地部署所關心的不是在分布式架構中去表現而是去增強一致性。因此,這種架構把所有的本地的組件請求當作一個單一的組件加以對待。2.4 部署J2EE應用程序和系統(tǒng)服務 部署應用程序組件部署和拆卸標準的J2EE組件還沒有統(tǒng)一的標準,因此每個應用服務的提供商對組件的部署和拆卸提供了單獨的功能于J2EE規(guī)范中沒有定義標準組件的包,包的格式和包內的基于xml部署解釋器的位置,因此
18、這種包對于沒有所屬權變化的應用服務器不需要部署。具體變化的例子有:(1) 支持或者取代標準所有者解釋器的新的所有者解釋器的產生。(2) 具體服務應用程序類的代碼的更替。為了著手構建一個能夠部署不可網絡的動態(tài)的分布式的架構,我們提出了一種普遍的部署單元即一個簡單的基于xml部署的解釋器或者是一組類似的綁定到文檔中的解釋器。文檔可能包含用于執(zhí)行組件的Java類或者任何其它的所需組件。相應地,部署解釋器也可以簡單地用URL來索引代碼。我們假設這種動態(tài)的部署和拆卸服務存在于所有的兼容的J2EE服務器上而且在不理解類重載相關問題時一個健壯的類重載結結構的應用服務器就能夠重復的部署生命周期。大多數現代的應
19、用服務器都提供這樣的功能。 部署系統(tǒng)組件對應用組件來說,J2EE規(guī)范只是少了在部署和拆卸時的明確定義,而對系統(tǒng)服務來說,在這方面做的更糟。對系統(tǒng)服務來說不僅沒有具體的定義一個標準化的部署,實際上,這個規(guī)格甚至連沒有強調在生命周期屬性方面的要求,更不用手強調依賴也潛在的系統(tǒng)服務的應用組件的明確規(guī)范了取而代之的是它定義了部署者的角色,這個角色負責確保像組件的本性和系統(tǒng)的解釋器所暗示的那樣,所需的服務是基于應用組件對系統(tǒng)服務依賴性的基礎之上。例如,假如有一個事務容器要至少用一種方法去開始一個新的事務,那么一個帶有這樣的事務容器的EJB就需要在應用層表示事務管理服務。與之相似的是,一個消息驅動的bea
20、n,也隱式需要一種運行在網絡上消息服務實例。它為MDB管理消息目的以及基于查詢的Java連接器通過它的管理服務層去提供這種消息服務。考慮到應用層可能通常只用到了應用服務器所提供的服務的一個子集,根據應用層的需要允許遞增的配置服務的組件應用服務器允許更高效的利用多種資源。包括,開源的應用服務器,JBoss和OnAS在內,已經有多種J2EE應用服務器已經全部或者部分的實現了組件化。我們感覺到通過動態(tài)的部署和拆卸系統(tǒng)服務,動態(tài)的配置應用服務器對動態(tài)分布的部署J2EE應用程序是一種十分重要的構建資源有效型框架的方法。因此我們提倡并將把用JBoss應用服務器設計的微內核的應用服務器用作一個模型。在該模型
21、中,一個微型的服務包括了系統(tǒng)調用總線,一個穩(wěn)健的類下載子系統(tǒng),一些命名子系統(tǒng)和一個動態(tài)配置子系統(tǒng)。所有其它的服務是熱部署并且通過一個普通的調用總線來進行通信。例如,JBoss利用Java管理擴展服務器來實現基本的命名和調用功能。除此之外,JBoss實現了一個先進的類下載子系統(tǒng)和部署服務。所有其它的JBoss是動態(tài)配置的,并外在的表現為具有良好機制和生命周期的JMX MBeans.這樣的一種應用服務器根據系統(tǒng)服務外在利用應用組件去設計相關功能,并且只有需要的系統(tǒng)服務才會得到合理配置和部署! 參考文獻1 Matt Bishop. Computer Security: Art and Science
22、. New York, 20022 Matt Bishop. Vulnerabilities Analysis. Proceedings of the Second International Symposium on Recent Advances in Intrusion Detection. Los Angeles 20063 Balasubra maniyan. Architecture for Intrusion Detection using Autonomous AgentsM. Department of Computer Sciences, Purdue University
23、, 1998.Infrastructure for Automatic Dynamic DeploymentOf J2EE Application in Distributed EnvironmentsAnatoly Akkerman, Alexander Totok, and Vijay KaramchetiAbstract: in order to achieve such dynamic adaptation, we need an infrastructure for automating J2EE application deployment in such an environme
24、nt. This need is quite evident to anyone who has ever tried deploying a J2EE application even on a single application server, which is a task that involves a great deal of configuration of both the system services and application components.Key words: j2ee; component; Distributed; Dynamic Deployment
25、; 1 IntroductionIn recent years, we have seen a significant growth in component-based enterprise application development. These applications are typically deployed on company Intranets or on the Internet and are characterized by high transaction volume, large numbers of users and wide area access. T
26、raditionally they are deployed in a central location, using server clustering with load balancing (horizontal partitioning) to sustain user load. However, horizontal partitioning has been shown very efficient only in reducing application-related overheads of user-perceived response times, without ha
27、ving much effect on network-induced latencies. Vertical partitioning (e.g., running web tier and business tier in separate VMs) has been used for fault isolation and load balancing but it is sometimes impractical due to significant run-time overheads (even if one would keep the tiers on a fast local
28、-area network) related to heavy use of remote invocations. Recent work 14 in the context of J2EE component based applications has shown viability of vertical partitioning in wide-area networks without incurring the aforementioned overheads. The key conclusions from that study can be summarized as fo
29、llows: Using properly designed applications, vertical distribution across wide-area networks improves user-perceived latencies. Wide-area vertical layering requires replication of application components and maintaining consistency between replicas. Additional replicas may be deployed dynamically to
30、handle new requests. Different replicas may, in fact, be different implementations of the same component based on usage (read-only, read-write). New request paths may reuse components from previously deployed paths.Applying intelligent monitoring 6 and AI planning 2, 12 techniques in conjunction wit
31、h the conclusions of that study, we see a potential for dynamic adaptation in industry-standard J2EE component-based applications in wide area networksThrough deployment of additional application components dynamically based on active monitoring. However, in order to achieve such dynamic adaptation,
32、 we need an infrastructure for automating J2EE application deployment in such an environment. This need is quite evident to anyone who has ever tried deploying a J2EE application even on a single application server, which is a task that involves a great deal of configuration of both the system servi
33、ces and application components. For example one has to set up JDBC data sources, messaging destinations and other resource adapters before application components can be configured and deployed. In a wide area deployment that spans multiple server nodes, this proves even more complex, since more syst
34、em services that facilitate inter-node communications need to be configured and started and a variety of configuration data, like IP addresses, port numbers, JNDI names and others have to be consistently maintained in various configuration files on multiple nodes.This distributed deployment infrastr
35、ucture must be able to: address inter-component connectivity specification and define its effects on component configuration and deployment, address application component dependencies on application server services, their configuration and deployment, provide simple but expressive abstractions to co
36、ntrol adaptation through dynamic deployment and undeployment of components, enable reuse of services and components to maintain efficient use of network nodes resources, provide these facilities without incurring significant additional design effort on behalf of application programmers.In this paper
37、 we propose the infrastructure for automatic dynamic deployment of J2EE applications, which addresses all of the aforementioned issues. The infrastructure defines architecture description languages (ADL) for component and link description and assembly. The Component Description Language is used to d
38、escribe application components and links. It provides clear separation of application components from system components. A flexible type system is used to define compatibility of component ports and links. A declaration and expression language for configurable component properties allows for specifi
39、cation of inter-component dependencies and propagation of properties between components. The Component (Replica) Assembly Language allows for assembly of replicas of previously defined components into application paths byConnecting appropriate ports via link replicas and specifying the mapping of th
40、ese component replicas onto target application server nodes. The Component Configuration Process evaluates an application paths correctness, identifies the dependenciesof application components on system components, and configures component replicas for deployment. An attempt is made to match and re
41、use any previously deployed replicas in the new path based on their configurations. We implement the infrastructure as a part of the JBoss open source Java application server 11 and test it on severalSample J2EE applications Java Pets tore 23, Rubies 20 and TPC-W-NYU 32. The infrastructure implement
42、ation utilizes the JBosss extendable micro-kernel architecture, based on the JMX 27 specification. Componentized architecture of JBoss allows incremental service deployments depending on the needs of deployed applications. We believe that dynamic reconfiguration of application servers through dynami
43、c deployment and undeployment of system services is essential to building a resource-efficient framework for dynamic distributed deployment of J2EE applications. The rest of the paper is organized as follows. Section 2 provides necessary background for understanding the specifics of the J2EE compone
44、nt technology which are relevant to this study. Section 3 gives a general description of the infrastructure architecture, while section 4 goes deeper in describing particularly important and interesting internal mechanisms of the infrastructure. Section 5 describes the implementation of the framewor
45、k, and related work is discussed in section 6.2 J2EE Background2.1 IntroductionComponent frameworks. A component framework is a middleware system that supports applications consisting of components conforming to certain standards. Application components are “plugged” into the component framework, wh
46、ich establishes their environmental conditions and regulates the interactions between them. This is usually done through containers, component holders, which also provide commonly required support for naming, security, transactions, and persistence. Component frameworks provide an integrated environ
47、ment for component execution, as a result significantly reduce the effort .it takes to design, implement, deploy, and maintain applications. Current day industry component framework standards are represented by Object Management Groups CORBA Component Model 18, Sun Microsystems Java 2 Platform Enter
48、prise Edition (J2EE) 25 and Microsofts .NET 17, with J2EE being currently the most popular and widely used component framework in the enterprise arena.J2EE. Java 2 Platform Enterprise Edition (J2EE) 25 is a comprehensive standard for developing multi-tier enterprise Java applications. The J2EE speci
49、fication among other things defines the following: Component programming model, Component contracts with the hosting server, Services that the platform provides to these components, Various human roles, Compatibility test suites and compliance testing procedures.Among the list of services that a com
50、pliant application server must provide are messaging, transactions, naming and others that can be used by the application components. Application developed using J2EE adhere to the classical 3-Tier architectures Presentation Tier, Business Tier, and Enterprise Information System (EIS) Tier (see Fig.
51、 1). J2EE components belonging to each tier are developed adhering to theSpecific J2EE standards.1. Presentation or Web tier.This tier is actually subdivided into client and server sides. The client side hosts a web browser, applets and Java applications that communicate with the server side of pres
52、entation tier or the business tier. The server side hosts Java Servlet components 30, Java Server Pages (JSPs) 29 and static web content. These components are responsible for presenting business data to the end users. The data itself is typically acquired from the business tier and sometimes directl
53、y from the Enterprise Information System tier. The server side of the presentation tier is typically accessed through HTTP(S) protocol.2. Business or EJB tier.This tier consists of Enterprise Java Beans (EJBs) 24 that model the business logic of the enterprise application. These components provide p
54、ersistence mechanisms and transactional support. The components in the EJB tier are invoked through remote invocations (RMI), in-JVM invocations or asynchronous message delivery, depending on the type of EJB component. The EJB specification defines several types of components. They differ in invocat
55、ion style (synchronous vs. asynchronous, local vs. remote) and statefulness: completely stateless (e.g., Message-Driven Bean), stateful non-persistent(e.g., Stateful Session Bean), stateful persistent (e.g., Entity Bean). Synchronously invocable EJB components expose themselves through a special fac
56、tory proxy object (an EJB Home object, which is specific to a given EJB), which is typically bound in JNDI by the deployer of the EJB. The EJB Home object allows creation or location of an EJBObject, which is a proxy to a particular instance of an EJB 1.3. Enterprise Information System (EIS) or Data
57、 tier.This tier refers to the enterprise information systems, like relational databases, ERP systems, messaging systems and the like. Business and presentation tier component communicate with this tier with the help of resource adapters as defined by the Java Connector Architecture 26.The J2EE progr
58、amming model has been conceived as a distributed programming model where application components would run in J2EE servers and communicate with each other. After the initial introduction and first server implementations, the technology, most notably, the EJB technology has seen some a significant shift away from purely distributed computing model towards local interactions 2. There were very legitimate performance-related reasons behind this shift, however theDistributed features are still available. The J2EE specification has seen several revisions, the latest stable being vers
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯系上傳者。文件的所有權益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網頁內容里面會有圖紙預覽,若沒有圖紙預覽就沒有圖紙。
- 4. 未經權益所有人同意不得將文件中的內容挪作商業(yè)或盈利用途。
- 5. 人人文庫網僅提供信息存儲空間,僅對用戶上傳內容的表現方式做保護處理,對用戶上傳分享的文檔內容本身不做任何修改或編輯,并不能對任何下載內容負責。
- 6. 下載文件中如有侵權或不適當內容,請與我們聯系,我們立即糾正。
- 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 礦產商品蒸鎦鋅企業(yè)數字化轉型與智慧升級戰(zhàn)略研究報告
- 2025-2030中國天氣傳感器行業(yè)市場發(fā)展趨勢與前景展望戰(zhàn)略研究報告
- 2025-2030中國夜燈行業(yè)市場發(fā)展趨勢與前景展望戰(zhàn)略研究報告
- 2025-2030中國基于Saas的企業(yè)資源規(guī)劃行業(yè)市場發(fā)展趨勢與前景展望戰(zhàn)略研究報告
- 2025-2030中國國際貨物運輸行業(yè)市場深度調研及發(fā)展趨勢與投資前景研究報告
- 2025-2030中國聽力篩查和診斷設備行業(yè)市場發(fā)展趨勢與前景展望戰(zhàn)略研究報告
- 2025-2030中國可編程儀表板行業(yè)市場發(fā)展趨勢與前景展望戰(zhàn)略研究報告
- 2025-2030中國醫(yī)用酒石酸行業(yè)市場發(fā)展趨勢與前景展望戰(zhàn)略研究報告
- 2025-2030中國化學需氧量儀行業(yè)市場發(fā)展趨勢與前景展望戰(zhàn)略研究報告
- 給水管材采購協議
- 2025年4月12日衢州事業(yè)單位及市直遴選(選調)筆試真題及答案解析
- 2025年CFA特許金融分析師考試全真模擬試題與解析
- 非上市公司的期權激勵方案兩篇
- 第8課《集字練習》課件-【知識精研】六年級上冊書法北師大版
- DB37-T 5312-2025 《建筑施工安全防護設施技術標準》
- 2025年廣東韶關南雄市衛(wèi)生健康局下屬事業(yè)單位招聘工作人員67人歷年高頻重點模擬試卷提升(共500題附帶答案詳解)
- 2025年度商鋪租賃代理服務合同(含獨家代理權)
- 高壓配電室操作規(guī)程(3篇)
- 工程項目不可抗力補充協議
- 實驗室智能化設備的技術發(fā)展與趨勢
- 電廠化驗培訓課件
評論
0/150
提交評論