连接器项目(JCA 1.0 到 JCA 1.5)

J2EE 迁移向导将 J2EE 连接器体系结构(JCA)1.0 描述符的构件迁移到 JCA 1.5。已迁移的构件与 ResourceAdaptor 对象的元素相关,因为已将两个新对象(OutboundResourceAdaptorConnectionDefinition)添加至 J2EE 1.4 规范级别的连接器项目中的 ResourceAdaptor 对象。

下面描述了已迁移元素的映射。
  • 下列元素从 ResourceAdaptor 对象移到 OutboundResourceAdaptor 对象:
    • reauthenticationSupport
    • transactionSupport
  • 下列元素从 ResourceAdaptor 对象移到 ConnectionDefinition 对象:
    • managedConnectionFactoryClass
    • connectionFactoryInterface
    • connectionFactoryImplClass
    • connectionInterface
    • connectionImplClass
  • outboundResourceAdaptor 对象包含 ConnectionDefinition 定义列表。因此,ConnectionDefinition 被添加至 OutboundResourceAdaptor 包含的 ConnectionDefinition 列表。
  • OutboundResourceAdaptor 对象包含在 ResourceAdaptor 对象中。
  • AuthenticationMechanism 对象在 JCA 1.5 中有一些更改,其中 customAuthMechType 元素被替换为 authenticationMechanism,而 authenticationType 元素被替换为 authenticationMechanism
  • ResourceAdaptor 对象中的描述属性替换为如下描述对象:描述对象中的描述属性字符串被设置为下列对象的“描述”对象中的 value 元素:
    • SecurityPermission
    • AuthenticationMechanism
    • ConfigurationProperties

父主题: J2EE 1.3 到 1.4 规范级别迁移

相关参考
Enterprise JavaBean 项目(EJB 2.0 到 EJB 2.1)
Web 项目(Servlet 级别 2.3 到 Servlet 级别 2.4)
Web Service(J2EE 1.3 到 J2EE 1.4)
J2EE 1.3 到 1.4 规范级别迁移

(C) Copyright IBM Corporation 2000, 2004. All Rights Reserved.