Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Drivermanager vs datasource for simple app

 
lisa klag
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a very simple standalone java app that I'm writing. I need to hit the DB to query some values and also get some sequence values. We have some existing code that I'd like to use, but I don't think it will work because it uses a DataSource. I'm not using a web server at all. would it be better just to use a drivermanager and forget about the existing code? or should I figure out how to get a datasource? Can someone help me out with that?

many thanks,
lisa
 
Masoud Kalali
Author
Ranch Hand
Posts: 531
Java Mac OS X Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
there is nothing special in datasource for your simple application , so you can go with a DriverManager scenario.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic