Take it in very small steps, sun provides good documentation once you figure out how to read it (it is a bit of a chore, escecially if you don't know the function name). Files and databases are pretty easy to work with as well. If you can list the exact requirements I can point you in the right direction and possibly give you examples you can work from.