The Spring Blog

Engineering
Releases
News and Events

SpringOne Platform 2016 Replay: Leadership Election with Spring Cloud Cluster

Recorded at SpringOne Platform 2016.
Speaker: Dr. David Syer
Slides: http://www.slideshare.net/SpringCentral/leadership-election-with-spring-cloud-cluster

Leader election allows application to work together with other applications to coordinate a cluster leadership via a third party system. A leader can then be used to provide global state or global ordering, generally without sacrificing availability. In this presentation we show how Spring Cloud Cluster provides a simple abstraction for leader election and how it is implemented using zookeeper, hazelcast and etcd.

Read more...

SpringOne Platform 2016 Replay: Building applications with Angular JS and Spring Security

Recorded at SpringOne Platform 2016.
Speaker: Dr. David Syer
Slides: http://www.slideshare.net/SpringCentral/building-applications-with-angular-js-and-spring-security

In this presentation we show some nice features of Spring Security, Spring Boot and Angular JS working together to provide a pleasant and secure user experience. Things to consider are cookies, headers, native clients, various security vulnerabilities and how modern browser technology can help us to avoid them. In this series we show how nicely features of the component frameworks can be integrated simply to provide a pleasant and secure user experience. We start with a very basic single-server implementation and scale it up in stages, splitting out backend resources and authentication to separate services.

Read more...

SpringOne Platform 2016 Replay: To Spring Security 4.1 and Beyond

Recorded at SpringOne Platform 2016.
Speakers: Rob Winch, Joe Grandja
Slides: http://www.slideshare.net/SpringCentral/to-spring-security-41-and-beyond

Exploits are continually evolving making security hard. This is compounded by the fact that the technologies we need to secure are a moving target.

In this talk we will discuss how to easily secure an application with Spring Security 4.1. We will focus on some of the new features found in Spring Security 4.1 and discuss the future direction of Spring Security.

Read more...

SpringOne Platform 2016 Replay: DDD & REST - Domain Driven APIs for the web

Recorded at SpringOne Platform 2016.
Slides: http://www.slideshare.net/SpringCentral/ddd-rest-domain-driven-apis-for-the-web

While Domain Driven Design is supposed to take care of complexity in the very core of software, REST is usually treated a plain remoting technology. In this talk we’re going to explore some commonalities of the two when it comes to the design of both the domain and resources. We’re going to discover how a good domain design is essential to build a great REST API in the first place and which means REST provides to make your APIs more domain driven. From all of the building blocks of DDD, the talk identifies the ones most important when it comes to building a good REST API: we’re going to look at aggregates as natural boundaries for representations, repositories as the backing foundation for collection resources and how hypermedia allows to make domain specific state transitions explicit.

Read more...

SpringOne Platform 2016 Replay: From Imperative To Reactive Web Apps

Recorded at SpringOne Platform 2016.
Speaker: Rossen Stoyanchev
Slides: http://www.slideshare.net/SpringCentral/imperative-to-reactive-web-applications

The reactive programming model involves a fundamental shift from imperative to non-blocking logic and understanding what that means on the most basic level is an essential and required first step. In this talk we’ll start by introducing reactive programming and discuss how it impacts application design. Then we’ll take a look at the building blocks from a Java developer’s perspective. Finally we’ll complete the picture by checking out the upcoming Spring 5 support for reactive web applications.

Read more...

CQRS and Event Sourcing with Jakub Pilimon

Google Hangout on Air recording.

Event sourced domain naturally leads to messaging infrastructure and CQRS based services. See how we can benefit from getting rid of typical relational database model replaced by events. See how events come along with projections and different read model. In this talk we are going to explore all of this backed by a real Spring Cloud Stream applications.

twitter: https://twitter.com/JakubPilimon
github: https://github.com/pilloPl
blog: http://pillopl.github.io/

Read more...

Webinar Replay: Consumer Driven Contracts and Your Microservice Architecture

Speaker: Marcin Grzejszczak
Slides: http://www.slideshare.net/MarcinGrzejszczak/consumer-driven-contracts-and-your-microservice-architecture-67641511

TDD introduced many improvements into the development process, but in our opinion the biggest impact relates to code design. Looking at the code from the usage perspective (by first writing an acceptance test) allows us to focus on usability rather than concrete implementation. Unfortunately, we usually rest on our laurels not trying to uplift this practice to the architecture level.

Read more...

Webinar: Bootiful CQRS with Axon - Nov 16

Speakers: Josh Long, Allard Buijze

We get it already! Microservices let you decompose your application into small, singly-focused, reusable and internally consistent bounded contexts - services - deployed over a network.

Great, but that still doesn’t help me get these systems to agree on the worldview of my domain! And that’s because…there is no world view of the model that is correct for all services involved.

Join Axon framework founder and lead, Allard Buijze at Trifork and Spring Developer Advocate Josh Long, for a look at how to integrate different systems with different read and write characteristics using Axon, a CQRS (Command Query Responsibility Segregation) framework that builds on Spring and Spring Boot.

Read more...

Webinar Replay: Data Microservices in the Cloud

Speakers: Mark Pollack, Mark Fisher
Spring Cloud Data Flow enables you to create data pipelines for many common use-cases such as data ingestion, real-time analytics and data import/export.
In this webinar, we will introduce Spring Cloud Data Flow’s architecture and walk through the orchestration capabilities of long-running and short-lived data-centric applications on multiple runtime platforms such as Cloud Foundry, Kubernetes, Apache Mesos and Apache YARN.
Spring Cloud Data Flow represents the evolution of Spring XD and retains the DSL to define data pipelines as well as the web based UI designer, but changes the component model from modules that used to run inside a container to standard Spring Boot applications built with Spring Cloud Stream and Spring Cloud Task APIs.

Read more...

Webinar: Consumer Driven Contracts and Your Microservice Architecture

TDD introduced many improvements into the development process, but in our opinion the biggest impact relates to code design. Looking at the code from the usage perspective (by first writing an acceptance test) allows us to focus on usability rather than concrete implementation. Unfortunately, we usually rest on our laurels not trying to uplift this practice to the architecture level.

This presentation will show you how you can use the Spring Cloud Contract Verifier functionality in order to have a fully automated solution to stub your HTTP / Messaging collaborators. Just by adding proper configuration, you’ll surround the microservices you are testing with faked stubs that are tested against their producer, making much more realistic tests.

Read more...