Integrating the current juddi could be a lot of work. It's a non-enterprise jpa web app that uses PersistenceManager.getEntityManager() rather than EntityManagerFactory.getEntityManager(). Assembly of the Registry looks like it might be difficult to disentangle. Some jpa use seems to be runtime in web service calls, and some seems to be at startup to set up the Registry object. ee DI should work for the web services. For the other uses I think we'll need to use ee DI into a listener or servlet (currently a servlet is used) and pass the emf into the components that need it.