Services for Java sample app