If you do not want to use any of the other deployment means, you can create your own Java classes that will perform the necessary deployment operations.
For more information, see Deploying a J2EE Application.