Annotations in Java

September 22, 2019 Vikash 0

Annotations has introduced in jdk 1.5 version. Before that XML was extensively used as metadata, it was quite difficult while having any complex configurations and configurations got difficult while maintenance for XML configuration. For the development point of view, it required something in the place of xml configuration that can […]

Building a Spring boot Initializr Project

August 20, 2019 Vikash 0

As We know that the spring boot is the advance feature over the normal spring framework using with maven or gradle. Previously with spring framework there was a lot of configurations were required to perform dependency injections or, mvc (model view controller). All setup was done through by adding spring […]

Implementation of HATEOAS driven apis in Springboot

July 17, 2019 Vikash 2

  In Spring boot, HATEOAS stands for “Hypermedia as the engine of application state”. Basically, it concerns with the term Hypermedia. That will be able to provide the ease access of Rest web services with the help of hypermedia driven link. Which will produce fetching or, creating CRUD operation over […]

Concurrency in Java 8

June 22, 2019 Vikash 0

In programming language terminology Concurrency term refers to Multithreading. Basically, multithreading is a type of execution model which will allow multiple threads which exist within the context of a process so that they all can execute independently but they can share their process resources. The  Java memory model describes how […]

Method Reference in Java 8 - code-adda.com

Method References in Java 8 – Types

October 16, 2018 Vikash 0

In Java 8 method references has introduced, which will refer to methods or constructors without invoking them. These syntactic shortcuts create lambdas from existing methods or constructors. Basically, lambda expressions in Java are methods implemented without an enclosing class body and constructors created by lambdas are often referred to as constructor […]

No Image

Method Reference in Java 8

June 13, 2018 Vikash 1

In the place of an Anonymous class we can use Lambda expression but Sometimes, the lambda expression does nothing but call an existing method. In those cases, it’s often clearer to refer to the existing method by its name. [code lang=”java”] List digits = Arrays.asList(1,2,3,4,5,6,7,8); List numbers = map(new Integer(n), […]

No Image

Why Java 8 ?

May 15, 2018 Vikash 13

With this new release, Java 8 is introducing a completely new JVM with full packed of some really exciting features at both the JVM and programming language level. There are literally dozens of new features that make java even better than previous versions and improvement about performance and optimized coding […]