service bean and patterns