Getting started with some initial work on the domain configuration i might just share a
few thoughts.
In case of the domain model it maybe doesn't make much sense using something like
JAXB, as it requires all metadata classes available on the bootstrap classpath - which
somehow contradicts any modularization effort. Also having other projects built on top of
AS to modify some bootstrap descriptors might not be what we want.
Since the domain configuration is the view which is going to be exposed over the
managemend domain - we thought of a direct mapping between elements in the xml and the
exposed ManagedObjects. So we should be able to use this mapping to populate ManagedObject
as well. The question is how it gets mapped to the component's deployment
descriptors.
A different problem of this configuration is that it's component oriented. Unlike in
AS5 where we have a mapping from the deployment to a component. Since ProfileService does
not know which deployment contains which component we won't be able to push a
deployment descriptor into the deployers.
In general there are two different use cases of configuration:
1) overriding existing deployment descriptors (a sort of component-ref)
- 1.1) which could also include saying not to deploy a component
2) defining new components without a deployment (e.g. DataSources)
Additionally we should support value transformation, given the use case of
ServiceBindingManager (ports-default, ports01). There was also a discussion about
declaring thread-pools in there, which would need to create a component and then a for
the specified service.
In the end i see the main difficulty in getting all the different meta data, deployers and
container implementation integrated. We have this issue with ProfileService in AS5 to a
certain extend already, so we should think of a better way to handle this integration.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261458#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...