Series

Related Tags

Tutorials

Spring AI

Spring AI Tutorial

Inspired by LangChain4j and LlamaIndex, Spring AI project aims to streamline the development and integration of AI capabilities into existing or new Spring applications.

Spring Framework Tutorials

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

Spring MVC

Spring WebMVC (or Spring MVC) contains Spring’s model-view-controller (MVC) and REST Web Services implementation for web applications.

Spring Batch Tutorial

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

Java String & Regex Tutorials

Java String methods grouped by task with Java 25 examples, from equals() and compareTo() to strip(), split() and replaceAll(), with pitfalls and FAQs.

Interview Prep & Best Practices

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 4. Best Practices Happy Learning …

Build Tools: Maven & Gradle

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 Collections & Arrays Tutorial

Learn the Java Collections Framework with a Java 21 hierarchy diagram, how to choose List, Set, Map and Queue classes, and links to every tutorial.

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.

Java Core & Fundamentals Tutorial

Java tutorial for beginners on Java 25. Install the JDK, run a first program and follow a 12-step learning path plus an index of every Java topic.

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.