The Spring Blog

Engineering
Releases
News and Events

This Week in Spring - January 10th, 2017

Welcome to another installment of This Week in Spring! This week I’m in San Francisco and New York City talking to developers and toiling on the final edits to the O’Reilly book Cloud Native Java (almost there!). Also, marketing ninja Pieter Humphrey is ramping up the S1P 2016 replays, so fasten your seat belt and check the S1P 2016 YouTube playlist for the most current releases. We’ve got a lot to cover this week so let’s get to it!

Read more...

SpringOne Platform 2016 Replay: Spring Cloud with Consul and Vault

Recorded at SpringOne Platform 2016.
Speaker: Spencer Gibb
Slides: http://www.slideshare.net/SpringCentral/spring-cloud-with-consul-and-vault

Historically it is difficult to store and configure secrets within applications. In the new age of microservices, it is also a challenge to register instances for discovery. Fortunately, Consul and Vault make securing secrets a breeze. Consul’s Service Registration mechanism makes easy work of service discovery. When combined with Spring Boot’s auto configuration we can leverage Consul and Vault by simply updating our classpath.

Read more...

SpringOne Platform 2016 Replay: Advanced Spring Data REST

Recorded at SpringOne Platform 2016.
Speaker: Oliver Gierke
Slides: http://www.slideshare.net/SpringCentral/advanced-spring-data-rest

Spring Data REST provides a solid foundation to build domain-driven REST webservices leveraging hypermedia. It takes away the boilerplate part of the development and allows you to concentrate and easily hook code to cover more advanced scenarios, like custom state transitions. The talk is going to look into which means the library provides to easily integrate manually coded REST resources, tweak representations and work with lookup types (database backed value types) and especially focusses on the features added in recent releases.

Read more...

SpringOne Platform 2016 Replay: Let's visualize your spring boot applications

Recorded at SpringOne Platform 2016.
Speaker: Shin Tanimoto
Slides: http://www.slideshare.net/SpringCentral/lets-visualize-your-spring-boot-applications

In the microservice era, working with tens of hundreds of services leads to difficulties getting a grasp of the application health such as error frequency, server resources, response times and throughput. It is said visualization tools can help us command a view of the whole system and detect problems in the early stages or prevent them from occurring, but the important thing is to choose proper tools and create dashboards the right way.

Read more...

SpringOne Platform 2016 Replay: Spring Data and In-memory Data Management in Action

Recorded at SpringOne Platform 2016.
Speakers: John Blum, Luke Shannon
Slides: http://www.slideshare.net/SpringCentral/spring-data-and-inmemory-data-management-in-action-64852094

In this session we will be presenting and coding a live Spring Boot-based application powered by Apache Geode (a.k.a. Pivotal GemFire) running on Cloud Foundry. Attendees will learn in-memory computing and data management concepts including data access and querying using Spring Data Repositories and GemFire OQL, complex/real-time event processing with GemFire CQs, data affinity using GemFire Functions conveniently implemented and executed with Spring Data GemFire Function annotation support and finally effective testing strategies and techniques for testing highly-concurrent, distributed applications using Spring’s test framework along with JUnit, Mockito and MultithreadedTC.

Read more...

SpringOne Platform 2016 Replay: Consuming Data Services with Spring Apps on Cloud Foundry

Recorded at SpringOne Platform 2016.
Speakers: Scott Frederick
Slides: http://www.slideshare.net/SpringCentral/consuming-data-services-with-spring-apps-on-cloud-foundry

Applications running on Cloud Foundry often need to connect to data services such as relational databases, document and data structure stores, and messaging services. Spring Cloud Connectors, Spring Boot and Cloud Foundry make it easy to connect Java and Spring applications to these types of data sources. Spring Boot and the Cloud Foundry Java Buildpack provide auto-configuration capabilities that make it possible to connect to data services with no application code changes for simple use cases, yet back away gracefully when custom configuration of connections is required.

Read more...

SpringOne Platform 2016 Replay: Sneek Peek at Spring Data Cassandra

Recorded at SpringOne Platform 2016.
Speakers: Mark Paluch, John Blum
Slides: http://www.slideshare.net/SpringCentral/sneak-peek-at-spring-data-cassandra

Spring Data Cassandra was a community-maintained module for several years. The Spring Data team promotes the Cassandra module with the Ingalls release train to a core module. Project leads John Blum and Mark Paluch will guide you through the upcoming changes in Spring Data Cassandra and give you an impression what to expect from the upcoming version.

Read more...

Spring Cloud Task 1.1.1.RELEASE is now available

We are pleased to announce that Spring Cloud Task 1.1.1.RELEASE is now available via Github, Pivotal download repository, and Maven Central.

The main driver for this Spring Cloud Task release is to replace the MYISAM engine that is used to create TASK_SEQ table for the MySQL database with the InnoDB engine.

For more information please look at the following Github issue.

What do you think?

We look forward to your feedback on these new features in Github, StackOverflow, or to me directly via Twitter @michaelminella!

Read more...

Spring Boot 1.5.0 RC1 Available Now

Spring Boot v1.5.0.RC1 is available now from the Spring milestone repository. This release closes over 220 issues and pull requests! Thanks to everyone that has contributed!

Highlights of the new release include:

  • Out of the box security for actuators
  • Auto-configured @IntegrationComponentScan
  • Auto-detection of spring.jpa.database
  • Support for Apache Kafka
  • Support for Cloud Foundry and actuator integration
  • Support for embedded in-memory LDAP server and auto-configuration for any compliant LDAP server
  • Upgrades to Spring Data Ingalls, Jetty 9.4, JooQ 3.9, AssertJ 2.6.0, Hikari 2.5 and Neo4J 2.1 and more
  • Upgrades to several Maven plugins
Read more...

Spring Integration 5.0 Milestone 2 Available

On behalf of the Spring Integration team I’d like to announce the Second Milestone of Spring Integration 5.0, which is available in the Milestone Repository.

Some highlights of this release since the previous Milestone.

Of course, first of all, big thanks to you, the community, for your contributions!

MongoDb Improvements

  • MongoDbOutboundGateway - for performing queries or any arbitrary operation on the collection

  • An initial Java DSL support for MongoDB components

  • The MongoDb component now can use org.springframework.data.mongodb.core.query.Query API in their expressions

@Bean
public IntegrationFlow mongoDbGatewayFlow() {
    return f -> f
        .handle(MongoDb.outboundGateway(this.mongoTemplate)
                            .collectionCallback(MongoCollection::count)
                            .collectionNameFunction(m ->
                                           m.getHeaders().get("collection")));
}
Read more...