I was reading folowing lines and I did not understand clearly.
Spring also supports auto proxying driven by metadata. In this type of autoproxying,
the proxy configuration is determined by source-level attributes as opposed
to external configuration (e.g., an XML file). This is quite powerful since it keeps
the AOP metadata with the source code that is being advised, letting you keep
your code and configuration metadata in one place.
The most common use for metadata autoproxying is for declarative transaction
support. Spring provides a powerful framework for declarative transactions
via its AOP framework. This offers the same capabilities as EJB’s declarative transactions.
Because this is such an important feature for enterprise development,
what are different autpoxyings, when why, how we have to use each. and advantages, disadvantages of them.
Any ideas, resources,sample code,links, highly appreciated. thanks in advance.