Added more java examples