Java library with common web stuff