To implement createConnectionFactory([b]ConnectionManager[/b]), you only have to return a new instance of your connection factory class:
[code]
public Object createConnectionFactory(ConnectionManager cm)
throws ResourceException {
{
return new com.ra.ConnectionFactoryImpl(this, cm);
}
[/code]
I don't speak english and It's difficult for me to explain how to implement ALL mandatory interfaces. But for other implementation details, I would recommend you to download "J2EE Connector Architecture 1.0.1 Sample Source" from "http://java.sun.com/j2ee/sdk_1.3/".
(althought I haven't tried the sample with Glassfish, the "cciblackbox" adapter seems a good example for CCI).
You may also want to read these tutorials and examples: