application.setClassLoader(ejbClassLoader);
archivist.setDescriptor(application);
// let's check for optional dependencies
if (!archivist.performOptionalPkgDependenciesCheck(in)) {
throw new IASDeploymentException(localStrings.getString("enterprise.deployment.backend.archive_opt_dep_not_satisfied", new Object[] {in.getArchiveUri()}));
}
archivist.validate(ejbClassLoader);