spring example

hi,


I am looking below spring example

http://www.dzone.com/tutorials/java/spring/spring-ioc-1.html

I have not understood clearly below lines
>>Let's have a look at the class diagram of this example. The green arrows indicate generalization and the blue arrows indicates association.



what is the difference between generalization and association

>>Here the component only needs to choose a way to accept the resources and the container will deliver the resource to the components.

what is the component and what is resource nd what is contrainer(is it is spring container or web container)

>>After making all the changes, the class diagram of the example look like this.



How the class diagram was different from previous diagram and what are the main changes for that in genralization and association after addign spring. How to understand, make the changes to class diagram.

Please advise.


Any links resources ideas highly appreciated. Thanks in advance
LVL 7
gudii9Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

girionisCommented:
what is the difference between generalization and association

UML basic annotations.

what is the component and what is resource nd what is contrainer(is it is spring container or web container)

The component is a class, the resource is another object that will be injected to the class. The container is the Spring API.

How the class diagram was different from previous diagram

The container is added which is used to inject objects.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Java EE

From novice to tech pro — start learning today.