Re: JCA in a non-managed environment

Jon Dart <[email protected]> Mon, 13 Jan 2003 09:33:39 -0800
Newsgroups gmane.comp.java.sun.connector
Message-ID <[email protected]>
At 02:42 PM 1/12/03 +0100, Johan Eltes wrote:
> > The specification states
> > unambiguously that a connection factory should be
> > obtained via a JNDI lookup in both a managed and a
> > non-manged scenario.  This is fine; the goal is
> > obviously to maintain a consistent client programming
> > model.

I don't think it's required that this be the only way to access your
factory class. You could also allow users to directly instantiate the
factory class instead of getting it indirectly from JNDI. This would allow
you to run in an environment in which you don't have a suitable JNDI provider.

--Jon

===========================================================================
To unsubscribe, send email to [email protected] and include in the body
of the message "signoff CONNECTOR-INTEREST".  For general help, send email to
[email protected] and include in the body of the message "help".