|
Making Java Groovy 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.
Part 1 Up to speed with Groovy
Chapter 1 Why add Groovy to Java? Issues with Java Groovy features that help Java Java use cases and how Groovy helps
Chapter 2 Groovy by example Hello, Groovy Accessing Google Chart Tools Groovy Baseball
Chapter 3 Code-level integration Integrating Java with other languages Executing Groovy scripts from Java
Chapter 4 Using Groovy features in Java Treating POJOs like POGOs Implementing operator overloading in Java Making Java library classes better: the Groovy JDK Cool AST transformations Working with XML Working with JSON data
Part 2 Groovy tools
Chapter 5 Build processes The build challenge The Java approach, part 1: Ant Making Ant Groovy The Java approach, part 2: Maven Grapes and @Grab The Gradle build system
Chapter 6 Testing Groovy and Java projects Working with JUnit Testing scripts written in Groovy Testing classes in isolation The future of testing: Spock
Part 3 Groovy in the real world
Chapter 7 The Spring framework A Spring application Refreshable beans Spring AOP with Groovy beans Inline scripted beans Groovy with Java Config Building beans with the Grails Bean Builder
Chapter 8 Database access The Java approach, part 1: JDBC The Groovy approach, part 1: groovy.sql.Sql The Java approach, part 2: Hibernate and JPA The Groovy approach, part 2: Groovy and GORM Groovy and NoSQL databases
Chapter 9 RESTful web services The REST architecture The Java approach: JAX-RS Implementing JAX-RS with Groovy RESTful Clients Hypermedia Other Groovy approaches
Chapter 10 Building and testing web applications Groovy servlets and Servlet Category Easy server-side development with groovlets Unit- and integration-testing web components Grails: the Groovy “killer app” ISBN - 9789351194019
|
|
Pages : 368
|