java maven based web app that handles device readings