1. A method for automatically deploying program units in a single flow, comprising: dynamically retrieving information associated with an application server on which one or more program units can be deployed; and using the retrieved information to generate a script file for deployment.