web application with a derby embedded in memory database