Re: JCA in a non-managed environment
Venkat Amirisetty <[email protected]> Tue, 14 Jan 2003 15:53:04 -0800
| Newsgroups | gmane.comp.java.sun.connector |
|---|---|
| Message-ID | <[email protected]> |
Try Sun ONE Connector Builder 2.0
<http://wwws.sun.com/software/products/connector_builder/home_connector_builder.html>.
It provides non-managed support for the adapters it generates. It
includes a File based JNDI implementation and command line tools for
adapter deployment. It also includes a pool implementation for optimal
resource utilization. These tools should work for other compliant
adapters too.
If not, as Jon suggests, you always have an option to instantiate
ConnectionFactory and use it directly.
--Venkat
Jon Dart wrote:
> At 10:01 PM 1/13/03 -0500, David Jencks wrote:
>
>> Whatever that piece of the spec is trying to communicate (perhaps
>> rather unsucessfully), I'm sure it is not suggesting that a connector
>> needs to include a jndi implementation nor a jca deployment mechanism,
>> which is the way the ConnectionFactory would get into jndi in the first
>> place.
>
>
> I don't think it should suggest this, either, but evidently it does, at
> least to some readers. Note that if you are using the servlet
> container of
> a full-featured J2EE application server, you probably could register the
> connector into JNDI (with an appropriate tool), and use the recommended
> procedure in the non-managed client (servlet) of looking up the
> ConnectionFactory in JNDI. But in general, in the J2SE environment, I
> don't
> think you can't assume this is possible.
>
> This is why TIBCO's connector implementation allows direct
> construction of
> the ConnectionFactory instance in the non-managed environment. I have
> limited experience with other connectors, but IBM's connector for CICS
> apparently does the same thing.
>
> --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".