Groovy in Action

(häftad)

av Dierk Koenig, Andrew Glover, Paul King, Guillaume Laforge, Jon Skeet

Bloggar      
Format:
Häftad (paperback)
Utgiven:
2007-04-01
Språk:
Engelska

Groovy, the brand-new language for the Java platform, brings to Java many of the features that have made Ruby popular. Groovy in Action is a comprehensive guide to Groovy programming, introducing Java developers to the new dynamic features that Groovy provides. To bring you Groovy in Action, Manning again went to the source by working with a team of expert authors including both members and the Manager of the Groovy Project team. The result is the true definitive guide to the new Groovy language.

Groovy in Action introduces Groovy by example, presenting lots of reusable code while explaining the underlying concepts. Java developers new to Groovy find a smooth transition into the dynamic programming world. Groovy experts gain a solid reference that challenges them to explore Groovy deeply and creatively.

Because Groovy is so new, most readers will be learning it from scratch. Groovy in Action quickly moves through the Groovy basics, including:

Simple and collective Groovy data types Working with Closures and Groovy Control Structures Dynamic Object Orientation, Groovy style

Readers are presented with rich and detailed examples illustrating Groovy's enhancements to Java, including

How to Work with Builders and the GDK Database programming with Groovy

Groovy in Action then demonstrates how to Integrate Groovy with XML, and provides,

Tips and Tricks Unit Testing and Build Support Groovy on Windows

An additional bonus is a chapter dedicated to Grails, the Groovy Web Application Framework.

Early PDF chapters of Groovy in Action are available from the Manning Early Access Program (MEAP) at "http://www.manning.com/koenig http://www.manning.com/koenig . As part of this program, readers can also discuss the early manuscript with the author and help shape the manuscript as it's being developed by joining the Author Forum.

Passar bra ihop

Groovy in Action + Nmap Network Scanning
De som köpt den här boken har ofta också köpt Nmap Network Scanning (häftad) av Gordon Lyon, Fyodor
Pris för båda:
693:-Köp

Fler böcker av författarna

Real World Functional Programming With examples in F# and C# (häftad)
Complete Yurt Handbook (häftad)
C# in Depth 2nd Edition (häftad)
Continuous Integration: Improving Software Quality & Reducing Risk (häftad)

Real World Functional Programming With examples in F...

Tomas Petricek, Jon Skeet (häftad)

Complete Yurt Handbook

Paul King (häftad)

C# in Depth 2nd Edition

Jon Skeet (häftad)

Continuous Integration: Improving Software Quality &...

Paul Duvall, Steve Matyas, Andrew Glover (häftad)
315:- Köp
156:- Köp
315:- Köp
317:- Köp

Kundrecensioner

Bli först med att recensera och betygsätt boken Groovy in Action - du kan vinna 200 kr varje vecka i tävlingen "Veckans recension".

Bloggat om Groovy in Action

Övrig information

Dierk Koenig is a senior software developer, mentor and coach at Canoo Engineering AG, Basel, Switzerland. He writes for leading magazines on software development and speaks at international conferences. He joined the Groovy project as a committer in 2004. Andrew Glover is the President of Stelligent Incorporated. He actively blogs about software quality at thediscoblog.com and testearly.com. Dr Paul King is Managing Director and Principal Consultant for ASERT, has provided technical and strategic consulting to hundreds of organizations throughout the U.S. and Asia Pacific. Guillaume Laforge is the official Groovy Project Manager and member of the JSR-241 Expert Group standardizing the Groovy Scripting Language. Guillaume is a software architect and Open Source consultant, working for OCTO Technology. Jon Skeet is a software engineer and Groovy enthusiast who specializes in Java and C# development.

Innehållsförteckning

foreword xix
preface xx
acknowledgments xxiii
about this book xxv
about the authors xxix
about the title xxxii
about the cover illustration xxxiii


1 Your way to Groovy 1
1.1 The Groovy story 3

What is Groovy? 4

Playing nicely with Java: seamless integration 4

Power in your code: a feature-rich language 6

Community-driven but corporate-backed 9

1.2 What Groovy can do for you 10

Groovy for Java professionals 10

Groovy for script programmers 11

Groovy for pragmatic programmers, extremos, and agilists 12

1.3 Running Groovy 13

Using groovysh for Hello World 14

Using groovyConsole 17

Using groovy 18

1.4 Compiling and running Groovy 19

Compiling Groovy with groovyc 19

Running a compiled Groovy script with Java 20

Compiling and running with Ant 21

1.5 Groovy IDE and editor support 22

IntelliJ IDEA plug-in 23

Eclipse plug-in 24

Groovy support in other editors 24

1.6 Summary 25

Part 1 The Groovy language 27


2 Overture: The Groovy basics 29
2.1 General code appearance 30

Commenting Groovy code 30

Comparing Groovy and Java syntax 31

Beauty through brevity 32

2.2 Probing the language with assertions 33
2.3 Groovy at a glance 36

Declaring classes 36

Using scripts 37

GroovyBeans 38

Handling text 39

Numbers are objects 40

Using lists, maps, and ranges 41

Code as objects: closures 43

Groovy control structures 46

2.4 Groovys place in the Java environment 47

My class is your class 47

GDK: the Groovy library 49

The Groovy lifecycle 50

2.5 Summary 53
3 The simple Groovy datatypes 55
3.1 Objects, objects everywhere 56

Javas type systemprimitives and references 56

Groovys answereverythings an object 57

Interoperating with Javaautomatic boxing and unboxing 59

No intermediate unboxing 60

3.2 The concept of optional typing 61

Assigning types 61

Static versus dynamic typing 62

3.3 Overriding operators 63

Overview of overridable operators 63

Overridden operators in action 65

Making coercion work for you 67

3.4 Working with strings 69

...

De som köpt "Groovy in Action" har även köpt:

The Definitive Guide to Grails 2nd Edition (häftad)

The Definitive Guide to Grails 2nd Edition

Graeme Rocher, Jeff Brown (häftad)
303:-
Beginning Android 2 (häftad)

Beginning Android 2

Mark Murphy (häftad)
290:-
Django 1.2 E-Commerce (häftad)

Django 1.2 E-Commerce

J Legg (häftad)
344:-
Beginning OpenVPN 2.0.9 (häftad)

Beginning OpenVPN 2.0.9

M Feilner, N Graf (häftad)
506:-
PostgreSQL 9 Administration Cookbook (häftad)

PostgreSQL 9 Administration Cookbook

S Riggs, H Krosing (häftad)
425:-
Groovy in Action (häftad)
  • Titel: Groovy in Action
  • Format: Häftad
  • ISBN: 9781932394849
  • Förlag: MANNING PUBLICATIONS
  • Utgivningsland: USA
  • Utgivningsort: Boston
  • Medarbetare: Glover, Andrew / King, Paul / Laforge, Guillaume / Skeet, Jon
  • Illustratör/Fotograf: illustrations
  • Illustrationer: illustrations
  • Upplaga: illustrated ed
  • Antal sidor: 659
  • Vikt: 1140 g
  • Höjd: 234 mm
  • Antal komponenter: 1