Configuring multiple MobileFirst projects in different environments

Different environments operate independently. For example, with this approach you can host a test environment, a pre-production environment, and a production environment on the same server or in the same WebSphere® Application Server Network Deployment cell.

You can configure multiple projects, either with the same Administration Services and MobileFirst Operations Console, or with separate MobileFirst environments. An environment consists of the following web applications:
  • The Administration Services web application,
  • Optionally, the MobileFirst Operations Console web application,
  • Some MobileFirst runtime environments or project web applications, each with the appropriate database schemas.
According to your installation method, you specify the environment as follows:
  • If you install with Ant tasks, specify it through the attribute environmentId in the <installworklightadmin> and <configureapplicationserver> invocations.
  • If you install manually, specify it through the JNDI property ibm.worklight.admin.environmentid of the Administration Services application, and of the project WAR file.

If you use this approach, you must respect the following constraints: