Implement bean scope example