Details
-
Wish
-
Status: Closed
-
Minor
-
Resolution: Not A Problem
-
4.7.0
-
None
Description
I think it would be great if for OpenEJB standalone, we didn't require an openejb.xml | openejb.json file to be in the conf folder. If there isn't any, then no openejb.xml should be created automatically either. At present you can configure everything via a properties file (system.properties) sitting in the conf folder except for one thing; The Deployments tag. If the deployments directory is not set, then OpenEJB will not scan the apps folder (I think by default it should scan the special name 'apps' or 'webapps' anyway).
In summary:
1) Do not require openejb.xml | .json (and do not produce one automatically if none is present)
2) Add the ability to configure the Deployments as a system property.