Pet Clinic Demo

Search CCF4XAP
Searching Cloud Computing Framework for XAP
Browse CCF4XAP

                                                              

Summary: GigaSpaces CCF4XAP Quick Tour
Before you begin: Make sure you run the Login into the Cloud Console step!

The Pet Clinic Demo

The Pet Clinic demonstrates Web-application storing its data within the IMDG and persisting its data in asynchronous manner into mySQL database running on the cloud.
The Deployment will involve the following:

  • GSM Machine
  • Load-Balancer Machine
  • Database and Mirror Machine
  • GSC Machines - Running Web Application , IMDG and Services

The Demo will show how the web application interacts with the IMDG and how data is loaded from the database once started and later persistent in asynchronous manner into the database.

  1. Click the Pet Clinic button - The system will start provisioning the web application and MySQL database on the cloud.

    This will include a machine for managing the cloud, a machine for HTTP load-balancer, machines for the web and data-grid containers and a machine that runs the Mirror Service and MySQL database server.

  2. Check the Database initial state - Access the database machine, and start mysql client. Access the database using: User:pc , Password:pc.
    mysql -u pc -p petclinic

    Query the database using:

    select * from owners;

    The database should have 10 owner rows.

  3. Add Some Data into the System - The data will be stored within the IMDG and will be asynchronously persistent into the database via the Mirror Service.

  4. Check the Database - The new data will be inserted into the correct Table

  5. Shutdown the Application - Once you are done, Click the Shutdown Button at the Cloud Console to terminate all the machines running the application on the cloud.

What's Next?

- Go to the Quick Start Guide or return to the CCF4XAP Quick Tour.

Labels

 
(None)