Themes

Select a theme

12 minsreadimage
code whizFebruary 04, 2024
Mastering Spring WebClient - From Basics to Advanced Techniques

Understand what Spring WebClient is, how to set it up in a Spring Boot application, perform GET and POST requests, handle error handling, retry and backoff on specific exceptions.

4 minsreadimage
code whizJanuary 25, 2024
New features in Java 17

Discover the exciting new features in Java 17! This blog post explores the latest enhancements in Java 17, including pattern matching, sealed classes, and more. Dive into various scenarios with code examples to understand how these new features can improve your Java programming experience.

7 minsreadimage
sheikh irshadAugust 13, 2023
Projections and Result Transformations in JPA Criteria Queries

Optimize JPA queries with projections & result transformations. Learn efficient data retrieval & customization in Java Persistence API. Real examples included.

6 minsreadimage
sheikh irshadAugust 13, 2023
write join queries using jpa criteria queries

Learn how to create join queries using JPA Criteria Queries easily. Explore a beginner-friendly guide to crafting effective join queries and improving your database querying skills with JPA's criteria API.

24 minsreadimage
sheikh irshadSeptember 29, 2021
Spring Security Oauth2- JWT Authentication in a resource server

Spring security provides a minimal setup required to implement the JWT authentication in a resource server

16 minsreadimage
sheikh irshadSeptember 01, 2021
Spring Bean Scopes and Lookup method injection

Spring Bean Scope defines the lifecycle and the visibility of the instances created from the bean definitions

7 minsreadimage
sheikh irshadAugust 24, 2021
@Transactional Rollback options in Spring Data

@Transactional provides rollbackOn and noRollbackOn options to control the rollback for exceptions

10 minsreadimage
sheikh irshadAugust 24, 2021
Implement Firebase custom tokens with Spring security

Firebase custom tokens allows us to authenticate users with JWT tokens generated in our own servers.

15 minsreadimage
sheikh irshadAugust 18, 2021
Spring Security - JPA implemenation of UserDetailsService For DaoAuthenticationProvider

JPA based AuthenticationProvider to provider username and password authentication

3 minsreadimage
sheikh irshadAugust 18, 2021
Spring Security - In-Memory Authentication using DaoAuthenticationProvider

DaoAuthenticationProvider uses UserDetailsService and a password encoder to authentication username password based authentication

12 minsreadimage
sheikh irshadAugust 18, 2021
Spring Security- How to implement username and password authentication

Username and password authentication is one of most commonly used methods. Spring security provides API's to configure form-based login, basic authentication and many more with storage options such as JDBC authentication, in-memory authentication as well as custom authentication providers

10 minsreadimage
sheikh irshadAugust 17, 2021
Spring Security Architecture fundamentals

Spring Security provides a ready to use framework for authentication as well as authorization. It provides AuthenticationProviders for Username and password and basic authentication, LDAP authentication, JWT authentication and provides apis for building custom AuthenticationProviders

19 minsreadimage
sheikh irshadFebruary 17, 2019
Select values in criteria query - select, multiselect, tuple query

JPA specification provides different ways to select values in criteria query. select, multiselect and tuple queries are used to select single or multiple values from one or more entities

38 minsreadimage
sheikh irshadFebruary 11, 2019
Programmatic Criteria Queries using JPA Criteria API

Criteria Queries in JPA are type-safe and portable way of fetching data. It provides methods such as Criteria Join, Fetch Join, aggregate functions and sub queries to fetch data.