View Source

h3.J2EE Connector Architecture Code Samples



The J2EE Connector Architecture lets J2EE components such as enterprise beans connect to and interact with Enterprise Information Systems (EISs).

* [Connetor Technology code samples|http://java.sun.com/javaee/downloads/index.jsp#tutorial] from the Java Series book [The J2EE Tutorial:J2EE Connector Architecture|http://java.sun.com/javaee/reference/tutorials/index.jsp]. There is Common Client Interface (CCI) code in the {{/examples/src/ejb/cci/CoffeeBean}} class.

* [J2EE Connector Architecture Sample Source download|http://java.sun.com/j2ee/sdk_1.3/]
Scroll down the page to find the link.

* [myEISConnection|http://java.sun.com/developer/technicalArticles/J2EE/connectorclient/resourceadapter.html#code1] provides connectivity to an EIS instance. For supporting information see [The J2EE Connector Architecture's Resource Adapter|http://java.sun.com/developer/technicalArticles/J2EE/connectorclient/resourceadapter.html].

* [myEISConnectionFactory|http://java.sun.com/developer/technicalArticles/J2EE/connectorclient/resourceadapter.html#code1] establishes a connection to an EIS instance. For supporting information see [The J2EE Connector Architecture's Resource Adapter|http://java.sun.com/developer/technicalArticles/J2EE/connectorclient/resourceadapter.html].
* [myEISConnectionRequestInfo|http://java.sun.com/developer/technicalArticles/J2EE/connectorclient/resourceadapter.html#code3] represents a resource adapter's request-specific data. For supporting information see [The J2EE Connector Architecture's Resource Adapter|http://java.sun.com/developer/technicalArticles/J2EE/connectorclient/resourceadapter.html].

* [myEISManagedConnection|http://java.sun.com/developer/technicalArticles/J2EE/connectorclient/resourceadapter.html#code5] provides an application-level connection handle from the EIS to the resource adapter's ManagedConnection instance. For supporting information see [The J2EE Connector Architecture's Resource Adapter|http://java.sun.com/developer/technicalArticles/J2EE/connectorclient/resourceadapter.html].

* [myEISManagedConnectionFactory|http://java.sun.com/developer/technicalArticles/J2EE/connectorclient/resourceadapter.html#code4] either matches an existing connection to the EIS with the incoming request or creates a new physical connection to the EIS. For supporting information see [The J2EE Connector Architecture's Resource Adapter|http://java.sun.com/developer/technicalArticles/J2EE/connectorclient/resourceadapter.html].

* [myEISManagedConnectionMetaData|http://java.sun.com/developer/technicalArticles/J2EE/connectorclient/resourceadapter.html#code6] facilitates the retrieval of metadata about a ManagedConnection instance and the particular EIS. For supporting information see [The J2EE Connector Architecture's Resource Adapter|http://java.sun.com/developer/technicalArticles/J2EE/connectorclient/resourceadapter.html].

----

The individuals who post here are part of the extended Sun Microsystems community and they might not be employed or in any way formally affiliated with Sun Microsystems. The opinions expressed here are their own, are not necessarily reviewed in advance by anyone but the individual authors, and neither Sun nor any other party necessarily agrees with them.

Copyright 1994-2009 Sun Microsystems, Inc.
Powered by Atlassian Confluence
Sun Guidelines on Public Discourse Privacy Policy Terms of Use Trademarks Site Map Employment Investor Relations Contact