API:Client code/Java/da