.withMaxAge(1, TimeUnit.DAYS)
.withIdleTimeout(30, TimeUnit.MINUTES)
.withSweepInterval(3, TimeUnit.MINUTES)
);
serverContext.createResource(new DataSourceBuilder()
.id("FooDataSource")
.withJtaManaged(true)
.withJdbcDriver("org.hsqldb.jdbcDriver")
.withJdbcUrl(new URI("jdbc:hsqldb:mem:hsqldb"))
.withAccessToUnderlyingConnectionAllowed(false)