Using the J2EE Connector API

The J2EE Connector API is a framework for connecting to other systems. The connector architecture doesn't actually deal with connectivity, however. It is more concerned with resource and transaction management. Although the Java Messaging API gives you some support for transactions when dealing with existing systems, you can't make the entire operation part of the transaction—only the act of sending the message is part of the transaction. The Connector API lets you perform an operation on an existing system as part of a transaction.

The Connector API is similar to JDBC, both in its design and its various parts. Like JDBC, the API itself is an abstract framework with no concrete implementation. To connect to a specific ...

Get Special Edition Using Java™ 2 Enterprise Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.