The majority of the code in the ServerContextFactory which is an InitialContextFactory implementation is for firing up the Eve backend subsystem at this point. This is not relavent to what an InitialContextFactory impl should be doing. Yes an InitialContextFactory impl will most likely trigger the firing up of the server but the actually assembly of the backend subsystem is not its concern. What I'm thinking here is creating a factory for assembing the subsystem. This will remove and better isolate this code which is only cluttering up the JNDI provider at the present moment.