??请指点·Weblogic5.1的配置文件中,TXDataSource和DataSource有什么区别?

请看19行,TXDataSource和DataSource有什么区别?
把它换成DataSource在EJB中也可以lookup到;
不知道换成DataSource使用会有什么不同?
请指点·

01# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
02# WEBLOGIC DEMO CONNECTION POOL PROPERTIES
03# -------------------------------------------------
04# CLUSTER USERS: Note that ALL JDBC connection pools should be set up
05# in the *per-cluster* properties file ONLY.
06#
07# This connection pool uses the sample Cloudscape database shipped
08# with WebLogic. Used by the EJBean, JHTML, JSP and JMS examples.
09# Uncomment to use:
10weblogic.jdbc.connectionPool.demoPool=\
11 url=jdbc:cloudscape:demo,\
12 driver=COM.cloudscape.core.JDBCDriver,\
13 initialCapacity=1,\
14 maxCapacity=2,\
15 capacityIncrement=1,\
16 props=user=none;password=none;server=none
17#
18# Add a TXDataSource for the connection pool:
19weblogic.jdbc.TXDataSource.weblogic.jdbc.jts.demoPool=demoPool
20#
21# Add an ACL for the connection pool:
22weblogic.allow.reserve.weblogic.jdbc.connectionPool.demoPool=everyone
[1173 byte] By [nikita_win-百年] at [2008-5-24]
# 1
TXDataSource:可在一个transaction中操作多个数据库和同一数据库的多个Connection,不能直接使用db的transaction功能

DataSource:transaction是基于Connection的
wangtaoyy-flow at 2007-10-27 > top of Msdn China Tech,企业开发,WebLogic...
# 2
你的意思是说:

TXDataSource可以支持多个数据库或数据库连接间的事务处理;
DataSource只能支持同一个Connection中的事务处理吗?
除了这些还有别的区别吗?
谢谢!
nikita_win-百年 at 2007-10-27 > top of Msdn China Tech,企业开发,WebLogic...
# 3
下面是java.sun.com中对于TXDataSource和DataSource的解说:

To define a JTS-enabled DataSource named "myJtsDataSource" for the connection pool "myConnectionPool", add the following line to the weblogic.properties file:
weblogic.jdbc.TXDataSource.myJtsDataSource=myConnectionPool

To define a DataSource named "myNonJtsDataSource" for the connection pool "myConnectionPool" that is not JTS-enabled, add the following line to the weblogic.properties file:
weblogic.jdbc.DataSource.myNonJtsDataSource=myConnectionPool

You can define multiple DataSources that use a single connection pool. This allows you to define both JTS-enabled and non-JTS-enabled DataSource objects that share the same database.

JTS是:(Java事务服务)JavaTM Transaction Service (JTS) 的缩写
具体内容大家可以到以下网址查看:
http://java.sun.com/products/jts/
nikita_win-百年 at 2007-10-27 > top of Msdn China Tech,企业开发,WebLogic...