Marakana's advanced java examples