java utilities and samples