[ 
https://issues.apache.org/jira/browse/OFBIZ-11100?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mathieu Lirzin updated OFBIZ-11100:
-----------------------------------
    Description: 
To extend the containers loaded on startup, it is possible define a
container element either in the global “ofbiz-containers.xml” file or in
the “ofbiz-component.xml” file from each component.

This redundancy adds extra complexity in the startup process for no good
extensibility reason.  The component container loader is more flexible
since it allows developper to add new containers without touching the
framework so it is better to only rely on this option.

In order to simplify the startup process I am proposing to remove the
"ofbiz-containers.xml" config file and hard-code the required base
container which is loading the components which is currently defined in
this file.

  was:
To extend the containers loaded on startup, it is possible to both
edit the “ofbiz-containers.xml” file and alternatively define a
container in a component.

This redundancy adds extra complexity in the startup process for no
good extensibility reason. The component container loader is more
flexible since it allows developper to add new containers without
touching the framework so it is better to only rely on this option.

In order to simplify the startup process I am proposing to remove the 
"ofbiz-containers.xml" config file and hard-code the required component 
container which is defined in this file.


> Remove support for "ofbiz-containers.xml"
> -----------------------------------------
>
>                 Key: OFBIZ-11100
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-11100
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>    Affects Versions: Trunk
>            Reporter: Mathieu Lirzin
>            Assignee: Mathieu Lirzin
>            Priority: Major
>         Attachments: 
> OFBIZ-11100_Deprecate-ContainerConfig-getConfiguration.patch, 
> OFBIZ-11100_Remove-support-for-ofbiz-containers.xml.patch
>
>
> To extend the containers loaded on startup, it is possible define a
> container element either in the global “ofbiz-containers.xml” file or in
> the “ofbiz-component.xml” file from each component.
> This redundancy adds extra complexity in the startup process for no good
> extensibility reason.  The component container loader is more flexible
> since it allows developper to add new containers without touching the
> framework so it is better to only rely on this option.
> In order to simplify the startup process I am proposing to remove the
> "ofbiz-containers.xml" config file and hard-code the required base
> container which is loading the components which is currently defined in
> this file.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to