java application to view data in database of student and faculty