0
전 compojure 및 cloudbees로 조금 놀았습니다. 여태까지는 그런대로 잘됐다. 아무 의미있는 작업을 수행하려면 Clickstart를 사용하여 만든 응용 프로그램을 데이터베이스에 연결해야합니다 (또는 어떻게 보느냐에 따라 그 반대도 마찬가지입니다).cloudbees 및 compojure 데이터베이스 연결
To register this database as a datasource in your application, insert the following XML snippets into your application configuration files.
WEB-INF/cloudbees-web.xml
<resource name="jdbc/landlords" auth="Container" type="javax.sql.DataSource">
<param name="username" value="db-name" />
<param name="password" value="db-pasword" />
<param name="url" value="jdbc:cloudbees://landlords" />
</resource>
WEB-INF/web.xml
<resource-ref>
<res-ref-name>jdbc/landlords</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>
저를 용서하지만, WEB-INF 디렉토리입니다 내가 볼 수없는 (또는 * web.xml 파일) : 이것은 그들의 DBaaS 옵션을 사용하는 사이트에서 사용할 수있는 문서입니다. 유일한 것은 config.xml입니다 (내용을 게시 할 수 있지만 지금까지는 동일하지 않다고 생각합니다).
특별히 내가 이것을 사용하려고 해요 : http://www.enterprisedb.com/cloud-database/amzn-launch-guide-dbaas