Professional Documents
Culture Documents
AOP Introduction
AOP Introduction
These external services are also called cross-cutting concerns because they can be
applied across the Java ee web application.
They could be applied by a DAO layer.
Services layer and UI layer for example logging whatever is happening in our
application logging it to
a log file can be applied across these layers.
We might want to send out an e-mail. And also we want to log whatever is happening
in our services class into a log file.
All of these services can be simply used through aspect oriented programming.
So without modifying these methods here and the code inside them all these services
like transaction
management send email and logging could be used by this Services class. They can be
applied to the services class using Aspect Oriented Programming.