After touching these two concepts, the head is often confused, and many of the information is not clear, even confused. After learning spring, only to find that these two concepts are different periods of the spring core thinking of the description, here is not much to say, there are many online information. Spring is always indefinitely before you know the two concepts, and it's finally clear today.
Simple:
IOC control inversion: What is said is that the control of creating an object instance is stripped from the code control to the IOC container control, which is actually what you control in the XML file, focusing on the principle.
Di Dependency Injection: When an object instance is created, an attribute value or other object instance is injected for that object, focusing on implementation.
They are a description of different aspects of spring's core thinking.