For remoteability and therefore additional scalability as well as container managed transaction support , the service tier in the workplace components is implemented as stateless session ejbs 為了遠(yuǎn)程能力和隨之而來的附加的可伸縮性,以及容器管理的事務(wù)支持, workplace組件中的service層被實(shí)現(xiàn)為無狀態(tài)的會(huì)話ejb 。
Websphere administration console provides a system management task , " manage transactions " , which allows you to manage the transactions and to finish stop abort a transaction as shown in figure 1 Websphere administration console提供系統(tǒng)管理任務(wù)( manage事務(wù)) ,它可以允許您管理事務(wù)并結(jié)束(停止放棄)事務(wù),如圖1所示。
Dbms is a powerful tool to manage mass data very efficiently . database management system is used to provide duration storage , programming interfaces and the ability to manage transaction 數(shù)據(jù)庫管理系統(tǒng)( dbms )是一個(gè)強(qiáng)有力的工具,用于高效地管理大量的數(shù)據(jù),并使得數(shù)據(jù)能夠安全地長期保存,并且向用戶提供編程接口以及事務(wù)管理的能力。
In a complete application , encapsulating the messaging code in an ejb component enables the ejb container to manage transactions between the messaging provider and other transactional resources such as a database 在完整的應(yīng)用程序中,將消息傳遞代碼封裝在一個(gè)ejb組件中可以使該ejb容器能夠管理消息傳遞提供程序和其他事務(wù)性資源(如數(shù)據(jù)庫)之間的事務(wù)。
In part 3 , we ll look at some of the practical issues associated with managing transactions in a j2ee context - transaction demarcation and isolation - and their effects on application consistency , stability , and performance 在第3部分,我們將看一下關(guān)于管理j2ee上下文中事務(wù)的一些實(shí)際問題事務(wù)劃分和孤立以及它們對(duì)應(yīng)用程序一致性、穩(wěn)定性和性能的影響。
Fortunately , the java transaction service and the j2ee container do much of the work of managing transactions for you automatically , so you don t have to integrate transaction awareness directly into your component code 幸運(yùn)的是, java事務(wù)服務(wù)( java transaction service , jts )和j2ee容器自動(dòng)為您做了大量的事務(wù)管理工作,這樣您就不必將事務(wù)意識(shí)直接集成到組件代碼中。
With container - managed transactions , you can assign transactional attributes at either the ejb class or method levels ; you can specify a default set of transactional attributes for the ejb class , and you can also specify attributes for each method if different methods are to have different transactional semantics 使用容器管理的事務(wù),您可以在ejb類或方法級(jí)別上指定事務(wù)性屬性;您可以為ejb類指定缺省的事務(wù)性屬性,如果不同的方法會(huì)有不同的事務(wù)性語義,您還可以為每個(gè)方法指定屬性。