Introduction to Hibernate, Java SE 8, Apache Maven & Spring
Introduction to Hibernate, Java SE 8, Apache Maven & Spring
By:M.Ayesathul Fareena.
Date:April 4,2025
Introduction
What is Hibernate?
● An ORM(Object Relational Mapping)framework for java.
● Helps in database interaction using java objects.
Key features
❖ Eliminates JDBC boilerplate code
❖ Supports caching & lazy loading
Hibernate - Architecture
Components:
❖ Session Factory
❖ Session
❖ Transaction
❖ Query & criteria API
How it works:
Maven:
❖ Configuration in pom.xml (Project Object
Model)
❖ Build Lifecycle
Validate -> compile -> test -> package ->
deploy.
Spring Framework:
What is spring?
➢ Support DI(Dependency injection)
➢ A powerful framework for
enterprise applications.
Key modules:
➔ Spring core
➔ Spring MVC
➔ Spring Boot.
Spring Boot
What is spring boot?
➔ A way to quickly create spring
application.
Key features:
★ Auto - configuration
★ Embedded servers(Tomcat ,jetty)
Conclusion: