Subject Re: [IB-Java] jca-jdbc driver without jboss
Author David Jencks
On 2002.02.12 14:05:23 -0500 Jeffrey Seaman wrote:
>
> Hello,
>
> Is it possible to use the jca-jdbc driver outside of the JBOSS
> environment
> as a standalone driver connecting to firebird. I am having trouble
> getting
> any xactions to work which is why I guess JBOSS is needed.
>
> Thanks,
>
> Jeff Seaman

Yes. Use the FBDriver class if you like jdbc 1 or FBWrappingDataSource if
you would like a datasource with pooling built in. Consult the tests for
examples of how to use these.

If you want xa transactions you will have to supply a ConnectionManager
class to work with your transaction manager. You might be able to adapt
one of the jboss ones.

The driver should actually work in any app server supporting jca, such as
some versions of weblogic and websphere, and Pramati server, however I
haven't tested it anywhere else.

If you really need xa, I suggest using an app server such as jboss. You
can prune jboss to a small size and it will simplify many aspects of
coding.

david jencks