Lots of java stuff

Most of this java stuff is for the database coding