Good question. You do not say which version of JBoss you are talking about (v4 and v5 are as different as chalk and cheese), so I will consider JBoss 4.x. There may be some similarities with JBoss 5, but I only know 4.
The JBoss deployment is URL-based and all crawling of deployed components is done using the URL. The deployer itself is represented by the MainDeployer JMX bean and is located in the JMX tree; it can be called remotely via HTTP or RMI. One deployment method is deploy(URL) . I used this only in the context of the URL file:// , but theoretically it should work for HTTP URLs as well. Thus, you can specify the URL of the EAR / WAR file on another server, and it should work by copying the EAR / WAR locally and unpacking it.
What I donβt think you can do is βuploadβ something directly to the server and make it deploy. I have never seen such functionality in JBoss (which does not mean that this does not exist, of course, only that I did not see it).
source share