Creating Resource Adapters with J2EE Connector Architecture 1.5
This paper illustrates new features–for example, inbound messaging
and work management APIs–in J2EE Connector Architecture 1.5 by
describing how to build a resource adapter to enable access to email
servers from client components of J2EE 1.4 application servers.
Read about it out here:
http://developers.sun.com/prodtech/appserver/reference/techart/resource_adapters.html