[jboss-dev-forums] [Management Development] - Profiles in domain.xml

Brian Stansberry do-not-reply at jboss.com
Wed Jun 2 16:48:04 EDT 2010


Brian Stansberry [http://community.jboss.org/people/bstansberry%40jboss.com] replied to the discussion

"Profiles in domain.xml"

To view the discussion, visit: http://community.jboss.org/message/545934#545934

--------------------------------------------------------------
I think if elements like threads, security-policy, containers etc exist outside of a server-group (or one if it's children) it should either be because:

1) Whatever the element describes is intrinsically scoped to the domain (e.g. domain-configuration)

or

2) That element serves as a common confiugration that can be referenced by a (child of) server-group, to avoid having to repeat things across multiple server-group elements.

The latter can save a lot of boilerplate in a complex domain, but it's not intuitive. Perhaps such elements should be enclosed in a container element (e.g. "templates") that explains their usage. (I don't like "templates", just haven't thought of anything else.)

I definitely don't think that the presence of something like web-container at the domain level should imply that every server runs a web container.

If we follow David's thinking that a server's capabilities are determined by what the end user deployments required, then the fixed profile notion largely goes away. Then there could be a 3rd usage for things like threads, security-policy, containers, etc:

3) as the default configuration for X if it turns out that deployments in a server-group introduce a requirement for X.

--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/545934#545934]

Start a new discussion in Management Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2107]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20100602/182d207f/attachment.html 


More information about the jboss-dev-forums mailing list