[jboss-dev-forums] [JBoss AS7 Development] - Thoughts on hot deployment

Dimitris Andreadis do-not-reply at jboss.com
Tue Aug 31 04:59:13 EDT 2010


Dimitris Andreadis [http://community.jboss.org/people/dimitris%40jboss.org] replied to the discussion

"Thoughts on hot deployment"

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

--------------------------------------------------------------
What is the rationale for the .deployed marker? It's really counter-intuitive. Just make a copy to avoid locking/classloading issues and leave the original in place.

Also, for exploded deployments have a different META-INF/jboss-deploy marker to trigger the deployment? Counter-intuitive as well. The whole idea with the ./deploy dir (or whatever is called) is you look there and you know what gets deployed, you don't need to traverse directories to find out. Or unzip something and it gets deployed, no need for extra files.

IMO the AS4 model of hot-deployment (no VFS) was the most practival and successful. People knew that to avoid the "early deployment" problem for large or nested deployments they just have to do an atomic filesystem mv. Through stuff in and it just gets deployed, no markers or any other type of magic. I don't see why we need to re-discover the wheel.

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

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

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/20100831/205e1015/attachment.html 


More information about the jboss-dev-forums mailing list