JBoss doesn't ship with a TCP connector, however, you can take a look at the connector project specifically in the
to see how a JCA works under the hood. The concept are basically the same for all types of adapters. Pooling, security etc is done for you so a majority of what you will usually need in terms of management comes 'out of the box'. Also, our testsuite has examples of a few types of adapters as well.
Sorry for putting such a old thread back to life, but the topic fits perfectly.
I also want to wrap a TCP/IP legacy connection in JCA resource adapter - unfortunately there are only examples how to connect to several EISes with existing APIs...
It would be nice, if someone can give example/links/hints...
Look at the attached sample application which come with the Jboss Documentation Guide .
This is file based EIS sample application .
You would need to include the TCP/IP related stuff .