Grails Data

724 views

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
724
On SlideShare
0
From Embeds
0
Number of Embeds
15
Actions
Shares
0
Downloads
0
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Grails Data

  1. 1. Grails Data Kendrew Lau
  2. 2. Grails stores all data in database Embedded database No database server, a library linked to a program for data access Lighter, require less/no configuration E.g., HSQLDB embedded mode Database server External process that manages data access Can be shared/accessed by multiple program concurrently E.g., MySQL
  3. 3. Grails has 3 environments 3 configurations with possible different database settings development test production Configured in file grails-appconfDataSource.groovy
  4. 4. To execute in the 3 environments Development grails run-app grails dev run-app Test grails test run-app Production grails prod run-app

×