Your SlideShare is downloading. ×
  • Like
第4回 g* ワークショップ はじめてみよう! Grailsプラグイン
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Now you can save presentations on your phone or tablet

Available for both IPhone and Android

Text the download link to your phone

Standard text messaging rates apply

第4回 g* ワークショップ はじめてみよう! Grailsプラグイン

  • 878 views
Published

第4回 g* ワークショップ …

第4回 g* ワークショップ
はじめてみよう! Grailsプラグイン

Published in Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
878
On SlideShare
0
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
5
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. 2009/07/22 @Yokohama def speaker = new Cast(name:”T.Yamamoto”,version:”G*4-2009-07-22”)
  • 2. ( ) Web 90%Grails JGGUG( ) Grails 9-11 Grails Acegi Plugin http://d.hatena.ne.jp/mottsnite/
  • 3. Groovy,Java,Spring,Hibernate • •http://grails.org/Download • •export GRAILS_HOME=/opt/grails-1.1.1 •export PATH=$PATH:$GRAILS_HOME/bin
  • 4. def doWithWebDescriptor = { webXml -> def servletElement = webXml.'servlet' def lastServlet = servletElement[servletElement.size()-1] lastServlet + { 'servlet' { 'servlet-name'("simpleResource") 'servlet-class'("SimpleResource") 'load-on-startup'("1") } } def mappingElement = webXml.'servlet-mapping' def lastMapping = mappingElement[mappingElement.size()-1] lastMapping + { 'servlet-mapping' { 'servlet-name'("simpleResource") 'url-pattern'("/resources/*") } } }
  • 5. def doWithSpring = { javascriptService(net.xmldo.grails.plugins.rhino.services.RhinoService){bean-> bean.autowire = true } }
  • 6. Grails/Groovy http://www.jggug.org/