The Spring Blog

Engineering
Releases
News and Events

SpringOne Platform 2016 Replay: Writing your own Spring Boot Starter

Recorded at SpringOne Platform 2016.
Speaker: Dieter Hubau
Slides: http://www.slideshare.net/SpringCentral/writing-your-own-spring-boot-starter

Anyone who is actively using Spring must have heard of Spring Boot by now. It is the current de facto standard tool to start with a new Spring project and will become even more prevalent over the coming years. Next to an easy to use interface at start.spring.io and very good documentation, there are a ton of so called Spring Boot Starters which a developer can use to jumpstart their development. While the auto-configuration and starters often seem to be magically endowed creatures originating from the deepest regions of the forest moon of Endor… there are not. In fact, anyone can write his or her own Spring Boot Starter. During the presentation, I will explain the inner workings of a Spring Boot Starter project and go over the necessary code for creating our own. I will use my recently developed starter for integrating Spring Social with a Redis backed datastore. At the end of the session, the audience will know that the Spring Boot autoconfiguration and starter projects are not magical unicorns, but easy to understand components in the Spring Boot ecosystem. They will also learn how to create their own Spring Boot Starter project and hopefully, they will be inclined to become proactively involved in the Spring Boot project.

Read more...

SpringOne Platform 2016 Replay: 10 Ways to Get Super Productive with Spring Boot

Recorded at SpringOne Platform 2016.
Speakers: Stéphane Nicoll, Brian Clozel
Slides: None, all live coding
Spring Boot DevTools is not the only new feature that boosts your productivity. During this live coding session, we’ll work on 10 common app features and see how Boot is making your life easier.

We’ll cover the following:

Development cycle with Devtools, H2 Web console and persistent web sessions
Manage custom error pages
Managing application Cache
Supporting OAuth2 in your app
Using your custom AuthenticationPrincipal
Using a persistent database in production
Evolving your database schema with Flyway
Custom Boot configuration (key hint, metadata)
Gathering and exporting app Metrics
Dealing with static resources in web apps

Read more...

SpringOne Platform 2016 Replay: JDK 8: Lessons Learnt With Lambdas and Streams

Recorded at SpringOne Platform 2016.
Speaker: Simon Ritter, Azul
Slides: http://www.slideshare.net/SpringCentral/jdk8-lessons-learnt-with-lambdas-and-streams

Lambda expressions and the streams API add a more functional style of programming to Java; something developers have not really had in the past.

This session will start with a short summary of the key features of both Lambda expressions and streams before moving on to some real world examples of how to use them effectively, including a number of lessons learnt from trying to apply an imperative style of programming when it should have been functional.

Read more...

SpringOne Platform 2016 Replay: 40 Tips & Tricks for Spring in IntelliJ IDEA

Recorded at SpringOne Platform 2016.
Speakers: Stephane Nicoll and Yann Cebron, JetBrains
Slides: None, live coding
IDEs can be powerful, but hard to learn. Some features are hidden or simply not well known.

Let’s end this dilemma and make you more productive and efficient when working on Spring applications. Learn how to navigate, edit and perform refactorings across a variety of common Spring technologies.

You’ll leave this session with a whole stack of power tricks - right from the developers working on it.

Read more...

SpringOne Platform 2016 Replay: Project Jigsaw in JDK 9: Modularity Comes To Java

Recorded at SpringOne Platform 2016.
Speaker: Simon Ritter, Azul Systems
Slides: http://www.slideshare.net/SpringCentral/project-jigsaw-in-jdk-9-modularity-comes-to-java-64849781

Project Jigsaw will bring modularity to the Java platform; something that will enable better security, performance and flexibility for deployment of applications. This talk will look at the fundamentals of how modularity in Java will work. Developers will need to understand that these changes go significantly further than just separating the standard class libraries into a number of discrete units.

Read more...

SpringOne Platform 2016 Replay: Machine Learning Exposed!

Recorded at SpringOne Platform 2016.
Speaker: James Weaver
Slides: http://www.slideshare.net/SpringCentral/machine-learning-exposed-64845395
The term “machine learning” is increasingly bandied about in corporate settings and cocktail parties, but what is it, really? In this session we’ll answer that question, providing an approachable overview of machine learning concepts, technologies, and use cases. We’ll then take a deeper dive into machine learning topics such as supervised learning, unsupervised learning, and deep learning. We’ll also survey various machine learning APIs and platforms. Technologies including Spring and Cloud Foundry will be leveraged in the demos. You’ll be the hit of your next party when you’re able to express the near-magical inner-workings of artificial neural networks!

Read more...

SpringOne Platform 2016 Replay: Developing a Geospatial Webservice with Kotlin and Spring Boot

Recorded at SpringOne Platform 2016.
Speaker: Sébastien Deleuze
Slides: http://www.slideshare.net/SpringCentral/developing-a-geospatial-webservice-with-kotlin-and-spring-boot

As described in this announcement I made on the Spring blog, it is now easy to create a Spring Boot application using Kotlin.

Thanks to a sample Geospatial messenger application, I will show how Spring Boot and Kotlin share the same pragmatic, innovative and opinionated mindset to allow you to build simple but powerful projects.

Read more...

SpringOne Platform 2016 Replay: High Performance Microservices with Ratpack and Spring Boot

Recorded at SpringOne Platform 2016.
Speaker: Dan Woods
Slides: http://www.slideshare.net/SpringCentral/high-performance-microservices-with-ratpack-and-spring-boot-64889596

Ratpack and Spring Boot are a match made in microservice heaven. Each brings its respective strengths to the task of building a compelling service for the cloud. Spring Boot’s incorporation of the Spring and Spring Cloud ecosystems make it an excellent choice for building service components; Ratpack’s nature as a reactive web framework and its emphasis on performance and efficiency make it a premiere choice for a durable web tier. When the two frameworks join forces, developers become unstoppable. This talk will showcase Ratpack and Spring Boot’s complementary integrations, and demonstrate, through live coding, building a high performance microservice.

Read more...

SpringOne Platform 2016 Replay: No outage database development with Spring Boot and Liquibase

Recorded at SpringOne Platform 2016.
Speakers: Barrington-Hughes, Ramaswamy, Premier Healthcare Inc
Slides: http://www.slideshare.net/SpringCentral/no-outage-database-development-with-spring-boot-and-liquibase

Pavi and I work on a project in Premier where we’ve embedded Liquibase into the start of our Spring Boot applications to upgrade our database in-direct coupling with the code we are deploying.

Using a measured and planned approach to agile database development and careful refactoring of the database with more frequent but smaller changes, we facilitate having no outage deployments along with database schema upgrades.

Read more...

SpringOne Platform 2016 Replay: Next Level Spring Boot Tooling

Recorded at SpringOne Platform 2016.
Speakers: Martin Lippert, Kris De Volder, Andy Clement
Slides: http://www.slideshare.net/SpringCentral/next-level-spring-boot-tooling

The recent releases of the widely used Spring tooling for Eclipse have focused a lot on making Spring Boot app and microservice development easier and more effective. In this talk we will showcase the latest features for working with Spring Boot - using live demos and live coding. We will show the easiest ways to get started with Spring Boot, move on to advanced features for dealing with Spring Boot properties in property and YAML files (including greatly improved content-assist, validations, hover help), and demo the Spring Boot dashboard. This major innovation in the Spring tooling makes it extremely easy to deal with potentially many Spring Boot microservice projects in your workspace. We will demo all the new features, including advanced editing of Cloud Foundry manifest files and the ability to detect and merge configuration changes between your cloud runtime and your workspace projects. The talk is all about being more effective in your IDE when working with Spring Boot and turning your IDE into a microservice development center when working with Spring Boot, Spring Cloud, and a cloud-native runtime like Cloud Foundry.

Read more...