Monday, August 18, 2008

IOC (Inversion of Control) - An Introduction to Spring

As usually we need Eclipse as IDE. We also need other libraries such as Spring Framework libraries and Jakarta Commons libraries especially commons-logging. Create a project named IoCDemo. In this project create a new folder named lib and move all our libraries into this folder. Create a library properties file, This is my library configuration properties. Make it in your own. Also configure build path our project into these libraries.

Then in source folder make two packages named com.ndung.myspring and com.ndung.main. In com.ndung.myspring create a java interface named and a java class named In source folder create a xml file as configuration of our spring injection named Hello.xml and in package com.ndung.main create a main java class named


We will run this project by using Ant. Create a xml file in this project named build.xml and run this project.



Anonymous said...


can anyone tell me which is the best counter strike guide ? :)...i found this one :

What do you nigh harshly it ?

Thanx in advance

Sorry for my bad english :s

Anonymous said...

hello ppl. I'm really into shoes and I was searching for the sake of that exact brand. The prices due to the fact that the shoes are around 230 pounds on every site. But definitively I set this location selling them for the benefit of half price. I in reality love those [url=]gucci sneakers[/url]. I will absolutely buy these. what can you say about it?