[Design of POJO Server] - Re: ProfileService kickoff
by scott.stark@jboss.org
This is what I was trying to drill into as well. The profile service is the service that returns the managment interface it obtains from the deployment by parsing it, and when updates are done, its done via a crud view of the profile service. There are different ways this can be handled. What we talked about was:
1. The profile service runs the deployment through the the deployment chain up to the metadata parsing phase to obtain the deployment specified metadata. This is why its important for component deployers to properly separate metadata parsing into stages. This is stored as an attachment associated with the deployment in the repository.
2. When there is an update via the crud interface, the profile service takes this metadata, clones it, and applies the managed object changes to it. This is stored as an override in the repository.
3. When the profile service is asked for the DeploymentContexts associated with a DeplomentUnit, it attaches the approriate metadata as a predetermined attachment.
4. A deployer querying DeploymentUnit.getAttachment will see the overriden, predetermined instance.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3992367#3992367
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992367
18 years, 1 month
[Design of POJO Server] - Re: JACC: Policy Configuration needs to be linked with child
by scott.stark@jboss.org
"anil.saldhana(a)jboss.com" wrote : I am asking a generic question (not related to security deployer for jacc).
|
| jboss.xml supports "depends" tag - has a schema file.
| jboss-web.xml does not support "depends" tag. Just has a dtd file.
| jboss-app.xml does not support "depends" tag. Has a dtd file.
|
jboss-web.xml does support a depends element.
jboss-app.xml does not support depends because its not a component deployment. Its more of a packing notion. Anything needing a dependency in an ear would have its own depends support in its descriptor.
In terms of dtd vs schema, everything should be moved to schemas.
In general the need for depends is a hack around not having proper dependency associated by the component deployer. If I reference a jndi resource, a dependency on the provider of that binding should be created by the container that resolves the reference. ejb3 has started doing this for injections.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3992356#3992356
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992356
18 years, 1 month