Java Persistence API is a collection of classes and methods to persistently store the vast amounts of data into a database. This tutorial provides you the basic understanding of Persistence (storing the copy of database object into temporary memory), and we will learn the understanding of JAVA Persistence API (JPA).
Hibernate is an Object-Relational Mapping (ORM) solution for JAVA. It is an open source persistent framework created by Gavin King in 2001. It is a powerful, high performance Object-Relational Persistence and Query service for any Java Application.
Hibernate maps Java classes to database tables and from Java data types to SQL data types and relieves the developer from 95% of common data persistence related programming tasks.
Hibernate sits between traditional Java objects and database server to handle all the works in persisting those objects based on the appropriate O/R mechanisms and patterns.
Project Lombok is a java library that automatically plugs into your editor and build tools, spicing up your java. Never write another getter or equals method again, with one annotation your class has a fully featured builder, Automate your logging variables, and much more.
Lombok essentially will use @Data
to do everything for you. You can also use @AllArgsConstructor
and @NoArgsConstructor
to
create all of the default constructors that you require without typing anything more than the annotations.
#Outline
- Scrum Intro
- Planning Meeting
- User Story
- Agile
Lunch
- Set up Project
- Layout all the dependencies
- Set up all the HTML pages
- Make the main controller
- Do a Retrospective
HomeWork:
- Do JUnit Testing
- Some will fail
##Day 2
- Do a StandUp
- Review HomeWork
- Planning Meeting
First Break
- Set up Data Base
- Models
- Repo
- Services
- Set up User Authentication
- Do the login page logic
- Do the user cart logic
Lunch
- Set up Dynamic Products
- Link all the HTML pages together
- Do Retrospective
HomeWork:
- Do JUnit testing
- Do integration & regression testing
- Stand Up
- Review Homework
- Planning Meeting
First Break
- Adding the buttons and filtering logic to the navbar
- Adding a numbering logic to the cart in the navbar
Lunch
- Discuss style guide
- Finalize Project
- Full test of the entire site
- Demo Projects