Hi,

Really new to Spring - and have tried to work through the Spring Ref Docs (esp. Section 3) - and I'm getting nowhere fast! There is so much to know about beans etc (also not something I am too used too yet).

I am trying to adapt the following example code I found below to work with the Oracle Driver:

Code:
OracleDao dao = new OracleDao();
			DriverManagerDataSource dataSource = new DriverManagerDataSource();
			dataSource.setDriverClassName("org.apache.derby.jdbc.EmbeddedDriver");
			dataSource.setUrl("jdbc:derby:c:\\temp\\database\\test01;create=false");
			dataSource.setUsername("");
			dataSource.setPassword("");

			// Inject the datasource into the dao
			dao.setDataSource(dataSource);
So ignore the Derby stuff -I think this kind of thing can be wired up in a configuration XML file, which I think is stored in WEB-INF folder - can somone explain how you do that step and how it is you wire that up to some java code?

However I might be totally wrong in my thinking here - so apologies.

Many thanks