The bean definition contains the information called configuration metadata which is needed for
the container to know the followings:
How to create a bean
Bean's lifecycle details
Bean's dependencies
How do you provide configuration metadata to the Spring Container?
There are following three important methods to provide configuration metadata to the Spring
Container:
XML based configuration file.
Annotation-based configuration
Java-based configuration
No comments:
Post a Comment