Cake database implemented with Cake Pattern in JDK8