Java language API library and examples