Some Core Java & Java EE Sample code