| Author |
Connection using DataSource
|
Krishan Chauhan
Ranch Hand
Joined: Mar 12, 2008
Posts: 32
|
|
Hi All Could any one tell me how to connect to Database using DataSource in a standalone application and why is it preffered way over Driver Manager? Is it possible to achieve this without JNDI? Thanks
|
 |
Scott Selikoff
Saloon Keeper
Joined: Oct 23, 2005
Posts: 3652
|
|
Data sources are nice because they can be managed in the administration console of the server, rather than in the source code or some text file. How you set them up, though, is server platform dependent. Often time there are XML files you can use to configure them. [ March 23, 2008: Message edited by: Scott Selikoff ]
|
My Blog: Down Home Country Coding with Scott Selikoff
|
 |
 |
|
|
subject: Connection using DataSource
|
|
|