I have created a project in MyEclipse for Spring, added Spring capabilities, added a CRUD and Web Service, they work.
Now I created my own class and want to use the same DAO that my service does.
If I declare a variable for the DAO in my class, like it is declared in the service, it is just null.
@Resource(name=”LogDAO”)
private LogDAO logDAO;
How do I declare and/or wireup, the DAO in my own class, so I can use it like I do in the service?
Thanks