File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Other Application Frameworks and the fly likes Springs Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Application Frameworks » Other Application Frameworks
Reply Bookmark "Springs" Watch "Springs" New topic
Author

Springs

Ashwini kondapalii
Greenhorn

Joined: Feb 01, 2006
Posts: 1
hello everyone,

I have a doubt about how to configure datasource name in spring application. I am at present working in Xp and i have MS-Access as my database. And how should i retrieve.
help me
Bear Bibeault
Author and opinionated walrus
Marshal

Joined: Jan 10, 2002
Posts: 50691

Moved to the Application Frameworks forum


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
A Kumar
Ranch Hand

Joined: Jul 04, 2004
Posts: 973
Hi,

In a xml file that you deploy in the server....

Iam making use of JNDI here..

<datasources>

<local-tx-datasource>
<jndi-name>Specify the Jndi name</jndi-name>
<connection-url>jdbc dbc river=Microsoft Access Driver (*.mdb);dbq=c:\\XXX.mdb</connection-url>
<driver-class>sun.jdbc.odbc.JdbcOdbcDriver</driver-class>
</local-tx-datasource>

</datasources>

Hope it helps you
 
IntelliJ Java IDE
 
subject: Springs
 
Threads others viewed
WSAD (IBM Universal Test Client) problem
Any body need Voucher. Expiring in 30 June 2006
Posting Density Stastics
I'm using synchronized blocks. Is it valid?
Sun's Free Proficiency Assessment System
developer file tools

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture