Deploying MobileFirst projects

After you have created projects and apps with MobileFirst Studio, you must deploy them to the production environment.

Note: Before you can deploy the project to the production environment, you must install the MobileFirst Administration Components as described in Installing the MobileFirst Server administration.

You can deploy several MobileFirst runtime environments (that is, several project WAR files) to an application server just as you would deploy any Java™ EE application. Each deployed project must have a unique name and a unique context path.

Note: An Administration Service must be installed on the application server for one of the topologies that are listed at Planning deployment of administration components and runtimes . Otherwise, the runtime environment cannot download its applications and adapters, and cannot start.

You can choose between having several projects use the same database server, or making each project use a different database server. If you configure several projects to use the same relational database, you must configure each data source to connect to an independent data storage structure (for example, different schemas on DB2®, or different user names on Oracle). Database sharing is not relevant for MySQL and Apache Derby. For Cloudant®, the project name is included in the database name so every project uses a different database.

Several instances of MobileFirst Server with different versions of IBM MobileFirst™ Platform Foundation installed can share the same application server and the same MobileFirst Administration Service. However, they must be migrated to be compatible with the current version of the Administration Service. For more information about migration, see Migrating a project WAR file for use with a new MobileFirst Server.

For more information, see Separation of lifecycle between MobileFirst Server and MobileFirst Studio.

Read this series of topics to learn how to deploy your MobileFirst projects and apps to the production environment.