문제

I have two application, one is J2EE (Spring-MVC based) application the other one is a J2SE application. Is it possible for me to run both application on CloudFoundry with the same database ?

도움이 되었습니까?

해결책

Yes, multiple applications can bind to (an therefore use) the same service (database). It is up to the service to implement multi-tenancy.

From http://docs.cloudfoundry.com/docs/using/services/managing-services.html#bind ...

Binding a service to your application adds credentials for the service instance to the VCAP_SERVICES environment variable. In most cases these credentials are unique to the binding; another app bound to the same service instance would receive different credentials. You may need to restart your application for it to recognize the change.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top