Re: [jboss-dev-forums] [Management Development] - Domain model work in AS 6.0.0
by Scott Stark
Scott Stark [http://community.jboss.org/people/scott.stark%40jboss.org] replied to the discussion
"Domain model work in AS 6.0.0"
To view the discussion, visit: http://community.jboss.org/message/536650#536650
--------------------------------------------------------------
For the YES, this is my quick overview. Again my concern is having suffucient structure to be able to evolve the domain model, but a sufficiently limited scope in terms of content to be able to have an implementation.
bindingservice.beans - All of the containers/services intersected by this need associated entries in the domain model such that this configuration can be dropped.
login-config.xml,
hornetq-*.properties,
jbossws-*.properties,
jmx-console-*.properties - definitely need a domain model for security stacks and users.
properties-service.xml - Need to define how jvm, system properties are pulled in to control bootstrap and affect other configurations that reference properties.
jboss-logging.xml - I guess this is pretty much pulled into the domain?
*{container}.deployer/.xml,
deploy/hornetq/hornetq-configuration.xml,
thread-pool-j-b.xml - In general, I think we need the following common mappings for containers in the domain metadata:
- thread pools
- clustering groups
- transport stacks
- instance pools
legacy-conf-jboss-service.xml - shouldn't this just be eliminated?
hsqldb-ds.xml, any other resource factory - We need a server resources factory configuration model forthe various standard types.
mod_cluster.sar,
jboss-cache-manager.sar,
jgroups-channel-factory.sar,
deploy-hasingleton-jboss-beans.xml,
farm-deployment-j-b.xml,
hajndi-j-b.xml,
hapartition-jboss-beans.xml, - Need a cluster domain metadata model
jbossweb.sar/server.xml,
ejb3-connectors-j-b.xml,
remoting3-j-b.xml,
remoting-j-b.xml,
xnio-provider.jar - Need a connector/transport domain metadata model
jacorb.properties,
mail-service.xml,
monitoring-service.xml,
schedule-manager-service.xml,
scheduler-service.xml,
juddi-service.sar,
snmp-adaptor.sar,
uuid-key-generator.sar,
monitoring-service.xml,
*-activator-j-b.xml, - I don't see these as being in scope for an initial release
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/536650#536650]
Start a new discussion in Management Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
16 years
Re: [jboss-dev-forums] [Management Development] - To scope or not to scope (domain.xml)
by Scott Stark
Scott Stark [http://community.jboss.org/people/scott.stark%40jboss.org] replied to the discussion
"To scope or not to scope (domain.xml)"
To view the discussion, visit: http://community.jboss.org/message/536640#536640
--------------------------------------------------------------
> Brian Stansberry wrote:
>
>
> > This was what I meant by the cluster-service tag, a way to specify how a group would cluster a particular service (maybe not all services should be clustered). Although it was just something I through out there as an example. A better way likely exists
>
> Currently how we cluster a particular service is defined in that service's configuration, it's not something applied externally. And the details of what needs to be configured are often disparate between different services, so I'm not sure those configs can profitably be externalized into some common configuration element.
>
> Ah, or are you talking about "clustered-service" as a wrapper to describe how to manage the service, e.g. how to (re)deploy across cluster?
But this is something that needs to change in the sense that basic things like what stack the ejb/web/jms/cluster aware container is using has to be a domain level setting that admins control as well as these stacks in terms of an admin clustering DSL. That config is then mapped onto the container metadata that controls the clustering behavior.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/536640#536640]
Start a new discussion in Management Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
16 years
Re: [jboss-dev-forums] [EJB 3.0 Development] - ejb3_1 and its relation with ejb3 bom
by jaikiran pai
jaikiran pai [http://community.jboss.org/people/jaikiran] replied to the discussion
"ejb3_1 and its relation with ejb3 bom"
To view the discussion, visit: http://community.jboss.org/message/536626#536626
--------------------------------------------------------------
> Andrew Rubinger wrote:
>
>
> If the BOM is the parent of the ejb3_1 module, then the ejb3_1 module will have the correct exported dependencies. Now something else, project X, makes a depedendency upon ejb3_1. Any "exclusion"s defined by the BOM will be *ignored*. This is because Project X doesn't have the BOM in its hierarchy. The way around this is to declare in Project X a dependency twice upon ejb3_1; once in "dependencies", once in "dependencyManagement" (with scope import).
>
> S,
> ALR
The project X that I was considering was AS. So we would have something like:
ejb3_1 module pom.xml:
<parent>
<artifactId>bom-as6</artifactId>
<version>0.1.3</version>
</parent>
<artifactId>jboss-ejb3_1</artifactId>
bom-as6 pom.xml:
<artifactId>bom-as6</artifactId>
<dependencyManagement>
<dependency>
<artifactId>jboss-ejb3-core</artifactId>
<version>1.3.2</version>
</dependency>
<!-- rest of the dep management -->
</dependencyManagement>
JBoss AS component-matrix pom.xml (or some module which "imports" the bom)
<dependencyManagement>
<dependency>
<artifactId>bom-as6</artifactId>
<scope>import</scope>
</dependency>
</dependencyManagement>
The AS/ejb3 module pom.xml would add "dependency" on *ejb3_1*
<dependencies>
<dependency>
<artifactId>jboss-ejb3_1</artifactId>
<!-- We don't specify any version here, it will be picked up from bom -->
</dependency>
</dependencies>
But like I said in my previous post, making bom-as6 the parent of ejb3_1 may not work out.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/536626#536626]
Start a new discussion in EJB 3.0 Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
16 years