Administrator

Lokesh Gupta

Lokesh Gupta is a Java developer with more than 20 years of experience and the founder of HowToDoInJava, which he started in 2012. He has worked on Java and Spring applications at Hewitt Associates, Hughes Systique, Adobe and Bank of America. The site has over 1,600 tutorials on Java, Spring Boot, Hibernate, testing and TypeScript. Every example is run and verified before it is published, and the source code is on GitHub.

Website: https://howtodoinjava.com

Github: https://github.com/lokeshgupta1981/

Twitter: @HowToDoInJAVA

LinkedIn: https://www.linkedin.com/in/lokeshgupta1981/

My Articles:

Spring AI 1.x to 2.0 Migration Guide

Spring AI 2.0 migration guide: upgrade a Spring AI 1.x app to 2.0.1 step by step, with the build errors you will see and the fix for each one.

Spring Boot and Vaadin CRUD Example

Build a Spring Boot and Vaadin CRUD app with a Grid, a validated form and Spring Data JPA. Complete code for every file, run steps and real screenshots.

Python Lazy Imports: The lazy Keyword and Alternatives

Python 3.15 adds the lazy keyword (PEP 810) for imports that load on first use. This guide measures start-up time with -X importtime, shows a CLI tool that starts in 57 ms instead of 141 ms, and compares the older alternatives.

Upgrade Python Version: A Safe Migration Guide

Upgrade the Python version of an existing project in seven steps with pip and venv: fix the deprecation warnings on the old version, check the wheels, test on both versions, then switch. Shown on a real project moving from 3.12 to 3.15.

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.