Sample codes on spring, jdk etc