Ken Kousen is the President of Kousen IT, Inc., through which he does technical training, mentoring, and consulting in all areas related to Java, specializing in Android, Spring, Hibernate/JPA, Groovy, and Grails. He is the author of the Manning book “Making Java Groovy” and the upcoming O’Reilly book “Gradle for Android”.
In 2013 he won a JavaOne Rock Star award. Over the past decade he has taught thousands of developers in business and industry. In addition to owning several technical certifications, his academic background includes two BS degrees from M.I.T., an MS and a Ph.D. from Princeton, and an MS in Computer Science from R.P.I.
Learn Android development from the ground up. We’ll start with the SDK and the Android Studio IDE and build, test, and deploy applications on both emulators and physical devices.
Several examples will be provided that cover a range of topics from basic activities to the SQLite database to accessing RESTful web services.
This session will move beyond the basics cover Android persistence mechanisms, accessing RESTful web services, and more. We’ll look at shared preferences, basic file I/O, and the Sqlite database. We’ll also show how to operate off of the UI thread to access data from remote servers.
The application will access JSON data on a remote server, parse the data, and update the user interface based on the response.
Topics in this session will include an in-depth discussion of fragments, as well as services, notifications, and the action bar.
Fragments are fundamental to Android applications, but their implementation can get complicated. We’ll look at simple ones, like the preferences fragment, then move to dialogs, and finally a complete summary/detail flow.
Android applications are finally moving away from Ant or IDE builds. The new build mechanism is based on Gradle, the popular build tool from the Groovy ecosystem. This talk will introduce Gradle to Android developers and show how easy it is to integrate into Android projects.
The latest version of the Android Studio IDE will be used to develop applications. Topics will include using the Android plugin for Gradle, implementing both unit and integration tests, customizing product flavors and variants, and more.
The Spock framework brings simple, elegant testing to Java and Groovy projects. It integrates cleanly with JUnit, so Spock tests can be integrated as part of an existing test suite. Spock also includes an embedded mocking framework that can be used right away.
In this presentation, we’ll look at several examples of Spock tests and review most of its capabilities, including mock objects and integration with Spring.
The Spock framework brings simple, elegant testing to Java and Groovy projects. It integrates cleanly with JUnit, so Spock tests can be integrated as part of an existing test suite. Spock also includes an embedded mocking framework that can be used right away.
In this presentation, we’ll look at several examples of Spock tests and review most of its capabilities, including mock objects and integration with Spring.
Statistics is hot lately, due in part to the easy availability of large data sets and the successes of people like Nate Silver. These aren’t your father’s statistics, however. A quiet revolution has swept through the field, shifting it from traditional frequentist methods toward a more Bayesian approach. This talk will discuss Bayes’ Theorem and show you how to do simple, back-of-the-envelope calculations to apply it to a wide variety of problems.
In addition, we’ll also talk about common errors non-experts make when dealing with statistical conclusions, ranging from small sample size issues to the use of arbitrary endpoints to the problem of overfitting and more.
Geb makes it easy to automate browser-based applications. In addition to providing a simple jQuery-like syntax for content selection, it provides a page model concept that makes it easy to write functional tests. Geb is based on the Spock testing framework, providing a straightforward syntax and easy execution model.
Geb can be used for scripting, scraping, or general automation, making it easy to write functional and acceptance tests for your web applications.
Technical people value expertise above all, but the ability to communicate with others in your organization is a big key to success. This talk will present helpful techniques, like reflective listening and the Myers-Briggs Type Indicator, that enable you to quickly decide how to lead your manager where you need him or her to go.
We’ll look at both written and oral communication methods, how to talk to supervisors as well as subordinates, and more.
This talk will cover the changes made to the Grails framework in moving to version 3, which is now based on the Gradle build system and uses Spring Boot under the hood.
In addition to those topics, we’ll discuss profiles, create a RESTful web service, and use the newly included Geb testing mechanism.
This talk will cover the changes made to the Grails framework in moving to version 3, which is now based on the Gradle build system and uses Spring Boot under the hood.
In addition to those topics, we’ll discuss profiles, create a RESTful web service, and use the newly included Geb testing mechanism.
Learn how to use the Spock testing framework in both Java and Groovy applications. This half-day workshop will demonstrate testing with both Spock and JUnit together for Java projects, Groovy projects, and projects that combine both technologies.
Topics will include writing specifications, using Spock mocks, and adding Spock enhancements.
Learn how to use the Spock testing framework in both Java and Groovy applications. This half-day workshop will demonstrate testing with both Spock and JUnit together for Java projects, Groovy projects, and projects that combine both technologies.
Topics will include writing specifications, using Spock mocks, and adding Spock enhancements.
Using the Android Studio IDE and the Gradle build tool will make Android app development much simpler—as long as you know your way around Gradle. This practical guide shows you how Gradle works with Android so that you can use it effectively on your projects. You’ll learn ways to customize project layouts, add dependencies, and even generate multiple different versions of your application.
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
About the Author
Ken Kousen is an independent consultant and trainer specializing in Spring, Hibernate, Groovy, and Grails.
Table of Contents