need help in migration in MWS

Hi All,

I am done with my backend code and front-end design in CAF.
Now I want to do the migration from DEV to UAT in MWS.
Can anybody help me with the process to do the migration in MWS?

Please let me know if any further information required.


Do you mean code movement from Dev to UAT? Correct me if I am wrong.

Use WmDeployer I see even MWS components can be deployed.


Yes…it is from DEV to UAT.
Do we need to link the environment variables to the webservices connector? Otherwise, we have to change the server details in each environment.
Please comment.


Hi Jyoti,

I have to agree with M@he$h. If you want to make a deployment from one environment to another you should use WmDeployer.

Now I think your problem is how to load environment specific configurations into your web/task application.

You can do this in the following way:

  • create a properties file for every environment: (ex: or
  • these property file should be loaded into the application by a managed bean

public Configuration() {
    try {
      if (StringUtils.isNotEmpty(System.getProperty(""))) {

        Properties p = new Properties();
        p.load(ContextUtils.getResourceInputStream("/WEB-INF/" + "config." + System.getProperty("")
            + ".properties"));

        //put the values read from the config file in the p object
  • on the MWS server add a new property in the setEnv(.bat/.sh) file like this:

From now one you will use the fields of the Configuration class.

Hope this helps,
Vlad Turian