java tech samples