Skip to content

Latest commit

 

History

History
251 lines (186 loc) · 24.3 KB

File metadata and controls

251 lines (186 loc) · 24.3 KB

drawing

Let's learn about Spring via these 61 free blog posts. They are ordered by HackerNoon reader engagement data. Visit the /Learn or LearnRepo.com to find the most read blog posts about any technology.

Spring is a popular open-source framework for building enterprise-level applications in Java. It matters for its comprehensive infrastructure support, simplifying complex application development and promoting modular, testable designs.

In this article, we will look at how to schedule tasks using the Quartz framework in Spring Boot. We will consider JobStore, and thread pools.

Hibernate N+1 issue occurs when you use FetchType.LAZY for your entity associations.

Connecting a database to a Java application is not an easy process. You need to consider the connection pool, the data access layer, etc.

Feign is a declarative web service client. It makes writing web service clients easier. To use Feign, create an interface and annotate it. It has pluggable annotation support including Feign and JAX-RS annotations.

A little backstory on how this started. My team needed to save some on money on the infrastructure we were requesting and since most of the load for the application we wanted to build would be on the client-side rather than the service side. We decided to see if we could combine a Spring Application with a React app and serve up a single war file.

In this article, we will look at how to handle job failures in Quartz. We'll use an exponential random backoff policy for calculating the time of the next retry

This article has provided a step-by-step guide to configuring and implementing the custom type mapper.

In this article, I want to teach you how to connect Java Spring Boot 2 with Elasticsearch. We’ll learn how to create an API that’ll call Elasticsearch to produ

If you are creating a new Java project for your REST backend over a relational database, you will probably not even blink before saying: Hibernate. But why? Did you really give a good thought on how this tool actually makes your work easier (or harder)? Did you consider the accurate needs of your architecture and have a good reason to include or not include it?

It’s been around 6 months since we adopted Kotlin for our backend services at the company I currently work at. We’ve been migrating an existing java spring boot service to Kotlin.

Spring Batch is a powerful module of the Spring framework that provides out-of-the-box implementation for batch processing tasks.

How to move spring boot microservices cluster to kubernetes

An extension for the Criteria API using Builder pattern and JPA Static Metamodel to increase readability and reduce read complexity with explicitness

Unlock superior data efficiency with PostgreSQL Upsert in Spring. Explore the integration, benefits, and how to overcome its limitations. Boost performance now!

Today, microservices architecture is a common approach to building a system. In this article, I will show you how to build microservices using Java and Spring.

How to dynamically exclude selected Spring Boot auto-configuration classes using profile groups.

We use annotations to denote transactional behavior in modern Spring so we have no code, no failure, no debugging... But is it really?

Hibernate and the issue of duplicate entities, a well known problem. However do you know the origin of this behaviour? Let's dive under the hood of Hibernate!

In this article, I would like to tell you how I solved the following task, namely the generation of DTOs using the JSON documentation that springwolf generates.

Learn about the critical role of authentication in cybersecurity and explore a comprehensive guide to securing web applications using Spring Security.

Contract testing checks each app in isolation to ensure contracts comply with agreements. Tools: PACT, Spring Cloud Contract

Is using @Component with @StepScope redundant or problematic? Does it make sense to use both annotations, or should you use a different approach?

There are a few dependencies and considerations one should account for when getting a system with REST services authenticated with an OAuth2 Client for Java

I chose Spring Cloud for the architecture of my Kotlin pet project and it was right. What conclusions have I drawn?

It's impossible to write OOP code with Spring. From its core it promotes the use of singletons and anemic data structures a.k.a. data "objects" a.k.a. DTO. This fuels procedural programming and kills OOP.

An extension for the Criteria API using Builder pattern and JPA Static Metamodel Generator to increase readability and reduce read complexity with explicitness

Launched in 1995, Java is being used by 134, 861 websites like ESPN, SnapDeal, Alibaba, etc. In its journey of 24 years, Java has proved itself to be the top general-purpose programming language for custom software development.

This article contains the secret - how to get rid of the boilerplate in tests and make your life much better.

If you already have a handy tool that you like to add to your daily environment, creating a slack app would be a great way to do it.

A practical example of the gains and pitfalls in migrating existing Sprint Boot logic to Vert.x with considerations to the experience and process involved.

An object that is instantiated, gathered, and otherwise managed by a Spring IoC container is called a bean.The configuration metadata that you provide to the co

Learn Why And How To Use Relational Database Migrations. The way to initialize and update schema for relational databases with Java.

Simplify microservices integration using Feign client & POJO classes. Streamline complex projects effectively.

An extension for the Criteria API using Builder pattern and JPA Static Metamodel Generator to reduce complexity with explicitness and to increase readability

This article offers an approach to writing integration tests for Kafka-based applications that focuses on interaction specification, making tests more readable

Spring AI is a lightweight, developer-friendly framework from the Spring team that bridges the gap between modern AI tools and the Spring Boot ecosystem.

This collection lists the best Java books. The books are listed in ascending order of the reader's level of training.

Stop replacing your monolith with a God service and start doing things better. Let John Vester show you how to get started.

Open closed principle is the most simple one in the list of software design principles I understand. "Open for extension, close for modification" - the idea seems quite straightforward. Let's create an example about validation.

The current state of the Maven analyzer doesn't offer any benefit to modern Spring Boot projects.

Just because we do something one way, doesn’t always mean it is the right way … or even the best way.

AOP represents a very powerful approach to solving many problems that would be hard to achieve without it or difficult to maintain.

Hacker Noon Product Update: Overview of What We Deployed in April 2020

Monitoring applications can easier said than done. What if I told you that it can be easier and it can be done? Let's try Grafana and Prometheus!

Discover how to use Google Gemini in a Spring Boot application with Spring AI.

A simplified example of an application that handles sensitive data leveraging Spring and Redis.

How to create spring boot application using Spring Initializr and creating spring boot rest api example

Interested in using Salesforce with your own client application? Learn how to use Spring Boot to accomplish this need, caching data along the way.

Introduction

My talk was accepted by SpringOne in San Francisco. I never went to that conference and was really looking forward to it.

In one project, we got an application that contained half of the source code in Java, and the other half in Kotlin. In fact, I asked a question: "Why is it so?"

Rotate Expiring Spring Cloud Vault Database Credentials Without Downtime

Configuring Redis settings in Spring Boot application using KeyspaceSettings.

AOP is useful in tackling cross cutting concerns which are fully incorporated in the development of an application but cannot be attributed to a specific class.

The Strategy pattern is a behavioral design pattern that enables selecting an algorithm’s behavior at runtime

How to ensure that expiring Spring Cloud Vault dynamic database secrets are renewed, when reaching Hashicorp Vault’s max_ttl

Learn how to leverage JMX and Spring Boot for advanced debugging and management, enabling efficient monitoring and control of Java applications.

Recently I had the need to change certain classes -from external dependencies- loaded on a Spring Boot application. All this happened in a very restrictive environment, where I was not allowed to use other libraries or tweak the JRE, it was only possible to modify the fat JAR and environment variables or system properties.

I was intrigued because, though I used Spring transactions a lot via the @Transactional annotation, I never thought about looking at their implementation.

A Spring bean. Sounds relatively harmless, doesn't it? What if I told you that this could be the source of many headaches in web servers, especially if you are