New in Spring 5.3: Improved Cron Expressions

Engineering | Arjen Poutsma | November 10, 2020 | ...

If you regularly listen to A Bootiful Podcast, you might have heard about the improvements we made to Spring Framework’s cron support. Cron expressions are mostly used in Spring applications through the @Scheduled annotation. In Spring 5.3, we introduced the CronExpression class, which represents — you guessed it — a cron expression.

CronExpression replaces CronSequenceGenerator, which is based on java.util.Calendar and which has several known issues that none of the Spring team members felt comfortable solving. Introducing a new type allowed us to use the superior java.time APIs, solve the…

Spring Data 2020.0 - New and Noteworthy - A general Overview

Engineering | Christoph Strobl | November 06, 2020 | ...

Spring Data 2020.0, based on Spring Framework 5.3, is out and with it, a ton of new features across the various stores, which are covered by the individual modules. While posting highlights along with the milestone announcements, we wanted to give you a more detailed description of the new features in a series of blog posts. These posts will cover, among other things:

  • Reactive Context Access features in Data Commons.
  • Lifecycle callbacks and baselining to Spring R2DBC in R2DBC.
  • General Repository and store-specific Redis Cache Metrics.
  • Neo4J reactive repositories.
  • Paging repository APIs for Spring Data for Apache Geode.
  • Geoshape, index, and reactive search improvements for Spring Data Elasticsearch.
  • Partial filter and aggregation hints in MongoDB.
  • @Bean row mappers for the JDBC module.
  • Per-statement key spaces definition for the Apache Cassandra abstraction.
  • Declarative Couchbase N1QL queries.

This Week in Spring - November 3, 2020

Engineering | Josh Long | November 03, 2020 | ...

This Week in Spring - October 27th, 2020

Engineering | Josh Long | October 27, 2020 | ...

Hi, Spring fans! Welcome to another installment of This Week in Spring! It's already nearly November in this crazy rollercoaster ride that is 2020. Crazy.

We've got a ton of stuff to get to so let's waste not a second more.

Case Study: Aggregator Function and Processor

Engineering | Artem Bilan | October 26, 2020 | ...

This article is part of a blog series that explores the newly redesigned Spring Cloud Stream applications based on Java Functions. In this episode, we are investigating the Aggregator function and its relationship with the Splitter function. We will see how we can customize the default behavior. We will also take a look at the importance of configuring a shared message store for the aggregator.

Here are all the previous parts of this blog series.

This Week in Spring - October 20, 2020

Engineering | Josh Long | October 20, 2020 | ...

Hi Spring fans! Welcome to another installment of This Week in Spring! How're things? It's been unseasonably warm here in San Francisco so I am writing this from my balcony with a warm cup of coffee and hope in my heart. It is still very hard to believe we're near Halloween, though! Crazy how time flies. There's lots of good stuff to look at this week so let's get to it! Hopefully you can enjoy this week's news from some warm, safe and healthy spot in your life, too.

Premiering: Bootiful Kotlin

Engineering | Josh Long | October 15, 2020 | ...

Hi, Spring fans! In this talk Spring Developer Advocate, Java Champion, and Kotlin Google Developer Advocate Josh Long (@starbuxman) introduces the Kotlin ecosystem, the language, and its application when building server-side Spring applications.

This is a roving tour of all things Kotlin, and there's a lot to cover, including:

  • building Android applications with Kotlin on mobile devices
  • building native applications with Kotlin and Kotlin Native ((m)alloc, pointers, and POSIX APIs, oh, my!)
  • giving existing APIs like the venerable JdbcTemplate a fresh coat of paint with Kotlin
  • using Kotlin ecosystem libraries like the Exposed ORM with Spring
  • using rich DSLs such as those provided for Spring Framework's programmatic bean registration, HTTP endpoints, and for Spring Cloud Gateway
  • kicking up our reactive applications a notch with coroutines

Get the Spring newsletter

Stay connected with the Spring newsletter

Subscribe

Get ahead

VMware offers training and certification to turbo-charge your progress.

Learn more

Get support

Tanzu Spring offers support and binaries for OpenJDK™, Spring, and Apache Tomcat® in one simple subscription.

Learn more

Upcoming events

Check out all the upcoming events in the Spring community.

View all