Wednesday , June 28 2017

Recent Posts

April, 2017

  • 4 April

    Java 8 Read File Line By Line Example

    In this tutorials, I am going to show you how to read a File line by line using Java 8 Lambda Expressions. Read File Line By Line : Files is a class introduced in Java 7. This class consists exclusively of static methods that will work on files, directories, or …

    Read More »
  • 4 April

    User defined sorting with Java 8 Comparator

    In this tutorials, we are going to see how to sort user defined objects using Java 8 comparator with lambda expression. In the previous tutorials we have discussed about what is comparator in Java,  you can seen the basic functionality of the comparator in java here. Java 8 Comparator : …

    Read More »
  • 3 April

    How to Filter a Map in Java 8

    In this tutorials, we are going to filter a map in Java 8. We have been filtering the map in Java since over the years. But in previous versions of Java, if we want to filter a Map, we should loop the map and put condition in side the loop …

    Read More »
  • 3 April

    How to sort a Map using Java8

    I this  tutorials, I am going to show you how to sort a Map using Java 8 features. Sort a Map using Java8 : We can sort a map by two ways: Sort by key and value. Sort by key : Sort by Value :

    Read More »
  • 2 April

    How to convert List to Map in Java 8

    In this tutorials, we are going to learn how to convert List to Map in Java 8. Convert List to Map in Java 8 : We can convert the Java List<?> of objects into Map<k,v> in Java 8 via the Collectors class. The Collectors class provides a toMap() method to convert …

    Read More »
  • 2 April

    Java 8 How to convert Stream to List

    In this tutorials, we are going to learn how to convert stream to list in Java 8 Java 8 convert Stream to List : Java 8 provides a Collectors class to convert Stream to List. Collectors class is a final class, which is an implementation of Collector interface. The Collector …

    Read More »

March, 2017

  • 31 March

    Java 8 Stream Filter Example with Objects

    In this tutorials, we are going to show you how to filter a stream of objects in Java 8. We can filter the string values and as well as objects using the Java 8 Stream filter . Java 8 Stream Filter : The filter() in Java 8 is a method …

    Read More »
  • 30 March

    Java 8 foreach Example Tutorials

    In this tutorials, we are going to show how to use Java 8 foreach with lambda expressions. Usually we can use the foreach, while iterating the loops. Java 8 foreach : Java 8 introduced foreach as a method from Iterable interface, which performs the given action for the Iterable until …

    Read More »
  • 25 March

    Spring Boot Hibernate Integration Example

    In this tutorial, we are going to show you Spring Boot with Hibernate Example. The Spring Boot Hibernate integration is a crazy combination, since the hibernate have its own importance. Spring Boot Hibernate Integration : The technologies which are used for this example. Spring Boot Hibernate Project Structure : A …

    Read More »
  • 20 March

    Spring Boot JPA Integration Example

    In this tutorials, we are going to show you how to integrate Spring Boot with data JPA as  Spring Boot JPA Example. This includes how to integrate the simple spring boot application with Spring Data JPA. Spring Boot JPA Integration : Here we are going to use the below technologies: …

    Read More »
  • 12 March

    Spring Boot MVC Example Tutorials

    In this tutorials I am going to show you how to create a Spring Boot MVC application. Spring Boot MVC : Here we are going to use the below technologies: Project Structure : A typical Maven project directory structure. pom.xml Spring Controller : Its a typical spring login form controller. …

    Read More »

February, 2017

  • 25 February

    Simple Spring Boot Example

    In this tutorial, I am going to show you the most popular and trending module in Spring Framework that is Spring Boot. By this tutorials you can get to know how to write a Simple Spring Boot Example. Used Technologies : Spring 3.2.3 Spring Boot 1.5.1 Java 8 Maven 3 …

    Read More »

January, 2017

  • 26 January

    PHP Form Handling Example

    In this tutorials, we are going to see how to work with PHP form. PHP Form : A PHP form is one key strength that propelled the use of PHP for server-side scripting, because it offers dynamic inputs and outputs, thus acting like any other powerful language such as C, …

    Read More »
  • 25 January

    PHP for Loop foreach Example Tutorials

    PHP for loop (s) are designed to work with iterative numbers. A block of code will be executed for a specified number of times. PHP for Loop : The PHP for loop demands that the programmer must know how many times the script is needed to run. Syntax : The …

    Read More »
  • 25 January

    How to write (PHP fwrite) a file in PHP

    In this tutorials, we are going to see how to write content on a file in php. PHP fwrite : php fwrite is a function which is used to write a content on file. To write content on file, first of all we need to create a file and open …

    Read More »