users@glassfish.java.net

Re: Resource Adapters and Application Clients

From: Jagadish Prasath Ramu <Jagadish.Ramu_at_Sun.COM>
Date: Fri, 08 Feb 2008 18:27:30 +0530

On Wed, 2008-02-06 at 20:25 +0000, Stephen Connolly wrote:
> I have been reading the JCA 1.5 spec and I cannot find the answer to
> this question.
>
> We have a resource adapter that does not follow the CCI but provides
> its own connection model as the data model does not fit well with the
> CCI.
>
> Can this resource adapter be accessed from an application client?
>
> I could use a servlet or EJBs to expose the resource adapter but I'd
> rather if I can just access it directly.
>
> From some documentation, it seems I can certainly access JMS resources
> from an application client...
>
> But does it work with resource adapters in general?
Yes, Outbound with no-transaction will work in GlassFish.
>
> If it does, how does it work, does it transfer the resource adapter
> classes to the client machine and start a connection pool on the
> application client's JVM, or does it do some form of remote proxying?
No, resource adapter classes need to be made accessible for the
appclient container (eg: classpath)
A separate connection pool will be created within the Appclient
container's JVM.

Thanks,
-Jagadish
>
> Thanks,
>
> -Stephen