Series

Spring Tutorials

Spring helps write high-performing, easily testable, and reusable code and promotes programming best practices by applying dependency injection (DI).

Spring Batch Tutorial

Spring batch is a lightweight, comprehensive framework designed for the development of robust batch processing applications. Learn with examples.

Interview Guide

These articles will help you prepare for the next interview with more confidence. We have tried to put as much reasoning as possible in each question. Feel free to suggest more questions and guides. 1. Java Interview Questions 2. Spring Interview Questions 3. More Questions Happy Learning !!

Maven Tutorials

Maven is a build tool based on POM and is generally used for Java projects to automatically download the project dependencies in build time.

Java Map: HashMap vs LinkedHashMap vs TreeMap and More

A Java Map stores unique keys with one value each. Quick put/get/merge/computeIfAbsent examples, a comparison of HashMap, LinkedHashMap, TreeMap, ConcurrentHashMap, EnumMap, Hashtable and Map.of(), and all our Map tutorials grouped by topic.

Java Versions and Features [Updated upto Java 22]

On this page, we will frequently list the major feature changes in the latest Java release, sequentially. Though we have tried to cover as much information as possible, if you know something we have missed below, please let me know, and we will add that information. Java 22 Features Java …

TestNG Tutorials

TestNG is a test automation framework inspired by JUnit. It can be used for unit testing, functional, integration, and end-to-end testing.

Spring Boot Tutorial

Learn Spring Boot with the following in-depth tutorials, covering from basic to advanced concepts such as packaging and monitoring.

Hibernate Tutorials: Learn Hibernate 7 with Examples

Hibernate tutorials for Hibernate 7.4, Jakarta Persistence 3.2 and Java 25, grouped as a learning path: setup, entities, entity states, associations, queries, caching, validation, search and fixes for common errors.

About Us

HowToDoInJava provides tutorials and how-to guides on Java and related technologies.

It also shares the best practices, algorithms & solutions and frequently asked interview questions.