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

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 →

CSRF Protection in REST APIs with Spring Boot

In the world of modern web development, security is a foundational pillar. One such security threat that developers must defend against is CSRF (Cross-Site Request Forgery). In this post, we’ll w

Read More →

CORS Configuration for Secure APIs in Spring Boot

In today’s web applications, security and access control are top priorities. One crucial aspect often overlooked is CORS (Cross-Origin Resource Sharing). Without proper configuration, your AP

Read More →

Role-Based Access Control in Spring Boot : RBAC

In modern web applications, securing resources based on user roles is a crucial requirement. Role-Based Access Control in Spring Boot enables fine-grained access management by assigning specific pe

Read More →

Posts pagination

< 1 … 7 8 9 10 11 … 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