阿寶 Keep Walking......


          JUST DO IT, DO YOUR BEST ! -- 勿在浮沙筑高臺(tái)

            BlogJava :: 首頁(yè) :: 聯(lián)系 :: 聚合  :: 管理
            49 Posts :: 6 Stories :: 26 Comments :: 0 Trackbacks

          12 2006 檔案

               摘要: First it is very important to understand the difference between local transactions and global (JTA) transactions. All JMS Sessions support local transactions. That is, calling commit() and rollback() directly on the JMS Session object. Local transactions only affect the JMS session, nothing else. Local transactions have nothing to do with and are independent from the JTA transactions used by container (CMT) or by bean managed transactions (BMT).  閱讀全文
          posted @ 2006-12-06 17:02 阿寶 閱讀(738) | 評(píng)論 (0)  編輯

               摘要: 關(guān)于獲取數(shù)據(jù)源的語(yǔ)法,大體有(javax.sql.DataSource) ctx.lookup ("java:comp/env/XXX")和(javax.sql.DataSource) ctx.lookup("XXX")兩種寫(xiě)法,好多人以為這兩種寫(xiě)法是相同的,以為都是通過(guò)JNDI來(lái)獲取數(shù)據(jù)源。其實(shí)java:comp/env和 JNDI是不同的,java:comp/env 是環(huán)境命名上下文(environment naming context(ENC))  閱讀全文
          posted @ 2006-12-06 16:38 阿寶 閱讀(7996) | 評(píng)論 (4)  編輯

               摘要: 在JBoss下判斷當(dāng)前是否處于JTA的事務(wù)中  閱讀全文
          posted @ 2006-12-06 15:57 阿寶 閱讀(234) | 評(píng)論 (0)  編輯

          主站蜘蛛池模板: 林口县| 静宁县| 秦皇岛市| 屏南县| 通州区| 闻喜县| 吉林市| 新郑市| 新龙县| 邻水| 孟州市| 锡林浩特市| 廉江市| 北宁市| 宣威市| 安溪县| 逊克县| 金昌市| 阳新县| 买车| 富锦市| 阆中市| 宣化县| 沛县| 林州市| 惠水县| 泸水县| 拜城县| 内丘县| 台南县| 嘉荫县| 交城县| 庆元县| 全州县| 水城县| 新干县| 崇礼县| 蒲城县| 平邑县| 黔南| 紫阳县|