if (deploymentImpl == null) {
deploymentImpl = new DeploymentImpl(archive, ejbs, context);
// Add services
TransactionServices transactionServices = new TransactionServicesImpl(services);
deploymentImpl.getServices().add(TransactionServices.class, transactionServices);
ValidationServices validationServices = new ValidationServicesImpl();
deploymentImpl.getServices().add(ValidationServices.class, validationServices);