WebSphere Application Server - Connection Pool

This is Interesting: Free IT Magazines  
Home > Archive > WebSphere Application Server > May 2005 > Connection Pool





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Connection Pool
ronaldo

2005-05-09, 8:49 pm

Can anyone tell me how can I call the websphere server's connection pool ?

Also, can I use the same coding for both WAS 4.0 and WAS 6.0 server?

thank you very much


Dave Milne

2005-05-12, 5:53 pm

When you say "call" it, what did you have in mind ?
If you mean get a connection, you do something like

InitialContext myInitialContext = new InitialContext();
Connection myConn = (Connection)
myInitialContext.lookup("java:comp/env/myDataSourceName");

Dave


"ronaldo" <cstsang@joymail.com> wrote in message
news:d5oua8$3bno$1@news.boulder.ibm.com...
> Can anyone tell me how can I call the websphere server's connection pool ?
>
> Also, can I use the same coding for both WAS 4.0 and WAS 6.0 server?
>
> thank you very much
>
>



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com