Java Example API