Injection of generics is a powerful feature, making code cleaner and much more understandable. In this article we cover autowiring these generics in Spring.
Baeldung Editor
Paul Jervis
Here's what I've reviewed (so far):
Baeldung on Java
- All
- Jakarta EE (5)
- Java (4)
- DevOps (4)
- Spring Boot (3)
- Spring (2)
- Java IO (2)
- Cloud (2)
- Testing (1)
- Spring Data (1)
- Reactive (1)
- NoSQL (1)
- Java Collections (1)
- Java Array (1)
- JPA (1)
- IDE (1)
- Core Java (1)
Java List Initialization in One Line
Filed under Java Collections
In this quick tutorial, we’ll investigate how can we initialize a List using one-liners.
Static and Dynamic Binding in Java
Filed under Core Java
An exploration of how Java handles binding method names for lookup at runtime.
Auto-import Classes in IntelliJ
Filed under IDE
A brief article describing the different options of IntelliJ IDEA’s ‘auto-import’ feature.
A Guide to Message Driven Beans in EJB
Filed under Jakarta EE
In this article, we’ll discuss Message Driven Beans (MDB), responsible for handling message processing in an asynchronous context.
RxJava One Observable, Multiple Subscribers
In this article, we cover how to properly attach multiple subscribers to a single observable.
Spring Boot Integration Testing with Embedded MongoDB
Filed under NoSQL, Spring Boot, Spring Data, Testing
Learn how to use Flapdoodle’s embedded MongoDB solution together with Spring Boot to run MongoDB integration tests smoothly.
Quick Use of FilenameFilter
Filed under Java IO
Learn about FilenameFilter, a functional interface for filtering on a list of files by name.
An Introduction to CDI (Contexts and Dependency Injection) in Java
Filed under Jakarta EE
Have a a look at CDI’s most relevant features and implement different approaches for injecting dependencies in client classes.
How to Get the File Extension of a File in Java
Filed under Java IO
Learn how to obtain the file extension programmatically in Java.
Controlling Bean Creation Order with @DependsOn Annotation
Filed under Spring
This tutorial explores managing Spring initialization order using the @DependsOn annotation
Spring Boot Configuration with Jasypt
Filed under Spring Boot
Enable Jasypt to encrypt configuration file attributes in a Spring Boot application for decrypting and use at runtime.
Guide to JNI (Java Native Interface)
Filed under Java
Understand JNI and the ability to bridge Java Bytecode with native C++.
Singleton Session Bean in Jakarta EE
Filed under Jakarta EE
An exploration on applying a Singleton when using Session Beans.
The Tomcat java.net.BindException: Address Already in Use Error in Java
Filed under DevOps
Find out what causes the common java.net.BindingException Error: Address already in Use and how to handle it.
Java Service Provider Interface
Filed under Java
Have a look at the components of the Java Service Provider Interface with a practical use case.
Servlet Redirect vs Forward
Filed under Jakarta EE
Learn how to perform redirects and forwards using Java Servlets and the difference between them.
Internationalization and Localization in Java 8
Filed under Java
Have a look at the Java 8 support for internationalizing and localization of an application.
Shutdown a Spring Boot Application
Filed under DevOps, Spring Boot
Have a look at different ways to shut down a Spring Boot Application.
Find Sum and Average in a Java Array
Filed under Java Array
In this quick tutorial, we’ll cover how we can calculate sum & average in an array using both Java standard loops and the Stream API.
Getting Started with Java and Zookeeper
Filed under DevOps
Explore the Java API of Apache Zookeeper – a distributed coordination service which eases the development of distributed applications
A Guide to the ResourceBundle
Filed under Java
It’s always challenging to maintain and extend multilingual applications. This article covers how to use the ResourceBundle to cope with the varieties that come up when you need to provide the same content to different cultures.
The Checker Framework – Pluggable Type Systems for Java
Filed under DevOps
Since the Java 8 release, it’s possible to compile programs using Pluggable Type Systems to apply stricter checks than the ones applied by the compiler.
Building Microservices with Eclipse MicroProfile
Filed under Cloud, Jakarta EE
Eclipse MicroProfile is an initiative that aims to optimize Enterprise Java for the Microservices architecture. We will use MicroProfile to build a simple RESTful microservice.
A Simple Tagging Implementation with JPA
Filed under JPA
Learn how you can extend your JPA project with a tagging implementation
Baeldung on Kotlin
- All
- Testing (1)
- Patterns (1)
- Libraries (1)
- Kotlin Classes and Objects (1)
Creational Design Patterns in Kotlin: Builder
Filed under Patterns
In this quick article, we’ll see how to implement the Builder Design Pattern in Kotlin.
Reflection with Kotlin
Filed under Kotlin Classes and Objects
Have a look at the extra language support provided by Kotlin for performing Reflection.
Writing Specifications with Kotlin and Spek
An introduction to Spek framework – a Specification Testing framework for Java and Kotlin