An in-memory JNDI context. An EphemeralContext is a lightweight JNDI Context which exists only in memory. It can be preloaded with objects from an XML description, and can be modified afterward in the usual JNDI fashion. All changes to the initial content are forgotten when the Context is destroyed.
Working code exists and is in production use. I intend to flesh it out with additional common object types.