eBook – Guide Spring Cloud – NPI EA (cat=Spring Cloud) eBook – Mockito – NPI EA (tag = Mockito)
Mocking is an essential part of unit testing, and the Mockito
library makes it easy to write clean and intuitive unit
tests for your Java code.
Get started with mocking and improve your application tests
using our Mockito guide:
Download the
eBook
eBook – Java Concurrency – NPI EA (cat=Java Concurrency)
Handling concurrency in an application can be a tricky process
with many potential pitfalls. A solid grasp of the
fundamentals will go a long way to help minimize these issues.
Get started with understanding multi-threaded applications with
our Java Concurrency guide:
>>
Download the eBook
eBook – Reactive – NPI EA (cat=Reactive)
Spring 5 added support for reactive programming with the Spring
WebFlux module, which has been improved upon ever since. Get
started with the Reactor project basics and reactive programming
in Spring Boot:
>> Join Pro and
download the eBook
eBook – Java Streams – NPI EA (cat=Java Streams)
Since its introduction in Java 8, the Stream API has become a
staple of Java development. The basic operations like iterating,
filtering, mapping sequences of elements are deceptively simple to
use.
But these can also be overused and fall into some common
pitfalls.
To get a better understanding on how Streams work and how
to combine them with other language features, check out our guide
to Java Streams:
>> Join Pro
and download the eBook
eBook – Jackson – NPI EA (cat=Jackson) eBook – HTTP Client – NPI EA (cat=Http Client-Side) eBook – Maven – NPI EA (cat = Maven) eBook – Persistence – NPI EA (cat=Persistence) eBook – RwS – NPI EA (cat=Spring MVC) Course – LS – NPI EA (cat=Jackson)
Get started with Spring and Spring Boot, through the Learn
Spring course:
>> LEARN
SPRING
Course – RWSB – NPI EA (cat=REST) Course – LSS – NPI EA (cat=Spring Security)
Yes, Spring Security can be complex, from the more advanced
functionality within the Core to the deep OAuth support in the
framework.
I built the security material as two full courses - Core and
OAuth, to get practical with these more complex scenarios. We
explore when and how to use each feature and code through it on
the backing project.
You can explore the course here:
>> Learn Spring
Security
Course – LSD – NPI EA (tag=Spring Data JPA)
Spring Data JPA is a great way to handle the complexity of
JPA with the powerful simplicity of Spring Boot.
Get started with Spring Data JPA through the guided reference
course:
>> CHECK OUT THE
COURSE
Partner – Moderne – NPI EA (cat=Spring Boot)
Refactor Java code safely — and automatically — with
OpenRewrite.
Refactoring big codebases by hand is slow, risky, and easy to
put off. That’s where OpenRewrite comes in. The open-source
framework for large-scale, automated code transformations helps
teams modernize safely and consistently.
Each month, the creators and maintainers of OpenRewrite at
Moderne run live, hands-on training sessions — one for newcomers
and one for experienced users. You’ll see how recipes work, how to
apply them across projects, and how to modernize code with
confidence.
Join the next session,
bring your questions, and learn how to automate the kind of work
that usually eats your sprint time.
Partner – LambdaTest – NPI EA (cat=Testing)
Regression testing is an important step in the release
process, to ensure that new code doesn't break the existing
functionality. As the codebase evolves, we want to run these tests
frequently to help catch any issues early on.
The best way to ensure these tests run frequently on an
automated basis is, of course, to include them in the CI/CD
pipeline. This way, the regression tests will execute
automatically whenever we commit code to the repository.
In this tutorial, we'll see how to create regression tests using
Selenium, and then include them in our pipeline using GitHub
Actions:, to be run on the LambdaTest cloud grid:
>> How to Run Selenium
Regression Tests With GitHub Actions
Course – LJB – NPI EA (cat = Core Java)
1. Spring and Java
>> CopyOnWriteArrayList and Collection#toArray() [javaspecialists.eu]
Deep into safe usage of the CopyOnWriteArrayList. If you haven’t been working on concurrency lately, this is a solid read.
>> What’s New in Java 16 [infoq.com]
I assume you’re not yet using Java 16 in production. A half-hour very well spent.
Also worth reading:
Webinars and presentations:
Time to upgrade:
2. Technical and Musings
>> Making POST and PATCH requests idempotent [mscharhag.com]
Easy to not get this right, and definitely important to – yes, idempotency is the correct way to implement these operations but also makes things so much easier long term.
>> Software Mistakes and Tradeoffs [manning.com]
Looks like a very interesting read when it’s fully out, and Tomasz shared a 35% off code with me to include in this week’s Java Weekly: nlbaeldung21. Enjoy
Also worth reading:
3. Pick of the Week
This is our third and hopefully last COVID launch ever:
>> All Courses on Baeldung are 30% off – starting yesterday