This Week in Spring - December 2, 2014

Welcome to another installment of This Week in Spring! This week I'm at the Rich Web Experience in Ft. Lauderdale, FL, joining my pal Matt Stine for a workshop on building microservices with Spring Boot, Spring Cloud and Cloud Foundry.

So, without further ado, let's get to it:

Read more...

Latest Jackson integration improvements in Spring

Updated on 2015/08/31 with an additional Jackson modules section

Spring Jackson support has been improved lately to be more flexible and powerful. This blog post gives you an update about the most useful Jackson related features available in Spring Framework 4.x and Spring Boot. All the code samples are coming from this spring-jackson-demo sample application, feel free to have a look at the code.

JSON Views

It can sometimes be useful to filter contextually objects serialized to the HTTP response body. In order to provide such capabilities, Spring MVC now has builtin support for Jackson’s Serialization Views (as of Spring Framework 4.2, JSON Views are supported on @MessageMapping handler methods as well).

Read more...

Spring Tool Suite and Groovy/Grails Tool Suite 3.6.3 released

Dear Spring Community,

I am happy to announce the new release of our Eclipse-based tooling today: The Spring Tool Suite (STS) 3.6.3 and the Groovy/Grails Tool Suite (GGTS) 3.6.3.

Highlights from this release include:

  • Pivotal tc Server updated to 3.0.2 (incl. Spring Insight on Java8)
  • Cloud Foundry for Eclipse now pre-installed
  • Many new Spring Integration extensions supported in the graphical Spring Integration editor
  • Gradle tooling has better handling for auto mapping of jar dependencies to project dependencies
Read more...

SpringOne2GX 2014 Replay: Security for Microservices with Spring and OAuth2

Security for Microservices with Spring and OAuth2

Recorded at SpringOne2GX 2014.

Speaker: Dr. David Syer

Slides: http://www.slideshare.net/SpringCentral/syer-microservicesecurity

OAuth2 is a lightweight security protocol that is well-suited for use with HTTP, the protocol at the heart of many modern architectures. Spring Security OAuth2 has a load of new features, not the least of which being the `@Configuration` support in version 2.0. Combine these with Spring Boot and you have a platform which can get you a secure HTTP service application in about 20 lines of code. This presentation shows how the combination of rapid development and production-ready features in the modern Spring stack are a perfect mixture for developing secure components in a system composed of microservices. We explore the new features in Spring OAuth2, guide you through the choice of which to use and when, and show how easy they are to enable quickly. This is the 90 minute version of the same talk that was on the Spring webinar program recently.

Read more...

SpringOne2GX 2014 Replay: Spring Boot and Netflix OSS

Recorded at SpringOne2GX 2014.

Speaker: Spencer Gibb, Dr. David Syer

Slides: http://www.slideshare.net/SpringCentral/syer-gibbcloud

Learn basic concepts about Spring Boot and Netflix OSS software and how to integrate Netflix OSS technologies into Spring Boot including: distributed configuration using Spring and Archaius Eureka (service registration and discovery) Feign (easy rest clients) Ribbon (client side load balancing) Hystrix (circuit breaker/fault tolerance library) RxJava (Reactive Programming library) Zuul (routing) Turbine and Hystrix Dashboard (service health dashboard)

Read more...

SpringOne2GX 2014 Replay: Building Reactive applications with Reactor and the Reactive Streams standa4d

Recorded at SpringOne2GX 2014.

Speakers: Jon Brisbin, Stephane Maldini

Slides:http://www.slideshare.net/SpringCentral/spring-one2gx-2014reactivestreams-41130280

This session will introduce attendees to the Reactive Streams project, a new initiative between reactive software's heavy-hitters like Pivotal, Typesafe, Netflix, Twitter, and others. Since Pivotal's own Reactor framework implements this informal standard, we'll demonstrate how to build applications that can connect to other Reactive Streams implementations in a completely non-blocking way.

Read more...

Webinar: Introducing the Java DSL for Spring Integration

Speaker: Gary Russell, Pivotal

The Spring Integration JavaConfig and DSL extension provides a set of convenient Builders and a fluent API to configure Spring Integration message flows from Spring @Configuration classes. The Java DSL for Spring Integration is essentially a facade for Spring Integration. The DSL provides a simple way to embed Spring Integration Message Flows into your application using the fluent Builder pattern together with existing Java and Annotation configurations from Spring Framework and Spring Integration as well. Another useful tool to simplify configuration is Java 8 Lambdas.

Read more...

Webinar: Building Scalable Data Applications with Spring and GemFire

Speaker: Luke Shannon

GemFire is Pivotal's distributed In Memory Data grid. In this session we will cover simplifying configuring a GemFire grid using Spring Data GemFire, and explore how data is dynamically distributed and made highly available as the grid resources are increased or decreased to meet increased client demand. GemFire access and testing patterns using Spring will be reviewed in detail. We will walk through creating a domain object and using Spring Data GemFire Repositories to perform CRUD operations on a GemFire grid, creating a Spring MVC/Spring Boot application that uses GemFire as its persistence layer, review how Spring Boot and Spring Data GemFire can be used to help with GemFire test cases and how Spring Data GemFire can make creation and execution of GemFire functions easier. We will also explore how Spring XD can be used to load and monitor data changes in the grid. This will be a hands on, code oriented session.

Read more...