There is a Struts-Hibernate application where I tried to introduce spring IOC and it worked fine. I want to know whether this way of using this is advisable? This is what I did: The DAO object in
struts action class which was created with new operator , I replaced this with just creating reference and creating a Settor for it. I defined this in applicationcontext.xml. This way DAO is getting set using Spring IOC. My functionality is working fine but is it advisable to use Spring IOC here as I had done?
thanks