real resource adapter example with example web application using the resource