Nebraska.Code() Sessions tagged groovy

Multi-tenant Apps with Spring Boot

Hosting a Java multi-tenant software-as-a-service application can seem like a daunting task. Do you run a single web application but separate the data? But then how do you separate that data, at the full database or at the schema or column level? Or do you just run full separate stacks of your application?

Spring Boot with Spring Data and Hibernate provides a straightforward path to build the RESTful backend of a multi-tenant application using a client per-schema approach. In this talk you'll learn how to keep your Java & Groovy development code clean so that you seldom have to think about coding for multiple tenants, along with strategies for dealing with client-specific data requirements.

Speaker

Jeff Sheets

Jeff Sheets

Director of Technology, Object Partners

Test Often and Prosper

In this presentation you'll be introduced to the Spock testing & mocking framework. We'll see how writing tests in Spock compares to JUnit and why it will save you time; which will make you enjoy writing tests; which will make you a better programmer; which will make you more money.

If you're a Java developer, you'll also be introduced to Groovy. Using Groovy in testing code is a great introduction to the language and a foot in the door to getting it accepted as a langage standard within your company.

If you haven't been using JDK 8, the functional concepts and collection compreensions in Groovy will change your life.

Speaker

Derek Eskens

Derek Eskens

Senior Consultant, Object Partners

A JVM Testing Showdown: JUnit5 vs. Spock vs. Spek

After 10 years of stagnation in unit testing the JVM, there are finally some competitors vying to unseat JUnit 4's position atop the unit testing throne. Among these are newcomers JUnit 5 and Spek, as well as the more established Spock Framework. This presentation will cover the strengths and weaknesses of each of these frameworks while testing the same production code.

A large part of the differences in the three frameworks are the backing programming languages. The presentation will showcase how it is possible to test the same production code with Kotlin (Spek), Groovy (Spock), or Java (JUnit 5).

This presentation will also briefly touch on how the inovations in the JavaScript testing community have impacted these newer testing frameworks.

Finally, the presentation will cover how to start writing tests with these new frameworks in a legacy application.

Speaker

Jake Partusch

Jake Partusch

Sr. Consultant, Object Partners