Example-On-P-Namespace

"P-Namespace" is a short-form of Setter Injection. If we want to inject 5 properties using setter injection we need to write 5 <property/> tags, makes the configuration lengthy. Instead we can use "P-Namespace" as an attribute.
Read More

Example On BeanScope Using prototype

Here we are going to use spring provided Bean Scope to Understand how to implement Prototype Scope in our projects. Bean Scopes allows us to take control of creating beans objects. There are some scopes provided by spring people:
Read More

Example On BeanScope.

Here we are going to use spring provided Bean Scope to Understand how to implement Bean Scope in our projects. Bean Scopes allows us to take control of creating beans objects. There are some scopes provided by spring people: ...
Read More

Example On BeanAlias

Here we are going to use spring provided BeanAlias to manage the dependency between classes. BeanAlias allows us to keep more than one name of the same bean.
Read More

IDRef Using Setter

Here we are going to use spring provided IDRef to manage the dependency between classes using setter. IDRef deals with injecting dependencies to target classes using Id of bean.
Read More