Java 8
-
servlet
Java Servlet and JSP Example
In this article we will demonstrate a simple Servlet and JSP example using the maven cargo plugin from the command…
Read More » -
Core Java
Java 8 Collect vs Reduce Example
Hello readers, this tutorial explains the concept of reducing and collecting in Streams and Collector’s API respectively. 1. Introduction 1.1…
Read More » -
Core Java
Java 8 Comparator Example
Hello readers, this tutorial explains how to use Lambda expressions in order to improve the boilerplate code of the Comparator…
Read More » -
Core Java
Java 8 Consumer and Supplier Example
Hello readers, this tutorial explains the in-built functional interfaces (i.e. Consumer<T> and Supplier<T>) introduced in Java8. 1. Introduction These features…
Read More » -
Core Java
Java 8 Convert a Stream to List Example
Hello readers, this tutorial explains how to convert a Stream to a List with the help of the following examples.…
Read More » -
Core Java
Java 8 Streams: allMatch(), anyMatch(), noneMatch() Example
Hello readers, Java 8 Matching with Streams tutorial explains how to match the elements in a stream using the allMatch(),…
Read More » -
servlet
Java Servlet Container Example
In this article we will demonstrate deploying and running a simple web application via a servlet container. In addition to…
Read More » -
Core Java
Java 8 Predicate Example
Hello readers, this tutorial explains Java 8 predicate example, which has been newly introduced in the java.util.function package. This package…
Read More » -
nio
Java Nio FTP Example
In this example we will demonstrate an FTP example program written in Java using some of the NIO features available…
Read More » -
servlet
Java Servlet Cookie Methods Example
Servlets are modules of the Java code that run in a server application to answer the client requests. In this…
Read More »