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

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Saving this for later?

Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime - even offline.

Text the download link to your phone

Standard text messaging rates apply

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

886
views

Published on

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

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

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
886
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
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/