users@glassfish.java.net

Re: how to look up a resource adapter

From: Rama Sundari <sundari.drs_at_gmail.com>
Date: Mon, 1 Sep 2008 09:58:57 +0530

hii..
thanku soo much for your help..
i will make use of all the resources ..
once again tahnk u..

-rama.


On 8/31/08, glassfish_at_javadesktop.org <glassfish_at_javadesktop.org> wrote:
>
> Hi,
>
> 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:
>
> CCI connector:
>
> http://java.sun.com/developer/technicalArticles/J2EE/connectorclient/resourceadapter.html
> (but it doesn't cover the "Interaction" interface).
>
> DataSource connector:
> http://www.javaworld.com/javaworld/jw-02-2002/jw-0201-jca2.html
>
> Custom interface connector:
> http://www.oracle.com/technology/pub/articles/prabhu_jca.html
> and the "mailconnector" JCA 1.5 adapter example from J2EE 1.4 Tutorial
> samples.
>
>
> Good luck.
> [Message sent by forum member 'jmarine' (jmarine)]
>
> http://forums.java.net/jive/thread.jspa?messageID=296411
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>


-- 
Thanks,
Rama Sundari.