Connection class and ManagedConnection implementations
Mete Kural <[email protected]> Thu, 5 Feb 2004 12:03:02 +0000
| Newsgroups | gmane.comp.java.sun.connector |
|---|---|
| Message-ID | <[email protected]> |
Hello, I have a question. I want to use the CCI to interface with applications. I'm trying to figure out what code to write in the Connection and ManagedConnection implementations. As I understand ManagedConnection is the physical connection. So what should I put in the Connection class then? Is this a good way to implement a JCA resource adapter: In the ManagedConnection implementation: - write one method for each EIS function that makes requests to the EIS system directly In the Connection implementation: - write one method for each EIS function with the same names as the methods in the ManagedConnection class with each method simply wrapping a call to the method with the same name in the ManagedConnection class (for the ManagedConnection instance that is associated with this Connection instance). In the Interaction implementation: - in the execute method, based on the "FunctionName" attribute call the appropriate method relating to that EIS function in the Connection class associated with this Interaction instance. I really appreciate your help. Thanks much, Mete =========================================================================== To unsubscribe, send email to [email protected] and include in the body of the message "signoff CONNECTOR-INTEREST". For general help, send email to [email protected] and include in the body of the message "help".