Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

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

1,277 views

Published on

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

Published in: Technology
  • Hi there! Get Your Professional Job-Winning Resume Here - Check our website! http://bit.ly/resumpro
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Be the first to like this

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

  1. 1. 2009/07/22 @Yokohama def speaker = new Cast(name:”T.Yamamoto”,version:”G*4-2009-07-22”)
  2. 2. ( ) Web 90%Grails JGGUG( ) Grails 9-11 Grails Acegi Plugin http://d.hatena.ne.jp/mottsnite/
  3. 3. Groovy,Java,Spring,Hibernate • •http://grails.org/Download • •export GRAILS_HOME=/opt/grails-1.1.1 •export PATH=$PATH:$GRAILS_HOME/bin
  4. 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. 5. def doWithSpring = { javascriptService(net.xmldo.grails.plugins.rhino.services.RhinoService){bean-> bean.autowire = true } }
  6. 6. Grails/Groovy http://www.jggug.org/

×