This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I am using DWR for the first time so cant figure out why datasource is null.I tried different things wont wont work.
DWR works without using DB calls and some dummy data but i use SimpleJdbcTemplate and add dataSource...I get exception.
All my DAO classes extend AbstractDataAccess class ...which sets dataSource and i tried extending my Bean to that also but dint help .I can change the design little bit if suggested.
Besides that i get so much confused about configuration of DWR if i should use dwr.xml or applicationContext.xml for configuration or both and different websites mention different things .
And what is the different and application.Context.xml configuration for dwr alone didnt work for me so iadded dwr.xml.