API:Client code/Java/es