A demo showing aspect oriented programming in Java without third party frameworks like Spring AOP.
This example shows a simple library (data model inaccurate) with a REST endpoint for books and a JSF website to create a new reservation. The problem is that there are functionalities spread across different classes (logging is implemented in every service).
at.htl.aopdemo.interceptor.LoggingInterceptor
at.htl.aopdemo.interceptor.MonitoringInterceptor
at.htl.aopdemo.decorators.UmlautLoanService