There should be a canonical example of using openjms as
a web application. I've built a small example that
some of the examples as a web app and made it work
I'm sure the code and configuration could be improved
but I've attached the code.