OAuth2 – @EnableResourceServer vs @EnableOAuth2Sso 1. Overview In this tutorial, we’re going to talk about the @EnableResourceServer and @EnableOAuth2Sso annotations in Spring Security. We’ll begin by explaining the differences between an OAuth2 Client and an OAuth2 Resource Server. Afterwards, we’ll talk a little about what these annotations can do for us and… Continue Reading spring-security-oauth2-enable-resource-server-vs-enable-oauth2-sso

Persist a JSON Object Using Hibernate 1. Overview Some projects may require JSON objects to be persisted in a relational database. In this tutorial, we’ll see how to take a JSON object and persist it in a relational database. There are several frameworks available that provide this functionality, but we… Continue Reading hibernate-persist-json-object

Selection Sort in Java 1. Introduction In this tutorial, we’ll learn Selection Sort, see its implementation in Java, and analyze its performance. 2. Algorithm Overview Selection Sort begins with the element in the 1st position of an unsorted array and scans through subsequent elements to find the smallest element. Once found,… Continue Reading java-selection-sort