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

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 →

Using CompletableFuture with Async Methods in Spring Boot

In modern application development, responsiveness and scalability are key. One way to achieve this is by leveraging asynchronous programming. In Java, CompletableFuture combined with Spring’s @As

Read More →

Async Programming in Spring Boot with @Async

When you’re building responsive applications, especially REST APIs, blocking operations can slow down performance. Imagine sending emails, logging audit trails, or fetching third-party data â

Read More →

Scheduling Tasks in Spring Boot with @Scheduled

Modern applications often need to perform background tasks automatically — like sending emails, cleaning logs, syncing data, or generating reports. A simple and elegant way in Scheduling Tasks in

Read More →

Spring Boot Application Events and Listeners

In Spring Boot, Application Events and Listeners allow your application components to communicate in a loosely coupled, event-driven way. It’s a powerful technique for triggering actions like log

Read More →

Custom Actuator Endpoints in Spring Boot 3

Spring Boot Actuator provides several out-of-the-box endpoints like /actuator/health, /metrics, and /info. But what if you need application-specific diagnostics? That’s where Custom Actuator Endp

Read More →

Spring Boot Actuator Health Checks, Metrics & Monitoring

Modern applications need to be observable, monitorable, and resilient. That’s where Spring Boot Actuator shines — it exposes production-ready features like health checks, metrics, auditing, inf

Read More →

Method-Level Security with @PreAuthorize and @Secured in Spring Boot

When building secure applications, it’s not just about securing endpoints—you often need to protect individual methods too. Spring Security provides powerful tools to implement method-level sec

Read More →

Posts pagination

< 1 … 6 7 8 9 10 … 40 >







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