Tag Archives: Java

Method Reference in Java 8 - code-adda.com

Method References in Java 8 – Types

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

Share Knowledge
No Thumbnail

Method Reference in Java 8

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. Method references enable you to do

Share Knowledge
No Thumbnail

Why Java 8 ?

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

Share Knowledge

Working with Tomcat7 Maven Plugin

In this article we are going to create a simple web application with the help of maven-archetype-webapp and will learn how to “Working with Tomcat7 Maven Plugin”. I hope you have read my previous article on how to integrate maven plugin with eclipse IDE and

Share Knowledge
code-adda Maven Repository and its different types

Maven Repository and its different types(Part-2)

Previous article, getting-started-with-maven (part-1), mainly focused on the introductory part of maven. In this article, we will get to know Maven Repository and its different types and how they work. Let’s get started. During project development, we need various artifacts say dependencies, libraries, plugins etc. To

Share Knowledge