how todesign automatic grading system online using java

i want to create one web application which creates online grading system for the students.
which displays their grades,marks and ranking ...