on 2/5/01 4:41 PM, "David Sean Taylor" <[EMAIL PROTECTED]>
wrote:
> So can I do something like this now?
>
> Context ctx = new InitialContext();
> DataSource ds = (DataSource)ctx.lookup("jdbc/jetspeedDB");
> Connection con = ds.getConnection( .... // this would actually be the
> pooled connection
I have no idea, all I know is that I'm implementing the interfaces now. :-)
I don't actually use JNDI as I haven't needed to get a Connection from a
remote provider or see a reason to need to do something like that. :-(
> Are connection strings still stored in the TR.P?
Yep.
-jon
--
If you come from a Perl or PHP background, JSP is a way to take
your pain to new levels. --Anonymous
<http://jakarta.apache.org/velocity/> | <http://java.apache.org/turbine/>
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/[email protected]/>
List Help?: [EMAIL PROTECTED]
- RE: Connection Pooling in Turbine -> J2EE David Sean Taylor
- Re: Connection Pooling in Turbine -> J2EE Jon Stevens
- RE: Connection Pooling in Turbine -> J2EE David Sean Taylor
- Re: Connection Pooling in Turbine -> J2E... Jon Stevens
- Re: Connection Pooling in Turbine -> J2EE Johnny Cass
- Re: Connection Pooling in Turbine -> J2E... Jon Stevens
- About jsp vc pull (off topic, long and evan... Santiago Gala
- Re: Connection Pooling in Turbine -> J2E... ingo schuster
- Re: Connection Pooling in Turbine ->... Jon Stevens
- RE: Connection Pooling in Turbine -> J2EE David Sean Taylor
- Re: Connection Pooling in Turbine -> J2EE Jon Stevens
- Re: Connection Pooling in Turbine -> J2EE Mica Davis
- RE: Connection Pooling in Turbine -> J2EE Josep Vela
- Re: Connection Pooling in Turbine -> J2E... Jon Stevens
- Re: Connection Pooling in Turbine -> J2EE Jon Stevens
- Re: Connection Pooling in Turbine -> J2EE Ethan Adams
- Re: Connection Pooling in Turbine -> J2EE Jon Stevens
- Re: Connection Pooling in Turbine -> J2EE Sam Ruby
- Re: Connection Pooling in Turbine -> J2EE Jon Stevens
