Skip to content

Nixfo/kata-design-pattern-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Java Design Pattern Proxy Kata

Problem

The business object is a Contract containing several attributes. The ContractService is currently fetching the data from a simulated database, which takes some time to get the data. Implements the pattern Proxy to cache.

In a second time, we want to restrict the access of a Contract only if the Contract has not expired, that is to say the end date is before today. Implements the pattern Proxy to restrict the access of the resource according to this rule.

Solution

Solution is under the package solution. Classes under this package are prefixed with the symbol ɵ to disable IDE autocompletion.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages