JavaServices example demonstrating use of database service from Java for server-side valiation and dependecy injection