How can I get access to the MainDeployer from a program running outside of JBoss? I want to deploy a .sar file from an external program.
Use RMIAdaptor and get the MBeanServerImplementation. after that you can call any method on any object name. Search for RMIAdaptor in this forum. You should find a lot of references