Java library with web application basics