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 here:
developers.sun.com/.../resource_adapters\
.html?ssobm=yg