----- Original Message ----- 
From: "Chidambara, Vinoth (CTS)" <[EMAIL PROTECTED]>
> I am using JBoss 2.1,winodows NT Server,Sybase Sql Server.
> I have deployed a bean which connects to the database.Actually
> am getting connection like this
> 
> Context ctx = new InitialContext();
>             DataSource ds = (DataSource)ctx.lookup("java:/TryDB");
>         con = ds.getConnection();
> 
> Instead of getting connection like this I need to get a connection
> from connection pool.Since we have a situation like this, we need
> to deploy a bean in JBoss for development purpose and atlast 
> we have to deploy that bean to weblogic..

A DataSource *is* a connection pool mechanism.

jim



--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]

Reply via email to