Java, Software development

Generic Functional Interfaces and Functional Interface API for Lambda Expressions: Java 8

Lambda expressions come with a standard rule that they can only be assigned to a reference variable which is a Functional Interface i.e. an interface having one and only one abstract method. Besides, a Lambda expression does not care about the name of a function and/ or any access specifier as it tries to infer this information from the...

by Vinay Prajapati
Tag: java8
07-Jun-2017

Java, Software development

Functional Interface for Lambda expressions : Java 8

As we already know that Lambda Expressions are used to support functional programming in Java. The default behaviour of Lambda expressions is to accept only those interfaces as reference variables which have only one abstract method. We call such interfaces Functional Interfaces. You could also name them as SAM, i.e., Single Abstract...

by Vinay Prajapati
Tag: java8
01-Jun-2017

Java, Software development

Functional Programming in Java8 Using Lambda Expressions

Lambda expressions are the most talked feature of Java 8. Lambda expressions drastically change the way we write the code in Java 8 as compared to what we used to, in older versions.  Let' understand what lambda expression is and how it works. At first, you could think about lambda expressions as a way of supporting functional...

by Vinay Prajapati
Tag: java8
15-May-2017

Technology

StringJoiner in Java 8

Being a programmer, at some point of time we encountered a situation in which you wanted to join (not concat) multiple strings of delimited items in Java. Worst can be if you are provided multiple string literals. Just think for a second and how will you build a string of delimited items using these literals. Eg. [java] String str1 =...

by Nishant Lakra
Tag: java8
22-Jun-2016

Big Data, Industry Buzz

Our experience through GIDS16 in Bengaluru

I know it’s too late, almost 2 weeks, since the GIDS16 (Great Indian Developer Summit 2016) ended - But the thought that "it’s better to be late than never" is motivating me to write down this post. It was a 5 days event - initial 4 days in Bengaluru and the last day in Pune. We attended day 2, 3 and 4 in Bengaluru. It featured...

by Salil
Tag: java8
18-May-2016

CQ5/AEM, Java

Issues while Migrating from Java6 to Java8 in AEM 6.1

Recently while working on AEM 6.1, I had to move from Java 6 to Java 8. Simply changing the Java version in POM led to some issues with OSGi services. Specifically, those services that were using @Reference annotation were not getting active and remained in "satistied" state. Here are all the steps I followed firstly to change Java...

by Shiffali Grover
Tag: java8
30-Oct-2015

Grails

Day 3 at SpringOne 2GX 2014

Day 3 started sharp at 7:30 with the breakfast and then the sessions started from 8:30 AM and continued till 6:00 PM. The day was jam packed with varying sessions on Groovy, Grails, performance optimisation and the "Groovy puzzlers show" (Yes, it was a show ;) ). The highlights of the day were: #  Microservice Architecture With...

by Uday Pratap Singh
Tag: java8
11-Sep-2014