Learn how to conduct unit and integration tests on Spring AOP aspects.
Also find me here:
Baeldung Author
Manfred Ng
I have been a software developer since graduation and have worked on diverse projects using various Java technologies and frameworks. I enjoy gaming and staying active during my free time. 😎
Here's what I've written (so far):
Baeldung on Java
- All
- Java IO (4)
- Java String (3)
- Spring Data (2)
- Spring Boot (2)
- Java Web (2)
- JPA (2)
- Testing (1)
- Spring Web (1)
- Spring (1)
- REST (1)
- Persistence (1)
Introduction to DuckDB
Filed under Persistence
Learn about the advantages of the DuckDB database and some fundamental operations via illustrative examples
Spring Data JPA Repository for Database View
Filed under Spring Data
Learn how Spring Data repositories can be effectively applied to database views
Calling Custom Database Functions With JPA and Spring Boot
Filed under JPA, Spring Boot
Explore various approaches to calling custom database functions within JPA and Spring Boot applications.
Get All Results at Once in a Spring Boot Paged Query Method
Filed under Spring Data
Revisit how to retrieve data in pagination using Spring Boot how to retrieve all results at once using pagination
Storing PostgreSQL JSONB Using Spring Boot and JPA
Filed under JPA, Spring Boot
Learn how to proficiently store and manage JSON data in PostgreSQL using Spring Boot and JPA
UTF-8 Validation in Java
Filed under Java String
Explore UTF-8 encoded bytes and string conversion and different types of UTF-8 validation based on byte and stream.
How to Write Strings to OutputStream in Java
Filed under Java String
Explore several approaches for writing strings to an OutputStream in Java.
Localized Validation Messages in REST
Filed under REST, Spring Web
Learn to localize validation messages in a REST web service.
Difference Between ZipFile and ZipInputStream in Java
Filed under Java IO
Learn how to use ZipFile and ZipInputStream to read zip files, explore their functional differences, and evaluate their performance.
Expand Columns with Apache POI
Filed under Java IO
Explore two approaches in Apache POI to adjusting the column width of Excel spreadsheets.
Closing Java IO Streams
Filed under Java IO
Learn why it’s necessary to close IO streams and how to do it.
Set a Parameter in an HttpServletRequest in Java
Filed under Java Web
Learn how to modify a Servlet API request to set parameters that were not in the original HTTP request.
Lock Header Rows With Apache POI
Filed under Java IO
Learn how to use Apache POI to lock header rows in Excel spreadsheets
Performance Comparison Between Different Java String Concatenation Methods
Filed under Java String
Explore different string concatenation methods in Java and evaluate their performance using JMH.
Reading a JSP Variable From JavaScript
Filed under Java Web
Explore several approaches to accessing a JSP variable from JavaScript.