SAML 2.0

Security Assertion Markup Language (SAML 2.0) XML-based framework that enables exchange of identities/access (authentication and authorization) information in a safe, secure and standard way It is used to provide Single Sign-on (SSO) and Single Logout (SLO) between...

Spring Boot

 Spring Boot Easy to create standalone applications Handles predictable setup for developer e.g. If JPA implementation is on the classpath, it will automatically create JPA Entity Manager Factory Embed containers (Tomcat, Jetty etc) Automatically configure Spring...

Java 8 Stream API

Why Streams If you are looping collection to run specific operation, streams is the solution Process computations on large collections with less code, in parallel and efficiently Streams Stream is like pipeline of sequence of elements from a source (e.g. collections)...

Spring Initializr

Spring Initializr To generate quickstart project It provides simple Web UI https://start.spring.io/ to configure the project Integrated with IDEs e.g. Eclipse/STS, IntelliJ IDEA, NetBeans etc Resources...

Lambda Expressions in Java 8

Functional Interface A functional interface is any interface that contains only one abstract method It may contain extra default or static methods  Lambda Expressions Treat functionality as method argument It adds Functional behaviour to Java It is basically an...

Generics in Java

Generics Introduced in JDK 1.5 Provide compile-time type safety Enable developer to declare generic class or method Some problems solved by Generics Problem 1 – No compile-time safety List list = new ArrayList(); list.add(“oneness”); Integer i =...

Java Object Serialization

Java Object Serialization Introduction Mechanism where an object can be converted to a sequence of bytes that includes the object’s data as well as information about the object’s type and the types of data stored in the object Object can be serialized and...

Elastic Search

 ElasticSearch Open  Source Distributed and Highly Available Search Engine (multitenant) Built in Java Distributed RESTful search engine REST/JSON based and has native Java API Document oriented and schema free (no need for upfront schema) Built on top of Lucene...

mockito – Mocking Framework

Mockito The Mockito library enables mock creation, verification and stubbing It is spying/stubbing framework Resources http://mockito.org/ Mockito Features and Motivation https://code.google.com/archive/p/mockito/...

JUnit – Unit testing framework for Java

JUnit Unit testing framework for Java package org.junit for JUnit 4 and later JUnit 4 Usage and Idioms Assertions Test Runners Aggregating tests in Suites Test Execution Order Exception Testing Matchers and assertThat Ignoring Tests Timeout for Tests Parameterized...