Spring AOP

An Enterprise Application has many components and each performing its own function.Some times one component has to perform the function of another like logging,Security,transaction Management all goes into different component to manage.These are called Cross cutting Concerns as they cut into other functionality.

AOP Helps us to make these functionalists a different layer and these layer can be applied declaratively.So we add an Aspect to a functionality whose responsibilty is to do its job.

The Acegi security system uses Spring’s AOP support as the foundation of a framework that adds declarative security to Spring-enabled applications

Comments

Popular posts from this blog

'jasypt.encryptor.password' or one of ['jasypt.encryptor.privateKeyString', 'jasypt.encryptor.privateKeyLocation'] must be provided for Password-based or Asymmetric encryption

Field or property 'jobParameters' cannot be found on object of type 'org.springframework.beans.factory.config.BeanExpressionContext' - Spring Batch

Couldn't store job: Unable to serialize JobDataMap for insertion into database because the value of property 'jobLauncher' is not serializable