I need to start EJB container in embedded mode to load JPA Entities
and create tables. The problem I am facing is that it loads any EJBs
in the classpath. I am trying to prevent loading and deploying these
EJBs by the following:
properties.put("openejb.exclude-include.order", "include-exclude");
properties.put("openejb.deployments.classpath.include", "");
properties.put("openejb.deployments.classpath.exclude", ".*");
properties.put("openejb.deployments.classpath ", false);
Still no luck. Is there a way to prevent auto deployment ??
Thank you.