JBoss DMR is the cornerstone of the JBoss management module. All the management actions will be translated into the management commands that are encapsulated in the DMR format. The deployment actions used by the deployment scanner or the management console are all translated into the DMR commands at last. For example, when the deployment scanner wants to deploy a project into EAP6, it will send the following JSON-like DMR commands to the deployment module. The following is the trimmed text of the command:
[{ "operation" =>"composite", "address" => [], "steps" => [ { "operation" =>"add", "address" => [("deployment" =>"cluster-demo1.war")], "content" => [{ "path" =>"deployments/cluster-demo1.war", "relative-to" =>"jboss.server.base.dir", }], }, { "operation" =>"deploy", "address" => [("deployment" =>"cluster-demo1.war")] } ] }]
We can see that the deployment scanner...