Search Results for: java 8
-
Core Java
Convert Unicode Encoding String to Letters
Dealing with strings encoded in Unicode is a common task in Java programming, especially in multilingual applications where text comes…
Read More » -
Core Java
Log4j 2 Config Using a Prop File
Log4j 2, an extensively used logging framework developed in Java, addresses numerous architectural shortcomings of its predecessor, Log4j. Renowned for…
Read More » -
Enterprise Java
Spring Data JPA Pagination and Sorting example
One common challenge in application development is handling large datasets while maintaining responsiveness. With databases often containing vast amounts of…
Read More » -
spring
Spring Boot REST API Timeout (with Examples)
Timeouts in REST APIs happen when an API exceeds the anticipated or permitted duration for completion within a Spring Boot…
Read More » -
Enterprise Java
Spring Boot @ConditionalOnProperty Example
Spring Boot provides a plethora of annotations to simplify application development and configuration. One notable annotation among them is the…
Read More » -
Core Java
Creating Stream of Regex Matches
Regular expressions, commonly known as regex, serve as a robust mechanism for pattern matching. They empower us to identify particular…
Read More » -
Enterprise Java
Utilize Spring @Cacheable on Self-Invocation
Spring Framework provides a caching mechanism to improve the performance of applications by reducing the need to recompute or retrieve…
Read More » -
Enterprise Java
Securing Spring Boot 3 applications using SSL Bundles
Securing data in transit is a crucial aspect of web application security, and one effective way to achieve this is…
Read More » -
Enterprise Java
Image Display and Upload with Thymeleaf, Spring MVC, and MySQL
In modern web development, the ability to seamlessly display images from various sources and allow users to upload images are…
Read More » -
junit
Mock Same Method with Different Parameters
When creating a mock for a Java method, it proves beneficial to obtain varied responses depending on the provided parameters.…
Read More »