• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Connection using DataSource

 
Krishan Chauhan
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
author
Saloon Keeper
Posts: 4031
18
Eclipse IDE Flex Google Web Toolkit
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic