This Week in Spring - June 15th, 2021

Engineering | Josh Long | June 16, 2021 | ...

Hi, Spring fans! How're you doing? I'm silly stoked! This week saw the release of Spring Native 0.10.0 and it is awesome! You absolutely have to check this release out. I put together an episode of Spring Tips, the most comprehensive of its kind, introducing (almost) everything you'll need to know about Spring Native and Spring Native 0.10.0 in particular. Start here. Spring Native is awesome and this is the comprehensive introduction I wish I'd had at the start.

The next time we meet in this humble column, next week, will be June 22nd, and by then we'll have passed summer solstice - the…

This Week in Spring - June 8th, 2021

Engineering | Josh Long | June 08, 2021 | ...

Hi, Spring fans! What's shaking? It's one of those weeks where, even though the thing I wanted to happen - a vacation with the family - didn't happen, what did happen - accidentally lots of free time with no meetings - has turned out wonderfully. It was all I could do to pry myself from the IDE to pull together this week's roundup, but I am glad I did! There's a ton of great stuff there. Let's dive into it.

"Wiremock" for RSocket

Engineering | Dave Syer | June 02, 2021 | ...

If you have an application that connects to an RSocket server at runtime, how do you test it? We need a way for a test to start a server and tell us where it is listening, and then we need to be able to register request and response examples (a.k.a. "contracts"). That’s what this project provides - it’s like Wiremock but for RSocket.

Getting Started

The easiest way to use the project is as a JUnit (Jupiter) extension, e.g:

@SpringBootTest
@ExtendWith(RSocketServerExtension.class)
class SocketsApplicationTests {
	...
}

With this extension installed the Spring Boot tests will run with an RSocket server listening on a port given by test.rsocket.server.port, so the test can connect directly to it, or (more likely) the code that it is testing will connect to it. You might need to tell it where to connect via the @SpringBootTest annotation, e.g. if the application is looking for a property at runtime called rsocket.port

This Week in Spring - June 1st, 2021

Engineering | Josh Long | June 01, 2021 | ...

Hi, Spring fans! Welcome to another installment of This Week in Spring! How're you doing? I'm doing well! I hope you're doing well, too. Can you believe we've just entered the month of June 2021? WHERE HAS THIS YEAR GONE ALREADY! It's insane. But, the march of Spring continues, and with each passing week a ton of new stuff to talk about arrives. Let's get into it!

This Week in Spring - May 25th, 2021

Engineering | Josh Long | May 24, 2021 | ...

Hi, Spring fans! Welcome to another installment of This Week in Spring! How're you doing? I'm still fresh off my little vacation last week, feeling fantastic. I've spent the last several days working with Spring Boot and Spring Native and I have to tell you, they're epic.

It's gotten to the point where I sometimes spend time working on enabling Spring Native integrations for other projects - it really makes some third party abstractions come alive! It's hard to know what the right comparison is. There's not much you can do in this life that results in such an instantaneous, night-and-day difference in performance and memory profile with so few (user-visibile) changes. Imagine snapping your fingers and having your luxury hypercar (Spring Boot in this metaphor) transform into an equally capable, and very

This Week in Spring - May 18th, 2021

Engineering | Josh Long | May 18, 2021 | ...

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