You can write your own JSR 88 client to deploy applications to the Application Server. For more information, see the JSR 88 page at http://jcp.org/en/jsr/detail?id=88.
The syntax of the URI entry for the getDeploymentManager method is as follows:
deployer:Sun:AppServer::admin-host:admin-port
For example:
deployer:Sun:AppServer::localhost:4848
See Naming Standards for application and module naming considerations.