Video description
Learn advanced techniques for working with the Groovy programming language. In this video workshop, presenter and Java consultant Ken Kousen shows you how to create RESTful web services, conduct Unit Tests, apply Groovy’s functional programming features, and use Java’s Spring Framework in conjunction with this JVM language.
Once you complete this course, check out Ken’s other videos on the subject: Practical Groovy and Groovy Fundamentals. These courses demonstrate the many advantages of adding Groovy to existing projects written in Java and other object-oriented languages.
- Work with refreshable beans, inline scripted beans, POGOs as Spring beans, and see how Groovy works with Spring Boot
- Learn about higher-order functions, immutable objects, and functional concepts including composition, method references, and memoize
- Add persistence capabilities based on both JPA and NoSQL databases
- Use Groovy traits for composition to simulate multiple inheritance
- Dive into RESTful web services, including Groovy clients, and RESTful services with JAX-RS
- Apply Unit Testing with JUnit and Spock
Ken Kousen, President of Kousen IT, Inc., is a technical trainer, mentor, and consultant in all areas related to Java, specializing in Android, Spring, Hibernate/JPA, Groovy, and Grails. He is the author of Making Java Groovy (Manning) and the upcoming O’Reilly book, Gradle for Android.
Publisher resources
Table of contents
-
Introduction and Review
- A Quick Groovy Review 00:21:39
-
Unit Testing with the Spock Framework
- Introduction to Spock 00:05:59
- Blocks: expect 00:07:07
- Blocks: when/then 00:10:09
- Blocks: setup, cleanup, the old Method, and Exception Handling 00:07:03
- Data-Driven Specs 00:09:48
- Database-Driven Specs and Processed Inputs 00:08:19
- Mocking Collaborators 00:15:40
-
Groovy and the Spring Framework
- POGOs as Spring Beans 00:18:25
- Refreshable Beans 00:08:45
- Groovy Aspects and Inline Scripted Beans 00:12:23
- Grails and Spring 00:06:35
- Groovy and Spring Boot 00:08:35
-
JPA and Groovy
- JPA and Groovy 00:10:27
-
NoSQL and Groovy
- NoSQL and Groovy 00:24:33
-
Functional Programming in Groovy
- Closures, Lambdas, and Currying 00:18:52
- Map-filter-reduce and Inject 00:10:47
- Immutable Objects 00:08:03
- Composition, Method References, and Memoize 00:13:19
- Traits
-
Demonstrations
- Demo: Creating a Range 00:09:49
- Demo: Basic Authentication 00:07:58
- Demo: Closure Coercion 00:13:16
- Demo: Returning from Closures 00:11:31
- Demo: Dates and Times 00:04:35
-
RESTful Web Services
- REST Principles 00:11:45
- Groovy Clients for REST 00:08:03
- Implementing RESTful Services Using JAX-RS 00:18:09
- Customizing Messages with JsonBuilder and JsonSlurper 00:09:09
- REST with Ratpack and Grails 00:09:24
- Course Wrap Up 00:01:47
Product information
- Title: Mastering Groovy Programming
- Author(s):
- Release date: June 2015
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781491930915
You might also like
video
Groovy Programming Fundamentals
Learn the advantages of using Groovy by itself and with existing Java projects. This video workshop …
video
Practical Groovy Programming
Take your basic Groovy skills to the next level with this practical video workshop. Presenter and …
video
Groovy Programming Fundamentals for Java Developers
There are not many technologies that can brag about staying relevant for more than 30 years. …
video
Parallel Functional Programming with Java LiveLessons
16+ Hours of Video Instruction Parallel Functional Programming in Java LiveLessons describes by example how to …