java code for a web-based community resources search application