Tiny java layer to request spark services