configuration based on java example shop