SCEA之路--5. Legacy Connectivity

博客介绍了Java组件与遗留系统的交互,遗留系统通常用其他语言开发,运行在不支持Java的环境,连接受限。组件与遗留系统软件/服务交互方式有进程内、进程外物理连接、进程外虚拟连接和通过代理等。还提及JCA包含资源适配器等,其适配器通过系统合约与J2EE服务器交互,有连接管理、事务管理和安全三种合约。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

General.
Legacy connectivity refers to how Java components interact with a legacy system.
Typical properties of a legacy system are :
• developed in another programming language
• runs in an environment that doesn’t support Java
• limited connectivity – e.g. a mainframe that only supports physical connections

Connectivity Options.
Generally, components can interact with software/services on a legacy system in the following ways :
• in-process – e.g. independent software processes collaborating
• out-of-process (physical connection) – e.g. serial IO over local cable / leased-line
• out-of-process (virtual connection) – e.g. over the network; serial IO over dialup; etc.
• out-of-process (broker) – e.g. via a middle-man such as an ORB, MQ, etc.

The JCA comprises a resource adapter, connection management contracts, a transaction management contract, a security contract, and the CCI.

A JCA adapter interacts with a J2EE server via system contracts. Three types of system contracts can be used:
•?Connection management
•?Transaction management
• Security

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值