SlideShare uma empresa Scribd logo
1 de 28
Baixar para ler offline
Java
$ time groovy -e 'println "Hello, world!";'
Hello, world!

real   0m1.806s
user   0m1.321s
sys    0m0.171s



$ time groovyclient -e 'println "Hello, world!";'
Hello, world!

real   0m0.029s
user   0m0.001s
sys    0m0.002s
$ time groovyserver
GROOVY: /Users/ynak/Developer/runtime/groovy/bin/groovy
GROOVYSERV_HOME: /usr/local/Cellar/groovyserv/0.5/libexec
starting....
groovyserver 71209(1961) is successfully started

real      0m5.038s
user      0m0.015s
sys       0m0.048s
http://www.flickr.com/photos/turyddu/2682923190/
http://groovy.dzone.com/news/dzone-interviews-yasuharu
Java
http://www.flickr.com/photos/philippeguillaume/4027168508
http://www.venturenow.jp/column/ogawa/20100721008569.html
//         0        9                                                                            4
def list = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
assert list.findAll{ it % 2 == 0 }.size() == 4

	
  	
  	
  	
  	
  	
  	
  	
  	
  !!!!!!!!!!!!!!!!!!!!!!!!!!

Caught:	
  Assertion	
  failed:	
  

assert	
  list.findAll{	
  it	
  %	
  2	
  ==	
  0	
  }.size()	
  ==	
  4
	
  	
  	
  	
  	
  	
  	
  |	
  	
  	
  	
  |	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  |	
  	
  	
  	
  	
  	
  |
	
  	
  	
  	
  	
  	
  	
  |	
  	
  	
  	
  [0,	
  2,	
  4,	
  6,	
  8]	
  	
  	
  	
  	
  	
  	
  	
  5	
  	
  	
  	
  	
  	
  false
	
  	
  	
  	
  	
  	
  	
  [0,	
  1,	
  2,	
  3,	
  4,	
  5,	
  6,	
  7,	
  8,	
  9]
!"#"$%&'
                                   !"#$"%&'(




                                   !"#$"%&')




                                   !"#$"%&'*




                                   !"#$"%&'+




                                   ,-./#012$/-




http://grails.jp/g_mag_jp/
  !"#"$%&'"()*+&',,-.%/*0'%&',1#

Mais conteúdo relacionado

Mais procurados

global_shopping_online
global_shopping_onlineglobal_shopping_online
global_shopping_online
drocallaghan
 
global_shopping_online
global_shopping_onlineglobal_shopping_online
global_shopping_online
drocallaghan
 
global_shopping_online
global_shopping_onlineglobal_shopping_online
global_shopping_online
drocallaghan
 
global_shopping_online
global_shopping_onlineglobal_shopping_online
global_shopping_online
drocallaghan
 
global_shopping_online
global_shopping_onlineglobal_shopping_online
global_shopping_online
drocallaghan
 
mtx therapy services in hawaii ppt97
mtx therapy services in hawaii ppt97mtx therapy services in hawaii ppt97
mtx therapy services in hawaii ppt97
mtxgroup
 
Senior Project Works Cited Page Kase Gibbs
Senior Project Works Cited Page Kase GibbsSenior Project Works Cited Page Kase Gibbs
Senior Project Works Cited Page Kase Gibbs
Kase Gibbs
 
Dla investor-presentation-march-2011
Dla investor-presentation-march-2011Dla investor-presentation-march-2011
Dla investor-presentation-march-2011
Delta_Apparel
 
广告汇聚上海最具影响力读者群体东方早报2008年新征程将奉献更多投资智 ...
广告汇聚上海最具影响力读者群体东方早报2008年新征程将奉献更多投资智 ...广告汇聚上海最具影响力读者群体东方早报2008年新征程将奉献更多投资智 ...
广告汇聚上海最具影响力读者群体东方早报2008年新征程将奉献更多投资智 ...
sugeladi
 
operasi unit kontrol
operasi unit kontroloperasi unit kontrol
operasi unit kontrol
Lela Warni
 
Patricia sarrias activitat2
Patricia sarrias activitat2Patricia sarrias activitat2
Patricia sarrias activitat2
mypresents
 

Mais procurados (19)

global_shopping_online
global_shopping_onlineglobal_shopping_online
global_shopping_online
 
global_shopping_online
global_shopping_onlineglobal_shopping_online
global_shopping_online
 
global_shopping_online
global_shopping_onlineglobal_shopping_online
global_shopping_online
 
global_shopping_online
global_shopping_onlineglobal_shopping_online
global_shopping_online
 
global_shopping_online
global_shopping_onlineglobal_shopping_online
global_shopping_online
 
mtx therapy services in hawaii ppt97
mtx therapy services in hawaii ppt97mtx therapy services in hawaii ppt97
mtx therapy services in hawaii ppt97
 
Senior Project Works Cited Page Kase Gibbs
Senior Project Works Cited Page Kase GibbsSenior Project Works Cited Page Kase Gibbs
Senior Project Works Cited Page Kase Gibbs
 
Dla investor-presentation-march-2011
Dla investor-presentation-march-2011Dla investor-presentation-march-2011
Dla investor-presentation-march-2011
 
Sergey Susikov. Virtualzation. My rakes
Sergey Susikov. Virtualzation. My rakesSergey Susikov. Virtualzation. My rakes
Sergey Susikov. Virtualzation. My rakes
 
广告汇聚上海最具影响力读者群体东方早报2008年新征程将奉献更多投资智 ...
广告汇聚上海最具影响力读者群体东方早报2008年新征程将奉献更多投资智 ...广告汇聚上海最具影响力读者群体东方早报2008年新征程将奉献更多投资智 ...
广告汇聚上海最具影响力读者群体东方早报2008年新征程将奉献更多投资智 ...
 
operasi unit kontrol
operasi unit kontroloperasi unit kontrol
operasi unit kontrol
 
Zanzibar
ZanzibarZanzibar
Zanzibar
 
2° edizione gran fondo costa d'amalfi - descrizione percorsi
2° edizione gran fondo costa d'amalfi - descrizione percorsi2° edizione gran fondo costa d'amalfi - descrizione percorsi
2° edizione gran fondo costa d'amalfi - descrizione percorsi
 
Ruby Robots
Ruby RobotsRuby Robots
Ruby Robots
 
Patricia sarrias activitat2
Patricia sarrias activitat2Patricia sarrias activitat2
Patricia sarrias activitat2
 
Buildout: Fostering Repeatability
Buildout: Fostering RepeatabilityBuildout: Fostering Repeatability
Buildout: Fostering Repeatability
 
Friday Sermon 24 June 1983 - ایمان افروز خطبہ جمعہ فرمودہ حضرت مرزا طاہر احمد...
Friday Sermon 24 June 1983 - ایمان افروز خطبہ جمعہ فرمودہ حضرت مرزا طاہر احمد...Friday Sermon 24 June 1983 - ایمان افروز خطبہ جمعہ فرمودہ حضرت مرزا طاہر احمد...
Friday Sermon 24 June 1983 - ایمان افروز خطبہ جمعہ فرمودہ حضرت مرزا طاہر احمد...
 
Munne ki laash
Munne ki laashMunne ki laash
Munne ki laash
 
20 Instant Approval Dofollow Backlink
20 Instant Approval Dofollow Backlink20 Instant Approval Dofollow Backlink
20 Instant Approval Dofollow Backlink
 

Semelhante a レッツゴーデベロッパー2011「プログラミングGroovy〜G*エコシステム編」

Time Travel - Predicting the Future and Surviving a Parallel Universe - JDC2012
Time Travel - Predicting the Future and Surviving a Parallel Universe - JDC2012 Time Travel - Predicting the Future and Surviving a Parallel Universe - JDC2012
Time Travel - Predicting the Future and Surviving a Parallel Universe - JDC2012
Hossam Karim
 
Getting Started With Play Framework
Getting Started With Play FrameworkGetting Started With Play Framework
Getting Started With Play Framework
Treasury user10
 
Keynote - SBI
Keynote - SBIKeynote - SBI
Keynote - SBI
smeech
 

Semelhante a レッツゴーデベロッパー2011「プログラミングGroovy〜G*エコシステム編」 (20)

Time Travel - Predicting the Future and Surviving a Parallel Universe - JDC2012
Time Travel - Predicting the Future and Surviving a Parallel Universe - JDC2012 Time Travel - Predicting the Future and Surviving a Parallel Universe - JDC2012
Time Travel - Predicting the Future and Surviving a Parallel Universe - JDC2012
 
Zero to Sixty: AWS Elastic Beanstalk (DMG204) | AWS re:Invent 2013
Zero to Sixty: AWS Elastic Beanstalk (DMG204) | AWS re:Invent 2013Zero to Sixty: AWS Elastic Beanstalk (DMG204) | AWS re:Invent 2013
Zero to Sixty: AWS Elastic Beanstalk (DMG204) | AWS re:Invent 2013
 
Getting Started With Play Framework
Getting Started With Play FrameworkGetting Started With Play Framework
Getting Started With Play Framework
 
LAMP_TRAINING_SESSION_6
LAMP_TRAINING_SESSION_6LAMP_TRAINING_SESSION_6
LAMP_TRAINING_SESSION_6
 
WALA Tutorial at PLDI 2010
WALA Tutorial at PLDI 2010WALA Tutorial at PLDI 2010
WALA Tutorial at PLDI 2010
 
Science Fiction Sensor Networks
Science Fiction Sensor NetworksScience Fiction Sensor Networks
Science Fiction Sensor Networks
 
InnoDB Magic
InnoDB MagicInnoDB Magic
InnoDB Magic
 
Ipad gump
Ipad gumpIpad gump
Ipad gump
 
Device deployment
Device deploymentDevice deployment
Device deployment
 
How about Gradle?
How about Gradle?How about Gradle?
How about Gradle?
 
Keynote - SBI
Keynote - SBIKeynote - SBI
Keynote - SBI
 
Ph 2
Ph 2Ph 2
Ph 2
 
Танки_в_Лунапарке: нагрузочное_тестирование_в_Яндексе
Танки_в_Лунапарке: нагрузочное_тестирование_в_ЯндексеТанки_в_Лунапарке: нагрузочное_тестирование_в_Яндексе
Танки_в_Лунапарке: нагрузочное_тестирование_в_Яндексе
 
The Even Darker Art of Rails Engines (2009)
The Even Darker Art of Rails Engines (2009)The Even Darker Art of Rails Engines (2009)
The Even Darker Art of Rails Engines (2009)
 
스마트폰의 춘추전국시대, 개발자의 선택은(1)
스마트폰의 춘추전국시대, 개발자의 선택은(1)스마트폰의 춘추전국시대, 개발자의 선택은(1)
스마트폰의 춘추전국시대, 개발자의 선택은(1)
 
User Engagement - A scientific Challenge
User Engagement - A scientific ChallengeUser Engagement - A scientific Challenge
User Engagement - A scientific Challenge
 
Vietnam Online Travel Behaviors
Vietnam Online Travel BehaviorsVietnam Online Travel Behaviors
Vietnam Online Travel Behaviors
 
All about Apache ACE
All about Apache ACEAll about Apache ACE
All about Apache ACE
 
Social Signals & Search
Social Signals & SearchSocial Signals & Search
Social Signals & Search
 
The Science of Search, Google & Social Signals
The Science of Search, Google & Social SignalsThe Science of Search, Google & Social Signals
The Science of Search, Google & Social Signals
 

Mais de Yasuharu Nakano (8)

Java開発の強力な相棒として今すぐ使えるGroovy
Java開発の強力な相棒として今すぐ使えるGroovyJava開発の強力な相棒として今すぐ使えるGroovy
Java開発の強力な相棒として今すぐ使えるGroovy
 
OSS Product feat. Gradle
OSS Product feat. GradleOSS Product feat. Gradle
OSS Product feat. Gradle
 
Gr8conf EU 2013 Speed up your development: GroovyServ and Grails Improx Plugin
Gr8conf EU 2013 Speed up your development: GroovyServ and Grails Improx PluginGr8conf EU 2013 Speed up your development: GroovyServ and Grails Improx Plugin
Gr8conf EU 2013 Speed up your development: GroovyServ and Grails Improx Plugin
 
The report of JavaOne2011 about groovy
The report of JavaOne2011 about groovyThe report of JavaOne2011 about groovy
The report of JavaOne2011 about groovy
 
JavaSE7 Launch Event: Java7xGroovy
JavaSE7 Launch Event: Java7xGroovyJavaSE7 Launch Event: Java7xGroovy
JavaSE7 Launch Event: Java7xGroovy
 
Groovy's Builder
Groovy's BuilderGroovy's Builder
Groovy's Builder
 
JavaOne2010 Groovy/Spring Roo
JavaOne2010 Groovy/Spring RooJavaOne2010 Groovy/Spring Roo
JavaOne2010 Groovy/Spring Roo
 
GroovyServ - Technical Part
GroovyServ - Technical PartGroovyServ - Technical Part
GroovyServ - Technical Part
 

Último

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 

Último (20)

Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 

レッツゴーデベロッパー2011「プログラミングGroovy〜G*エコシステム編」

  • 2.
  • 3. $ time groovy -e 'println "Hello, world!";' Hello, world! real 0m1.806s user 0m1.321s sys 0m0.171s $ time groovyclient -e 'println "Hello, world!";' Hello, world! real 0m0.029s user 0m0.001s sys 0m0.002s
  • 4. $ time groovyserver GROOVY: /Users/ynak/Developer/runtime/groovy/bin/groovy GROOVYSERV_HOME: /usr/local/Cellar/groovyserv/0.5/libexec starting.... groovyserver 71209(1961) is successfully started real 0m5.038s user 0m0.015s sys 0m0.048s
  • 7.
  • 9.
  • 12.
  • 13.
  • 14.
  • 15.
  • 16.
  • 17.
  • 18.
  • 19.
  • 20.
  • 21.
  • 22.
  • 23.
  • 24.
  • 25. // 0 9 4 def list = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] assert list.findAll{ it % 2 == 0 }.size() == 4                  !!!!!!!!!!!!!!!!!!!!!!!!!! Caught:  Assertion  failed:   assert  list.findAll{  it  %  2  ==  0  }.size()  ==  4              |        |                                            |            |              |        [0,  2,  4,  6,  8]                5            false              [0,  1,  2,  3,  4,  5,  6,  7,  8,  9]
  • 26.
  • 27.
  • 28. !"#"$%&' !"#$"%&'( !"#$"%&') !"#$"%&'* !"#$"%&'+ ,-./#012$/- http://grails.jp/g_mag_jp/ !"#"$%&'"()*+&',,-.%/*0'%&',1#