by Manvir | Mar 14, 2018 | Identity Management
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...
by Manvir | Jan 14, 2018 | Spring
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...
by Manvir | Oct 15, 2017 | Java
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)...
by Manvir | Oct 14, 2017 | Spring
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...
by Manvir | Sep 21, 2017 | Java
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...
by Manvir | Apr 21, 2017 | 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 =...
by Manvir | Dec 15, 2016 | Java
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...
by Manvir | Sep 22, 2016 | 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...
by Manvir | Mar 8, 2016 | Testing
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/...
by Manvir | Feb 2, 2016 | Testing
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...