Naming naming = new Jsr77Naming();
AbstractName applicationName = naming.createRootName(new Artifact("test", "stuff", "", "ear"), "app", NameFactory.J2EE_APPLICATION) ;
AbstractName coffeeName = naming.createChildName(applicationName, coffee, NameFactory.EJB_MODULE);
coffee_peaberry = naming.createChildName(coffeeName, "peaberry", NameFactory.STATELESS_SESSION_BEAN);
coffee_java = naming.createChildName(coffeeName, "java", NameFactory.STATELESS_SESSION_BEAN);
AbstractName languageName = naming.createChildName(applicationName, language, NameFactory.EJB_MODULE);
language_lisp = naming.createChildName(languageName, "lisp", NameFactory.STATELESS_SESSION_BEAN);
language_java = naming.createChildName(languageName, "java", NameFactory.STATELESS_SESSION_BEAN);