Skip to content
KSCodes
  • Java 21
  • Java
    • String Handling
    • Collections
    • Exception Handling
    • JDBC
    • File IO
    • Apache POI
    • XML Parsing
    • JSON
  • Spring MVC
  • HTML5
  • jQuery
  • Tutorials
  • Misc

Spring Boot Security Configuration Testing

When building secure applications, it’s essential to ensure your Spring Security configuration behaves exactly as expected. Whether it’s custom login, role-based access, or JWT filters — test

Read More →

Spring Boot Testcontainers For Database Testing

Writing database tests that mimic real-world scenarios is crucial — but in-memory databases like H2 often fall short in simulating true production environments. This is where Testcontainers comes

Read More →

Integration Testing with @SpringBootTest in Spring Boot

In a real-world Spring Boot application, it’s important to test how different components work together — services, controllers, repositories, and even security. This is where integration te

Read More →

Spring Boot @DataJpaTest Testing : Services and Repo

Testing is a key aspect of building reliable and maintainable applications. In Spring Boot, @DataJpaTest is a specialized test slice that focuses on JPA components such as repositories and entity m

Read More →

Introduction to MockMvc REST Controller Unit Testing

In the world of Spring Boot development, writing clean, testable, and maintainable code is key. Controllers are the entry point to your RESTful APIs and need to be thoroughly tested. That’s where

Read More →

Spring Boot Application Testing : Introduction

Testing is a crucial aspect of any software development lifecycle. With Spring Boot, testing becomes easier thanks to its robust testing support out-of-the-box. In this post, we’ll cover the esse

Read More →

Internationalization (i18n) in Spring Boot: A Complete Guide

In today’s globalized web applications, it’s crucial to support multiple languages to reach a wider audience. Spring Boot makes it easy to implement internationalization (i18n), allowing you to

Read More →

Externalized Configuration with Vault and AWS Secrets Manager in Spring Boot

In cloud-native applications, storing sensitive information like API keys, database passwords, and access tokens in application.properties or application.yml is a security risk. To solve this, Spri

Read More →

Property Binding using @ConfigurationProperties in Spring Boot

In Spring Boot, externalized configuration is one of its strongest features. Instead of hardcoding values, you can define them in property or YAML files. But injecting many @Value fields can quickl

Read More →

Building Custom Starters in Spring Boot 3

Spring Boot is known for its opinionated auto-configuration and rapid setup capabilities. One of the hidden gems of its ecosystem is custom starters — reusable libraries that help you abstract co

Read More →

Posts pagination

< 1 … 6 7 8 9 10 … 41 >







Aim

The aim of this blog is to try to give some useful tips that can make developers life easy at work. For any queries or suggestions please email us at kscodes.web@gmail.com

Links

  • About Us
  • Privacy Policy
Copyright © 2021