Spring Core Annotations 1. Overview We can leverage the capabilities of Spring DI engine using the annotations in the org.springframework.beans.factory.annotation and org.springframework.context.annotation packages. We often call these “Spring core annotations” and we’ll review them in this tutorial. 2. DI-Related Annotations ==== 2.1. @Autowired We can use the @Autowired to mark a dependency… Continue Reading spring-core-annotations

Finding Elements in Collections in Groovy 1. Introduction Groovy provides a substantial number of methods enhancing Java’s core capabilities. In this tutorial, we’ll show how Groovy does this when checking for an element and finding it in several types of collections. 2. Test if Element is Present First, we’ll focus… Continue Reading groovy-collections-find-elements

Introduction to SPF4J 1. Overview Performance testing is an activity often pushed towards the end stages of the software development cycle. We usually rely on Java profilers to help troubleshoot performance issues. In this tutorial, we’ll go through the Simple Performance Framework for Java (SPF4J). It provides us APIs that… Continue Reading spf4j

Spring Security Login Page with Angular 1. Overview In this tutorial, we’ll be creating a login page using Spring Security with: AngularJS Angular 2, 4, 5, and 6 The example application which we’re going to discuss here consists of a client application that communicates with the REST service, secured with… Continue Reading spring-security-login-angular