Steps to Run an App
Warning: Pivotal Cloud Cache v1.8 is no longer supported because it has reached the End of General Support (EOGS) phase as defined by the Support Lifecycle Policy. To stay up to date with the latest software and security updates, upgrade to a supported version.
To ensure that your app can use all the features from PCC, use the latest buildpack. The buildpack is available on GitHub at cloudfoundry/java-buildpack.
Binding your apps to a service instance enables the apps to connect to the service instance and read or write data to the region.
cf bind-service APP-NAME SERVICE-INSTANCE-NAME to bind an app to your service instance.
APP-NAME with the name of the app.
SERVICE-INSTANCE-NAME with the name you chose for your service instance.
$ cf bind-service my-app my-cloudcache
Binding an app to the service instance provides connection information through the
VCAP_SERVICES environment variable.
Your app can use this information to configure components, such as the GemFire client cache, to use the service instance.