[jboss-dev-forums] [Design of POJO Server] - Deployment heuristics - all or nothing

adrian@jboss.org do-not-reply at jboss.com
Thu Jul 26 11:31:20 EDT 2007


Since I've stalled on the AOP classloader testing until Kabir gets back from holiday:

I've added support for "All or Nothing" deployment heuristics.

This is something that has never been in the deployers before
(either old or new).

The basic idea is that if any subdeployment or component throws an
error during deployment, the whole deployment is undeployed with the
deployment in error marked as ERROR.

Actually, the way it is currently implemented, the top level deployment is also
marked as ERROR, but I don't think this should cause problems?

With these changes it should also be easy to add other heuristics
like "Russian Doll" and ordering of child subdeployments.

Unlike this JIRA task:
http://jira.jboss.com/jira/browse/JBMICROCONT-168
I think the ordering of children should be left to the structure deployers to decide
and the "Russian Doll" should be specified by each deployer,
i.e. some want to start from the top level (like the classloader)
and others like the mbean/pojo deployers can do Russion Doll,
i.e. deploy components from subdeployments first.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4067867#4067867

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4067867



More information about the jboss-dev-forums mailing list