Spring’s P Namespace:

Spring’s P namespace is an alternative to using the property tag. By using p namespace, we can perform dependency injection by directly using the attribute of bean tag instead of using the property tag.
The benefits of using p namespace are:
p namespace is more compact than property tag
Using p namespace reduces the amount of XML required in Spring configuration. The size of spring config using p namespace is typically less than one with using property tag.

More at http://www.studytrails.com/frameworks/spring/spring-p-namespace.jsp


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s