Life Cycles

Java Thread Life Cycle

Java Thread Life Cycle and States

Learn about the lifecycle of a Thread in Java, and how the state transitions happen between different states of the Thread by JVM and OS.

Hibernate Entity LifeCycle

A hibernate entity, in context to persistence context or Session, can have 4 lifecycle states: transient, persistent, detached and removed.

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.