• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

DataSource in stand alone javafile?

 
Seetharaman Venkatasamy
Ranch Hand
Posts: 5575
Eclipse IDE Java Windows XP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

can we use DataSource in stand alone( there is no web server or web container) java class?

can anybody can explain me?

Thanks & Regards,
seetharaman.v
 
Jan Cumps
Bartender
Posts: 2599
12
C++ Linux Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes. You can use a DataSource in a standalone application.
The Apache commons dbcp project has several examples, like this one.

Regards, Jan
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic