Java learnings and samples