A Guide to Java Collections Framework. Learn Collections Hierarchy, Collections types, features and recent changes; with examples.
Learn ways of converting List of Strings into concatenated String Joined by delimiter in Java with the help of examples.
An introduction to Java Collections Map Interface. Learn what is a Map type, features of the Maps and when should you use Maps.
Welcome to an Introduction to Java HashMaps. Learn When and How to use HashMaps, HashMap features, basic methods along with with examples.
A guide to Java LinkedHashSet collection. Learn features and benefits of using LinkedHashSet along with examples.
A focused guide to Java TreeSet and its behaviour. Learn benefits and reasons to use Java TreeSet along with examples.
Learn different Ways of Creating HashMap in Java, including how to create and initialize Singleton, Empty, and Immutable maps with examples.
A focused guide to Java HashSet and its behaviour. Learn how and when to use HashSet along with plenty of examples.
An Introduction to Java Set collections interface. Learn what is Set and how is it different than other collections of Java.
Learn to create and initialize HashSet at the time of Construction in Java. A guide to create inline HashSets with examples.
Learn ways of Collecting a Stream of List into Map using Java Streams API. Using Collectors.toMap and Collectors.groupingBy with example.
In this Java 8 Optional Examples Tutorial learn How to avoid Nulls and Null Pointer Exceptions and avoid Null Checks using Java 8 Optional.
Learn with Examples to use Java Method Reference and Constructor Reference for passing or expression assignment
A tutorial on Java Functional Interfaces – Learn with code examples the concept of Functional Interfaces and why were they added in Java 8.
This is your guide to get Hands-on Spring Data JPA. It gives an Introduction to Spring Data JPA and provides easy code examples
Learn What is JPA, Spring Data and Spring Data JPA. Read it to understand each of them and how do they work together.
Learn Spring Data JPA pagination and sorting techniques. Write PagingAndSortingRepository and learn the difference between Slice and Page.
Learn Spring Data JPA Query Methods, CrudRepository, PagingAndSortingRepository, query methods, and @Query with examples.
This guide covers an overview of Java Persistence API (JPA). Why it was created, what are the highlights, and what are the major parts. Learn Entity, EntityManager, JPQL and Criteria.
A guide to Spring Data JPA find by @EmbeddedId Partially. Use Spring data JPA to find by partial composite primary key with code examples.
Guide to learn Spring Data JPA Composite Key with @EmbeddedId. Learn what is Primary Key and Composite Primary Key, and how Spring Data JPA supports it.
A guide for Accessing data using Spring Data JPA abstraction. We will use real database and Spring Data JPA for creating table and accessing data.
Lean about the ways of handling exception in Spring Boot Web Service. Read for through examples and detailed description of the concepts
Learn to write your own Spring Boot Rest Service in minutes with the help of full source code.
Spring Boot Multiple Mongo Templates describes way to inject more than one mongo templates or any other objects created by auto configuration.
Java 8 Streams – Terminal Operations describes Java 8 streams Matching, Finding, Reducing, and Optional with detailed examples
Java 8 Streams Intermediate Operations like map, flatMap, filter, sorting and limit are explained in detailed with simple examples
Java 8 Streams are lazy and still help in faster processing and improving speed of your application. Learn How.
This article helps Understanding Java 8 Streams API. Learn what are streams, how different they are from Collections, stream operations, behaviours with simple examples
Java 8 Date and Time API is modified. Learn about what has changed and how better it is compared to old API or Joda Time API. Explained in detailed with examples.
Before we learn Java 8 Date and Time API, let’s have a looks at what is Joda Time API and how it is different than old date and time API. This will help us understand how better Java Date and Time API is.
Before diving deeper into Java 8 Date and Time API, let’s first understand existing Date and Time API. See the main features and examples of Date and Time API.
Java Preferences API is quite old and not so famous feature in Java. Learn about how Java Preferences API helps storing User or System preferences with the help of detailed examples.
A guide to Java 8 Collections API enhancements. Learn about the changes like streams, new methods with the help of code examples.
Java 8 has exciting features like Closures, and Lambda Expressions. In this article we will look deeper into what is a Lambda expression and how Java supports it.
Learn about Java Fork Join Framework, how it works, what is Work Stealing Algorithm, how it makes use of multi-core capabilities and how parallelism is different than concurrency.
Learn about Servlet 3.0 features like web-fragments, asynchronous request processing, annotations with examples