} catch (Exception e) {
System.err.println("Unable to invoke EJB deployer");
e.printStackTrace();
}
} else if(dObj.getType().equals(ModuleType.RAR)) {
return new RARConfigurer().createConfiguration(dObj);
} else if(dObj.getType().equals(ModuleType.WAR)) {
return new WARConfigurer().createConfiguration(dObj); // this is jetty
// todo: Tomcat WARConfigurer
}
throw new InvalidModuleException("Not supported");