[jboss-dev-forums] [JBoss AS7 Development] - using BatchBuilder for deploying services on startup

Alexey Loubyansky do-not-reply at jboss.com
Wed Aug 18 09:17:48 EDT 2010


Alexey Loubyansky [http://community.jboss.org/people/alex.loubyansky%40jboss.com] created the discussion

"using BatchBuilder for deploying services on startup"

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

--------------------------------------------------------------
This is what we currently do, i.e. deployments listed in standalone/domain xml are added to BatchBuilder. BatchBuilder is supposed to treat services added to the batch as one deployment, i.e., as I understand, deploy all of them or none if at least one of the services failed.

We touched upon a question (in another thread) whether the server should fail to start if one of its deployments failed. It was decided that the error should be logged but the server continue deploying other services. In this case, we shouldn't use BatchBuilder during server start-up the way we do now.

Or perhaps the concept of BatchBuilder should be advanced and a few different implementations should be provided, e.g.
- if any of the deployments fail then fail the whole batch;
- if some specific of the deployments fail then fail the whole batch;
- each deployment isolated and has no affect on others (kind of a fake batch or no batch).

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

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

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20100818/7ca5b404/attachment.html 


More information about the jboss-dev-forums mailing list