Skip to content
This repository has been archived by the owner on Jun 26, 2021. It is now read-only.
/ aopdemo Public archive

A demo showing aspect oriented programming in Java

Notifications You must be signed in to change notification settings

ammerzon/aopdemo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AOP Demo in Java

A demo showing aspect oriented programming in Java without third party frameworks like Spring AOP.

Before

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).

Goal

Interceptors

  • at.htl.aopdemo.interceptor.LoggingInterceptor
  • at.htl.aopdemo.interceptor.MonitoringInterceptor

Decorators

  • at.htl.aopdemo.decorators.UmlautLoanService

About

A demo showing aspect oriented programming in Java

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published