How to inspect the content of the INMEMORY H2 database in JBoss AS

The JBoss application server has an internal inmemory H2 database .

This database is not available from external, so when using this database
you can not check what's in the database.

Now I read about a JBoss Developer Framework which has a lot of tutorials and this contains a H2Console, which allows to inspect and query the
inmemory database.

It is deployed as a webarchive and can be reached via
http://localhost:8080/h2console