Wonder Club world wonders pyramid logo
×

Groovy Recipes: Greasing the Wheels of Java Book

Groovy Recipes: Greasing the Wheels of Java
Groovy Recipes: Greasing the Wheels of Java, Each recipe in <i>Groovy Recipes</i> begins with a concise code example for a quick start, followed by in-depth explanation in plain English. These recipes will get you to-to-speed in a Groovy environment quickly.
You'll see how to speed up nearly ever, Groovy Recipes: Greasing the Wheels of Java has a rating of 2.5 stars
   2 Ratings
X
Groovy Recipes: Greasing the Wheels of Java, Each recipe in Groovy Recipes begins with a concise code example for a quick start, followed by in-depth explanation in plain English. These recipes will get you to-to-speed in a Groovy environment quickly. You'll see how to speed up nearly ever, Groovy Recipes: Greasing the Wheels of Java
2.5 out of 5 stars based on 2 reviews
5
0 %
4
0 %
3
50 %
2
50 %
1
0 %
Digital Copy
PDF format
1 available   for $99.99
Original Magazine
Physical Format

Sold Out

  • Groovy Recipes: Greasing the Wheels of Java
  • Written by author Scott Davis
  • Published by O'Reilly Media, Incorporated, May 2008
  • Each recipe in Groovy Recipes begins with a concise code example for a quick start, followed by in-depth explanation in plain English. These recipes will get you to-to-speed in a Groovy environment quickly. You'll see how to speed up nearly ever
  • This guide is for the busy Java professional who needs quick solutions to everyday problems. Each recipe shows a concise code example right away and covers everything from getting a basic application up and running to advanced features such as deploying t
Buy Digital  USD$99.99

WonderClub View Cart Button

WonderClub Add to Inventory Button
WonderClub Add to Wishlist Button
WonderClub Add to Collection Button

Book Categories

Authors

Preface     1
Introduction     3
Groovy, the Way Java Should Be     5
Stripping Away the Verbosity     7
Groovy: The Blue Pill or the Red Pill?     8
Road Map     10
Acknowledgments     11
Getting Started     13
Installing Groovy     13
Running a Groovy Script (groovy)     16
Compiling Groovy (groovyc)     17
Running the Groovy Shell (groovysh)     17
Running the Groovy Console (groovyConsole)     22
Running Groovy on a Web Server (Groovlets)     22
Groovy + Eclipse     26
Groovy + IntelliJ IDEA     27
Groovy + TextMate     28
Groovy + [Insert Your IDE or Text Editor Here]     29
New to Groovy     31
Automatic Imports     32
Optional Semicolons     32
Optional Parentheses     34
Optional Return Statements     36
Optional Datatype Declaration (Duck Typing)     37
Optional Exception Handling     38
Operator Overloading     40
Safe Dereferencing (?)     42
Autoboxing     43
Groovy Truth     44
Embedded Quotes     46
Heredocs (Triple Quotes)     46
GStrings     47
List Shortcuts     48
Map Shortcuts     52
Ranges     55
Closures and Blocks     57
Java and Groovy Integration     59
GroovyBeans (aka POGOs)     59
Autogenerated Getters and Setters     61
getProperty and SetProperty     64
Making Attributes Read-Only     65
Constructor Shortcut Syntax     66
Optional Parameters/Default Values     67
Private Methods     68
Calling Groovy from Java     69
Calling Java from Groovy     71
Interfaces in Groovy and Java     71
The Groovy Joint Compiler     72
Compiling Your Project with Ant     74
Compiling Your Project with Maven     75
Groovy from the Command Line     77
Running Uncompiled Groovy Scripts     77
Shebanging Groovy     78
Accepting Command-Line Arguments     79
Running a Shell Command     80
Using Shell Wildcards in Groovy Scripts     81
Running Multiple Shell Commands at Once     82
Waiting for a Shell Command to Finish Before Continuing     82
Getting System Properties     83
Getting Environment Variables     85
Evaluating a String     86
Calling Another Groovy Script     87
Groovy on the Fly (groovy -e)     89
Including JARs at the Command Line     89
File Tricks     91
Listing All Files in a Directory     91
Reading the Contents of a File     95
Writing Text to a File     96
Copying Files     99
Using AntBuilder to Copy a File     100
Using AntBuilder to Copy a Directory     101
Moving/Renaming Files     103
Deleting Files     103
Creating a ZIP File/Tarball     104
Unzipping/Untarring Files     105
Parsing XML     107
The "I'm in a Hurry" Guide to Parsing XML     107
Understanding the Difference Between XmlParser and XmlSlurper     108
Parsing XML Documents     112
Dealing with XML Attributes     112
Getting the Body of an XML Element     115
Dealing with Mixed-Case Element Names     116
Dealing with Hyphenated Element Names     117
Navigating Deeply Nested XML      118
Parsing an XML Document with Namespaces     123
Populating a GroovyBean from XML     125
Writing XML     127
The "I'm in a Hurry" Guide to Creating an XML Document     127
Creating Mixed-Case Element Names     128
Creating Hyphenated Element Names     129
Creating Namespaced XML Using MarkupBuilder     129
Understanding the Difference Between MarkupBuilder and StreamingMarkupBuilder     130
Creating Parts of the XML Document Separately     131
Creating Namespaced XML Using StreamingMarkupBuilder     133
Printing Out the XML Declaration     133
Printing Out Processing Instructions     134
Printing Arbitrary Strings (Comments, CDATA)     134
Writing StreamingMarkupBuilder Output to a File     136
StreamingMarkupBuilder at a Glance     136
Creating HTML on the Fly     137
Converting CSV to XML     139
Converting JDBC ResultSets to XML     142
Web Services     143
Finding Your Local IP Address and Name     143
Finding a Remote IP Address and Domain Name     145
Making an HTTP GET Request     146
Working with Query Strings     150
Making an HTTP POST Request     155
Making an HTTP PUT Request     158
Making an HTTP DELETE Request     160
Making a RESTful Request     161
Making a CSV Request     163
Making a SOAP Request     163
Making an XML-RPC Request     165
Parsing Yahoo Search Results as XML     167
Parsing an Atom Feed     168
Parsing an RSS Feed     169
Metaprogramming     173
Discovering the Class     174
Discovering the Fields of a Class     175
Checking for the Existence of a Field     177
Discovering the Methods of a Class     180
Checking for the Existence of a Method     182
Creating a Field Pointer     184
Creating a Method Pointer     185
Calling Methods That Don't Exist (invokeMethod)     185
Creating an Expando     186
Adding Methods to a Class Dynamically (Categories)     188
Adding Methods to a Class Dynamically (ExpandoMetaClass)     190
Working with Grails     193
Installing Grails     194
Creating Your First Grails App     197
Understanding Grails Environments     205
Running Grails on a Different Port      206
Generating a WAR     207
Changing Databases     208
Changing the Home Page     211
Understanding Controllers and Views     212
Dynamic Scaffolding     214
Validating Your Data     217
Managing Table Relationships     220
Mapping Classes to Legacy Databases     225
Grails and Web Services     227
Returning XML     227
Returning JSON     229
Returning an Excel Spreadsheet     231
Setting Up an Atom Feed     233
Setting Up an RSS Feed for Podcasts     237
Installing Plug-Ins     241
Index     243


Login

  |  

Complaints

  |  

Blog

  |  

Games

  |  

Digital Media

  |  

Souls

  |  

Obituary

  |  

Contact Us

  |  

FAQ

CAN'T FIND WHAT YOU'RE LOOKING FOR? CLICK HERE!!!

X
WonderClub Home

This item is in your Wish List

Groovy Recipes: Greasing the Wheels of Java, Each recipe in <i>Groovy Recipes</i> begins with a concise code example for a quick start, followed by in-depth explanation in plain English. These recipes will get you to-to-speed in a Groovy environment quickly.
You'll see how to speed up nearly ever, Groovy Recipes: Greasing the Wheels of Java

X
WonderClub Home

This item is in your Collection

Groovy Recipes: Greasing the Wheels of Java, Each recipe in <i>Groovy Recipes</i> begins with a concise code example for a quick start, followed by in-depth explanation in plain English. These recipes will get you to-to-speed in a Groovy environment quickly.
You'll see how to speed up nearly ever, Groovy Recipes: Greasing the Wheels of Java

Groovy Recipes: Greasing the Wheels of Java

X
WonderClub Home

This Item is in Your Inventory

Groovy Recipes: Greasing the Wheels of Java, Each recipe in <i>Groovy Recipes</i> begins with a concise code example for a quick start, followed by in-depth explanation in plain English. These recipes will get you to-to-speed in a Groovy environment quickly.
You'll see how to speed up nearly ever, Groovy Recipes: Greasing the Wheels of Java

Groovy Recipes: Greasing the Wheels of Java

WonderClub Home

You must be logged in to review the products

E-mail address:

Password: