Take source of harviewer and replace php with jsp. Configured packaging to self executable war