Nebraska.Code() Sessions tagged java

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

AOP: Add a new Aspect to your Java Programming

Aspect-Oriented Programming (AOP) complements Object-Oriented Programming (OOP) by providing another way of thinking about program structure. The key unit of modularity in OOP is the class, whereas in AOP the unit of modularity is the aspect. We'll talk about AOP and its concepts including Aspect, Pointcut, and Advice. Then we'll use Spring AOP to put these concepts to use in a Java application.

Speaker

Scott Bock

Scott Bock

Senior Software Consultant, Object Partners

REST for the Weary: Using Spring Boot and Spring Data to create easy RESTful services

Using Spring Boot and Spring Data we'll create a REST microservice from scratch. We'll delve into HATEOAS and the advantages of a hypermedia-driven system.

Speaker

Scott Bock

Scott Bock

Senior Software 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

Up your testing game with JUnit 5

The latest in the venerable JUnit suite, version five fixes many of the annoyances while modernizing and opening up the platform. This version improves JUnit testing to use the newest Java features like Lambdas, expands the ability to control and monitor the test lifecycle, and introduces new constructs to support Behavior Driven Development (BDD).

In this session you'll learn how to use all of these features as well as how to get them up-and-running alongside your existing test suite. We'll also talk about how you can write custom test engines to extend the capabilities of your tests.

Speaker

Mike Plummer

Mike Plummer

Principal Consultant, Object Partners

Kotlin: JVM Superpowers

Kotlin is a relative newcomer to the pantheon of JVM bytecode-compatible languages. Joining veterans like Groovy and Scala, it takes a fresh approach that avoids a lot the annoying aspects of Java while providing the power and flexibility of its siblings. But it has a secret superpower - Kotlin can compile directly to both Java and JavaScript.

In this talk we'll do some brief overview of Kotlin syntax and capabilities before diving into a start-to-finish example of Kotlin in action in a client-server application. Shield your eyes from the super syntax, reminisce about how you used to live in fear of NullPointerExceptions, laugh about all those times you had duplicate the same utility functions in Java and JavaScript.

Speaker

Mike Plummer

Mike Plummer

Principal Consultant, Object Partners

This Old Java App

You get told you have a new project, something you’ve heard about but someone else always took care of. Well, someone else is gone and it’s your turn now. It’s dropped in your lap and you don’t know which way is up, how the project actually works, why they made their decisions at all, let alone how to actually manage any changes in this project.

This talk will give you an idea how and where to start – and how to keep your sanity. Maybe you will be the hero after all.

The examples will be in Java but the ideas are the same, regardless of platforms.

Speaker

Mike Hostetler

Mike Hostetler

Principal Consultant, Object Partners, Inc