Steps to Run an App
To ensure that your app can use all the features from VMware Tanzu GemFire for VMs, 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.