[jboss-dev-forums] [Management Development] - To scope or not to scope (domain.xml)

Brian Stansberry do-not-reply at jboss.com
Thu Apr 8 14:54:57 EDT 2010


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

"To scope or not to scope (domain.xml)"

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

--------------------------------------------------------------
> Jason Greene wrote:
> 
> Jason Greene wrote:> > When you think about it, a server-group, and a cluster are really the same thing, the only difference is that the cluster has an additional set of services that a basic group does not.
> > 
> > Yes, but isn't the set of capabilities that a server has defined by its profile? We could say that defining a server as part of a cluster means that additional capabilities are added beyond what's in the profile. But then we are dividing the definition of a profile into two places. Also, exactly what capabilities should be added if a server is in a cluster is unclear.
> 
> I think this depends on the definition of a profile. To me our previous definition of profile focused much more on internal implementation details (how to build a server with ejb3 (which jars etc)). When I look at the domain model I am looking at it from a configuration standpoint. Specifying things like "jndi should be clustered on port blah blah blah". There should be a thread pool with X threads, etc 

The part of our existing profile discussion I was thinking of was what's shown here:  http://community.jboss.org/docs/DOC-14742 http://community.jboss.org/docs/DOC-14742. Basically a fairly compact listing of required capabilities, an indication of where a deploy directory is (which could perhaps be defaulted). Then add stuff like jdbc-resources, jms-resources, threads, etc. That's pretty end-user-oriented; the heavy implementation detail stuff is in  http://community.jboss.org/docs/DOC-14743 http://community.jboss.org/docs/DOC-14743.

If we didn't need the required capabilities bit (e.g. could infer them from the rest of domain.xml content), that's nice. But I don't know if we can do that, not if we allow a deploy dir with contents not fully specified in domain.xml.

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

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

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/20100408/16d12412/attachment.html 


More information about the jboss-dev-forums mailing list