**TODO** detail the customizations to the Andromda files to support the connection to the Glassfish container from a JUnit test.
Add the following to the ServiceDelegate.vsl file for Andromda.
Properties prop = new Properties();
prop.setProperty("java.naming.factory.initial", "com.sun.enterprise.naming.impl.SerialInitContextFactory");
prop.setProperty("java.naming.factory.url.pkgs", "com.sun.enterprise.naming");
prop.setProperty("java.naming.factory.state", "com.sun.corba.ee.impl.presentation.rmi.JNDIStateFactoryImpl");
this.setProperties(prop);
No comments:
Post a Comment