Spring
-
- Performance
- Spring
- sql
- Trip Reports
Spring Boot Performance Workshop with Vlad Mihalcea
Learn how to improve the performance of a Spring application and diagnose production problems. Lessons from our live workshop covering JPA!
-
- IntelliJ IDEA
- Spring
- Tutorials
Spring Transaction Debugging in Production with Lightrun
We use annotations to denote transactional behavior in modern Spring, so we have no code, no failure, no debugging… But is this true?
-
- Security
- Spring
Spring4Shell: Zero-Day RCE in Spring Framework Explained
On March 30, 2022, a critical remote code execution (RCE) vulnerability was found in the Spring Framework. More specifically, it is part of the spring-beans package, a transitive dependency in both spring-webmvc and spring-webflux. This vulnerability is another example of why securing the software supply chain is important to …
-
- Security
- Spring
- Uncategorized
Spring Remote Code Execution Vulnerability
I’d like to start by saying that I’m not a security expert. I also won’t link to the exploit. This is a very fresh take on a new vulnerability but there’s already confirmation from Sonatype. The current exploit seems to …
-
- Embedded
- Pi4J
- Raspberry Pi
- Spring
- Vaadin
Blink a LED on Raspberry Pi with Vaadin
Thanks to Vaadin, you can get a fully running application with a few clicks. And Adding GPIO-interaction is easy with the Pi4J library.
-
Building Reactive Java Applications with Spring Framework
Pretty much all Java developers are familiar with Spring Pet Clinic. In this article, we have given a walkthrough of the reactive implementation of it using Apache Cassandra.
-
- Getting Started
- Spring
Statically Spilling Your (Spring) Beans
There are some edge cases where you want to access Spring Beans in a static method, while you should always try to avoid this.
-
- Apache Cassandra
- Databases
- DataStax
- Spring
Build a Status Dashboard Using Spring Boot and Astra DB
Learn how to leverage the Astra Document API on top of Cassandra to build a dashboard of statuses, with Spring Boot for rendering.
-
Build and Test Non-Blocking Web Applications with Spring WebFlux, Kotlin and Coroutines
In this article, we will develop a simple RESTful API using Spring WebFlux and aim to leverage the special Kotlin extensions in Spring.
-
- Spring
- Use Cases
Multiple Spring Boot Applications in the Same Project
I frequently use Spring Boot in my demos. The latest one is no different, showing how to achieve CQRS using two different code paths.
-
- Getting Started
- Kotlin
- Spring
Native-image with Spring Boot
As the Cloud has become more widespread, the Spring ecosystem has been forced to cope with GraalVM native. While it still has room for improvement, it does the job.
-
Multiple Ways to Configure Spring
Many alternatives are available to configure your Spring app.
I’d like to list them in this post, leaving Spring Boot out of the picture on purpose.
-
VS Code Java August Updates: SpringOne Updates, UX Improvements, Community Feedback
Welcome to the August edition of the Visual Studio Code Java update!
In this article, we are going to share some exciting updates from the SpringOne 2021 conference, as well as various user experience improvements.
-
Annotation-free Spring
Some, if not most, of our judgments regarding technology stacks come either from third-party opinions or previous experiences. Yet, we seem to be adamant about them!
-
- Spring
Better Error Handling for Your Spring Boot REST APIs
One of the things that distinguishes a decent API from one that is a pleasure to work with is robust error handling. Nothing is more frustrating than using some API and getting back cryptic errors where you can only guess why the server is not accepting your request.
Spring Boot lets you customize the error handling for your application, but there is quite a lot of low-level coding involved if you want to do this correctly.
-
Creating a Simple Spring Boot Application in IntelliJ IDEA
In this tutorial, we’ll use the New Project Wizard in IntelliJ IDEA to create a Spring Boot project with the Spring Web dependency.
We’ll also create a Spring Controller and served some text to the local Tomcat webserver.
Finally, we’ll add a test for our HTTP call.
-
- Jelastic
- Microservices
- Spring
- Tutorials
Building Microservices with Spring Boot Fat (Uber) Jar
In most minds, microservices is an approach to make a traditional monolithic system more structured, dividing it into logical components that correspond to different functional areas of application.
Thus, acting as a microservice, each component becomes self-contained, easily scaled, maintained and even upgraded without affecting the overall system.
Also, with a microservice architecture, you can use a software written in different programming languages, including Java.
Such freedom attracts but may frighten at the same time.
-
- Spring
Running Spring Boot Applications on OpenShift
Learn how to deploy a Spring Boot application on OpenShift (Minishift).
Cloud platforms have dramatically changed the way we develop and deploy modern applications. Not so long ago, everything was on-premise infra. However, things have changed dramatically over the years. Now, there are a number of vendors offering solutions for different cloud computing models, i.e., Saas, Paas, and Iaas.
This article will cover Openshift developed by Redhat, which comes under the Paas cloud computing model.
-
- Spring
Monitoring Across Frameworks: Spring Boot, Micronaut, Quarkus, and Helidon
Gone are the times when developers’ jobs ended with the release of the application. Nowadays, developers care more and more about the operational side of IT: perhaps they operate applications themselves, but more probably, their organizations foster increased collaboration between Dev and Ops.
I started to become interested in the Ops side of software when I was still a consultant. When Spring Boot released the Actuator, I became excited. Via its convention-over-configuration nature, it was possible to add monitoring endpoints with just an additional dependency.
Since then, other frameworks have popped up. They also provide monitoring capabilities. In this article, I’d like to compare those frameworks concerning those capabilities.
-
- Spring
Containerizing Spring Boot Applications with Jib
In this post, we will learn about how to create Docker or OCI compliant images, without installing any Docker client and without using a Dockerfile, for a Spring Boot application.
Other benefits of using Jib for your Java applications include that it’s super easy to integrate with Java applications, producing faster builds, reproducible builds, community support, etc.
-
- Spring
Spring Boot: Strategy Design Pattern – Convenience and Limitation
You might have already used the strategy pattern in relationship with Spring Boot where it is very convenient to use.
With a few changes in your code we can easily solve the problem of having different strategies which using the same keys in our code.