Making Java Groovy

Making Java Groovy
Author: Kenneth Kousen
Publsiher: Simon and Schuster
Total Pages: 520
Release: 2013-09-18
Genre: Computers
ISBN: 9781638352266

Download Making Java Groovy Book in PDF, Epub and Kindle

Summary Making Java Groovy is a practical handbook for developers who want to blend Groovy into their day-to-day work with Java. It starts by introducing the key differences between Java and Groovy—and how you can use them to your advantage. Then, it guides you step-by-step through realistic development challenges, from web applications to web services to desktop applications, and shows how Groovy makes them easier to put into production. About this Book You don't need the full force of Java when you're writing a build script, a simple system utility, or a lightweight web app—but that's where Groovy shines brightest. This elegant JVM-based dynamic language extends and simplifies Java so you can concentrate on the task at hand instead of managing minute details and unnecessary complexity. Making Java Groov is a practical guide for developers who want to benefit from Groovy in their work with Java. It starts by introducing the key differences between Java and Groovy and how to use them to your advantage. Then, you'll focus on the situations you face every day, like consuming and creating RESTful web services, working with databases, and using the Spring framework. You'll also explore the great Groovy tools for build processes, testing, and deployment and learn how to write Groovy-based domain-specific languages that simplify Java development. Written for developers familiar with Java. No Groovy experience required. Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications. What's Inside Easier Java Closures, builders, and metaprogramming Gradle for builds, Spock for testing Groovy frameworks like Grails and Griffon About the Author Ken Kousen is an independent consultant and trainer specializing in Spring, Hibernate, Groovy, and Grails. Table of Contents PART 1: UP TO SPEED WITH GROOVY Why add Groovy to Java? Groovy by example Code-level integration Using Groovy features in Java PART 2: GROOVY TOOLS Build processes Testing Groovy and Java projects PART 3: GROOVY IN THE REAL WORLD The Spring framework Database access RESTful web services Building and testing web applications

Groovy in Action

Groovy in Action
Author: Cédric Champeau,Dierk Koenig,Hamlet D'Arcy,Paul King
Publsiher: Simon and Schuster
Total Pages: 1403
Release: 2015-06-03
Genre: Computers
ISBN: 9781638352877

Download Groovy in Action Book in PDF, Epub and Kindle

Summary Groovy in Action, Second Edition is a thoroughly revised, comprehensive guide to Groovy programming. It introduces Java developers to the dynamic features that Groovy provides, and shows how to apply Groovy to a range of tasks including building new apps, integration with existing code, and DSL development. Covers Groovy 2.4. Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications. About the Technology In the last ten years, Groovy has become an integral part of a Java developer's toolbox. Its comfortable, common-sense design, seamless integration with Java, and rich ecosystem that includes the Grails web framework, the Gradle build system, and Spock testing platform have created a large Groovy community About the Book Groovy in Action, Second Edition is the undisputed definitive reference on the Groovy language. Written by core members of the Groovy language team, this book presents Groovy like no other can—from the inside out. With relevant examples, careful explanations of Groovy's key concepts and features, and insightful coverage of how to use Groovy in-production tasks, including building new applications, integration with existing code, and DSL development, this is the only book you'll need. Updated for Groovy 2.4. Some experience with Java or another programming language is helpful. No Groovy experience is assumed. What's Inside Comprehensive coverage of Groovy 2.4 including language features, libraries, and AST transformations Dynamic, static, and extensible typing Concurrency: actors, data parallelism, and dataflow Applying Groovy: Java integration, XML, SQL, testing, and domain-specific language support Hundreds of reusable examples About the Authors Authors Dierk König, Paul King, Guillaume Laforge, Hamlet D'Arcy, Cédric Champeau, Erik Pragt, and Jon Skeet are intimately involved in the creation and ongoing development of the Groovy language and its ecosystem. Table of Contents PART 1 THE GROOVY LANGUAGE Your way to Groovy Overture: Groovy basics Simple Groovy datatypes Collective Groovy datatypes Working with closures Groovy control structures Object orientation, Groovy style Dynamic programming with Groovy Compile-time metaprogramming and AST transformations Groovy as a static language PART 2 AROUND THE GROOVY LIBRARY Working with builders Working with the GDK Database programming with Groovy Working with XML and JSON Interacting with Web Services Integrating Groovy PART 3 APPLIED GROOVY Unit testing with Groovy Concurrent Groovy with GPars Domain-specific languages The Groovy ecosystem

Groovy Programming

Groovy Programming
Author: Kenneth Barclay,John Savage
Publsiher: Elsevier
Total Pages: 496
Release: 2010-07-27
Genre: Computers
ISBN: 0080471595

Download Groovy Programming Book in PDF, Epub and Kindle

Groovy Programming is an introduction to the Java-based scripting language Groovy. Groovy has much in common with popular scripting languages such as Perl, Python, and Ruby, but is written in a Java-like syntax. And, unlike these other languages, Groovy is sanctioned by the Java community for use on the Java platform. Since it is based on Java, applications written in Groovy can make full use of the Java Application Programmer Interfaces (APIs). This means Groovy can integrate seamlessly with applications written in Java, while avoiding the complexities of the full Java language. This bare-bones structure also means Groovy can be used as an introduction to Java and to programming in general. Its simpler constructions and modern origins make it ideal as a first language and for introducing principles such as object-oriented programming. This book introduces all the major aspects of Groovy development and emphasizes Groovy's potential as a learning tool. Case studies and exercises are included, along with numerous programming examples. The book begins assuming only a general familiarity with Java programming, and progresses to discuss advanced topics such as GUI builders, Groovlets, Unit Testing, and Groovy SQL. The first comprehensive book on Groovy programming that shows how writing applications and scripts for the Java platform is fast and easy Written by leading software engineers and acclaimed computing instructors Offers numerous programming examples, code samples, detailed case studies, exercises for self-study, and a companion website with a Windows-based Groovy editor

Groovy 2 Cookbook

Groovy 2 Cookbook
Author: Andrey Adamovich,Luciano Fiandesio
Publsiher: Packt Publishing Ltd
Total Pages: 625
Release: 2013-10-22
Genre: Computers
ISBN: 9781849519373

Download Groovy 2 Cookbook Book in PDF, Epub and Kindle

This book follows a Cookbook style and is packed with intermediate and advanced level recipes.This book is for Java developers who have an interest in discovering new ways to quickly get the job done using a new language that shares many similarities with Java. The book’s recipes start simple, therefore no previous Groovy experience is required to understand the code and the explanations accompanying the examples.

Programming Groovy 2

Programming Groovy 2
Author: Venkat Subramaniam
Publsiher: Pragmatic Bookshelf
Total Pages: 497
Release: 2013-07-15
Genre: Computers
ISBN: 9781680504347

Download Programming Groovy 2 Book in PDF, Epub and Kindle

Groovy brings you the best of both worlds: a flexible, highly productive, agile, dynamic language that runs on the rich framework of the Java Platform. Groovy preserves the Java semantics and extends the JDK to give you true dynamic language capabilities. Programming Groovy 2 will help you, the experienced Java developer, learn and take advantage of the latest version of this rich dynamic language. You'll go from the basics of Groovy to the latest advances in the language, including options for type checking, tail-call and memoization optimizations, compile time metaprogramming, and fluent interfaces to create DSLs. You don't have to leave the rich Java Platform to take advantage of Groovy. Groovy preserves Java's semantics and extends the JDK, so programming in Groovy feels like the Java language has been augmented; it's like working with a lighter, more elegant Java. If you're an experienced Java developer who wants to learn how Groovy works, you'll find exactly what you need in this book. You'll start with the fundamentals of programming in Groovy and how it works with Java, and then you'll explore advanced concepts such as unit testing with mock objects, using Builders, working with databases and XML, and creating DSLs. You'll master Groovy's powerful yet complex run-time and compile-time metaprogramming features. Much has evolved in the Groovy language since the publication of the first edition of Programming Groovy. Programming Groovy 2 will help you learn and apply Groovy's new features. Creating DSLs is easier now, and Groovy's already-powerful metaprogramming facilities have improved even more. You'll see how to work with closures, including tail call optimization and memoization. The book also covers Groovy's new static compilation feature. Whether you're learning the basics of the language or interested in getting proficient with the new features, Programming Groovy 2 has you covered. What You Need To work on the examples in the book you need Groovy 2.0.5 and Java JDK 5 or higher.

Learning Groovy

Learning Groovy
Author: Adam L. Davis
Publsiher: Apress
Total Pages: 116
Release: 2016-08-05
Genre: Computers
ISBN: 9781484221174

Download Learning Groovy Book in PDF, Epub and Kindle

Start building powerful apps that take advantage of the dynamic scripting capabilities of the Groovy language. This book covers Groovy fundamentals, such as installing Groovy, using Groovy tools, and working with the Groovy Development Kit (GDK). You'll also learn more advanced aspects of Groovy, such as using Groovy design patterns, writing DSLs in Groovy, and taking advantage of Groovy's functional programming features. There is more to Groovy than the core language, so Learning Groovy covers the extended Groovy ecosystem. You'll see how to harness Gradle (Groovy's build system), Grails (Groovy's web application framework), Spock (Groovy's testing framework), and Ratpack (Groovy's reactive web library). What You'll Learn Grasp Groovy fundamentals, including the GDK or Groovy Development Kit Master advanced Groovy, such as writing Groovy DSLs Discover functional programming in Groovy Work with GPars, the built-in concurrency library Use Gradle, the build system Master Grails, the web application framework Work with Spock, the testing framework Harness Ratpack, the reactive web library Who This Book Is For Although this book is intended for those with a Java background, anyone with basic programming skills could benefit from it. This book is a data-filled, yet easy-to-digest tour of the Groovy language and ecosystem.

The Definitive Guide to Grails 2

The Definitive Guide to Grails 2
Author: Jeff Scott Brown,Graeme Rocher
Publsiher: Apress
Total Pages: 351
Release: 2013-02-03
Genre: Computers
ISBN: 9781430243786

Download The Definitive Guide to Grails 2 Book in PDF, Epub and Kindle

Grails is a full stack framework which aims to greatly simplify the task of building serious web applications for the JVM. The concepts within Grails, like interceptors, tag libs, and Groovy Server Pages (GSP), make those in the Java community feel right at home. Grails’ foundation is on solid open source technologies such as Spring, Hibernate, and SiteMesh, which gives it even more potential in the Java space: Spring provides powerful inversion of control and MVC, Hibernate brings a stable, mature object relational mapping technology with the ability to integrate with legacy systems, and SiteMesh handles flexible layout control and page decoration. Grails complements these with additional features that take advantage of the coding–by–convention paradigm such as dynamic tag libraries, Grails object relational mapping, Groovy Server Pages, and scaffolding. Graeme Rocher, Grails lead and founder, and Jeff Brown bring you completely up–to–date with their authoritative and fully comprehensive guide to the Grails 2 framework. You’ll get to know all the core features, services, and Grails extensions via plug–ins, and understand the roles that Groovy and Grails are playing in the changing Web.

Grails in Action

Grails in Action
Author: Peter Ledbrook,Glen Smith
Publsiher: Simon and Schuster
Total Pages: 856
Release: 2014-06-10
Genre: Computers
ISBN: 9781638355311

Download Grails in Action Book in PDF, Epub and Kindle

Summary Grails in Action, Second Edition is a comprehensive introduction to Grails 2 focused on making you super-productive fast. In this totally revised new edition, you'll master Grails 2.3 core skills as you apply TDD techniques to developing a full-scale Twitter clone. Along the way you'll learn the latest single-page web app UI techniques, work with NoSQL backends, integrate with enterprise messaging, and implement a complete RESTful API for your services. Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications. About the Technology It may be time for you to stop reconfiguring, rewriting, and recompiling your Java web apps. Grails, a Groovy-powered web framework, hides all that busy work so you can concentrate on what your applications do, not how they're built. In addition to its famously intuitive dev environment and seamless integration with Spring and Hibernate, the new Grails 2.3 adds improved REST support, better protection against attacks from the web, and better dependency resolution. About the Book Grails in Action, Second Edition is a comprehensive introduction to Grails 2. In this totally revised edition you'll master Grails as you apply TDD techniques to a full-scale example (a Twitter clone). Along the way you'll learn single-page web app techniques, work with NoSQL back ends, integrate with enterprise messaging, implement a RESTful API ... and more. No Java or Groovy knowledge is required. Some web development and OOP experience is helpful. What's Inside Covers Grails 2.3 from the ground up Agile delivery and testing using Spock How to use and manage plugins Tips and tricks from the trenches About the Authors There's no substitute for experience: Glen Smith and Peter Ledbrook have been fixtures in the Grails community, contributing code, blogging, and speaking at conferences worldwide, since Grails 0.2. Table of Contents PART 1 INTRODUCING GRAILS Grails in a hurry The Groovy essentials PART 2 CORE GRAILS Modeling the domain 63 Creating the initial UI Retrieving the data you need Controlling application flow Services and data binding Developing tasty forms, views, and layouts PART 3 EVERYDAY GRAILS Building reliable applications Using plugins: just add water Protecting your application Exposing your app to other programs Single-page web applications (and other UI stuff) Understanding Spring and transactions PART 4 ADVANCED GRAILS Understanding events, messaging, and scheduling NoSQL and Grails Beyond compile, test, run Grails in the cloud BONUS ONLINE CHAPTERS Advanced GORM kung fu Developing plugins