Grails On Gae

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

0 comments

Post a comment

    Post a comment
    Embed Video
    Edit your comment Cancel

    2 Favorites

    Grails On Gae - Presentation Transcript

    1.  
    2. หัวข้อ
      • How to develop and deploy Grails on GAE ?
    3. ข้อจำกัดของ GAE
      • ไม่สนับสนุน Hibernate
      • แต่สนับสนุน JDO ( Java Data Object ), JPA ( Java Persistence APIs )
      • ดังนั้นผู้สร้าง Grails จึงทำการสร้าง Plugin ขึ้นมา โดยจะใช้ JDO แทนที่ Hibernate
        • ใช้งานได้ใน Grails version 1.1.1 http://grails.org/Download
        • AppEngine plugin :: http://grails.org/plugin/app-engine
    4. ขั้นตอนการพัฒนา
      • สร้าง project
      • Uninstall hibernate ออกจาก project
      • Install GAE plugin เข้ามายัง project
      • Packaged
      • ทดสอบบนครึ่งพัฒนา
      • ติดตั้งใน Google AppEngine
      • ทดสอบ
    5. Demo
      • สร้าง project ชื่อ myapp
        • grails create-app myapp
      • Uninstall Hibernate
        • grails uninstall-plugin hibernate
      • Install GAE plugin
        • grails install-plugin app-engine or
        • grails install-plugin app-engine .zip
    6. Demo
      • แก้ไขชื่อ project เมื่อทำการติดตั้งบน GAE สามารถแก้ไขได้ใน file /grails-app/conf/Config.groovy ดังนี้
      • google.appengine.application=“ up1grails "
    7. Demo
      • ทดสอบ run ใน development environment
        • grails app-engine run
    8. Demo
      • Deploy project ขึ้น Google AppEngine
        • grails set-version 1
        • grails app-engine package
        • % APPENGINE_HOME % bin appcfg update ./target/war
        • หรือ
        • grails app - engine deploy
    9. ผลการทำงาน
      • http :// up1grails . appspot . com /
      • ส่วนเรื่อง JDO ผมยังไม่ทดสอบครับ
      Thank you … Q/A
    SlideShare Zeitgeist 2009

    + up1up1 Nominate

    custom

    784 views, 2 favs, 1 embeds more stats

    More info about this document

    © All Rights Reserved

    Go to text version

    • Total Views 784
      • 702 on SlideShare
      • 82 from embeds
    • Comments 0
    • Favorites 2
    • Downloads 10
    Most viewed embeds
    • 82 views on http://www.grails66.com

    more

    All embeds
    • 82 views on http://www.grails66.com

    less

    Flagged as inappropriate Flag as inappropriate
    Flag as inappropriate

    Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

    Cancel
    File a copyright complaint
    Having problems? Go to our helpdesk?

    Categories