*/
public Deployer(File jarFile, PrintWriter out, Reader in) throws IllegalStateException, IllegalArgumentException {
context.out = out;
context.in = in instanceof BufferedReader ? (BufferedReader)in : new BufferedReader(in);
if(jarFile.getName().endsWith(".jar")) {
context.moduleInfo = new EJBJARInfo(context);
} else if(jarFile.getName().endsWith(".war")) {
context.moduleInfo = new WARInfo(context);
} else {
throw new IllegalArgumentException("Expecting file name to end in .jar or .war");
}