WPSocialNetwork is a project mainly written in Java, it's free.
Demonstrating JSP + Servlets. Uses plain text files for storing data.
404: Not Found