java main blog post