<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    編程生活

       :: 首頁 :: 新隨筆 :: 聯(lián)系 :: 聚合  :: 管理 ::
      113 隨筆 :: 0 文章 :: 18 評論 :: 0 Trackbacks
    Q. What is the difference between JTA 1.0.1 and JTA 1.1?

    A. There is a new interface, TransactionSynchronizationRegistry, that allows an application or a component to get some help from the container with synchronizing its state with the transaction context of its environment.
    
    This interface is intended for use by system level application server components such as persistence managers. This provides the ability to register synchronization objects with special ordering semantics, associate resource objects with the current transaction, get the transaction context of the current transaction, get current transaction status, and mark the current transaction for rollback. 
    
    
    This interface is implemented by the application server by a stateless service object. The same object can be used by any number of components with thread safety. 
    
    Q. Can other components use this interface?
    The interface can be used by any component. There are no restrictions.
    Q. In which environments can I use the new interface?
    
    A. The interface is defined to be available at a specific JNDI location java:comp/TransactionSynchronizationRegistry from within an application server that conforms to the Java EE 5 specification.
    Q. What is the rationale for providing this interface?
    
    A. All application servers provide a means for giving certain components access to transaction context but these means are proprietary and offer different functionality.
    
    Q. How can I get access to the JTA 1.1 jar that contains the new interface? 
    
    
    A. The jar is available for download from https://maven- repository.dev.java.net/nonav/repository/javax.transaction/jars/ transaction-api-1.1.jar or if using maven, you can add the repository https://maven-repository.dev.java.net/nonav/repository and declare a dependency in the project file: 
    
             <dependency>
    <groupId>javax.transaction</groupId>
    <artifactId>transaction-api</artifactId>
    <version>1.1</version>
    </dependency>
    Q. What version of JDK was the jar compiled with?
    A. JDK 1.3 was used for the compilation of the jar.
    
    Q. Is the jar from java.net more "official" than other versions of the jar?
    
    A. This implementation of the collection of interfaces is part of the Reference Implementation of Java EE 5. But the Java EE 5 specification does not mandate any particular packaging of the interfaces into jars. In particular, there is no specification of the existence of a JTA 1.1 jar, nor the contents of this jar or packaging it as a maven repository. 
    
    
    Q. Could there be a "better" or more functional version of the JTA 1.1 jars or interfaces? 
    
    
    A. Not really. These interfaces are part of the official Java EE 5 specification, and the interfaces cannot be subsetted or supersetted. All versions of the interfaces must work exactly the same, as demonstrated by passing the Java EE 5 CTS. 
    
    Q. Is there an open source version of the jar available?
    
    A. Not yet. Since this is a specification jar, only a Java EE 5 compliant application server can publish a production-ready version of the jar. There are not yet any open source Java EE 5 compliant application servers.
    posted on 2008-08-04 11:32 wilesun 閱讀(428) 評論(0)  編輯  收藏

    只有注冊用戶登錄后才能發(fā)表評論。


    網(wǎng)站導航:
     
    主站蜘蛛池模板: 亚洲爽爽一区二区三区| 美女裸身网站免费看免费网站| 国产禁女女网站免费看| 2020国产精品亚洲综合网| 亚洲免费观看在线视频| 中文字幕亚洲综合久久| 91av在线免费视频| 亚洲成人网在线观看| 国产在线观看片a免费观看| 亚洲国产视频久久| 国产一精品一aⅴ一免费| 另类小说亚洲色图| 亚洲精品国产高清不卡在线| 人人鲁免费播放视频人人香蕉| 狠狠色婷婷狠狠狠亚洲综合 | 18未年禁止免费观看| 亚洲麻豆精品果冻传媒| 人妻视频一区二区三区免费| 亚洲AV香蕉一区区二区三区| 无码不卡亚洲成?人片| a毛片免费全部播放完整成| 久久久久亚洲精品成人网小说| 久久国产色AV免费看| 亚洲kkk4444在线观看| 四虎成人精品在永久免费| 国产精品无码免费专区午夜| 91精品国产亚洲爽啪在线影院| 国色精品卡一卡2卡3卡4卡免费| 99亚洲男女激情在线观看| 久久精品国产亚洲Aⅴ香蕉| 99久久人妻精品免费二区| jlzzjlzz亚洲jzjzjz| 一级毛片直播亚洲| 日本视频在线观看永久免费| 亚洲国产成人精品激情| 亚洲成a人一区二区三区| 日本在线看片免费人成视频1000 | 免费无码一区二区三区蜜桃| 亚洲成人免费在线观看| 免费人成视频在线观看不卡| 免费看搞黄视频网站|