Java Web Application for friends