4 out of 5
4
89 reviews on Udemy

Java SE Desktop Application with Swing, JPA and Maven

Get a hands on experience in the latest technologies: Maven, JPA and Swing
Instructor:
Holczer Balazs
1,057 students enrolled
English [Auto-generated]
Use Java Persistence API framework
Use Maven framework
Able to create complex applications from scratch
Use Swing framework

When I started software engineering, I always wanted to code without any configurations, version control or build server configurations. Later, I realized that coding is just one part of software engineering: architectural designs, design patterns and the ability to write reusable and loosely coupled software components are much more important parts of programming. At the beginning it was quite hard for me to comprehend the role of these technologies, now I know for ceratain that they are very important as well as useful and can be used on daily basis. So in this course I would like to show you how to separate modules with the help of maven as well as to use the Java Persistence API for database related operations. We will cover Maven in the first section. Then we will consider JPA as a framework. We will learn how to create fancy user interfaces with the Swing framework. At the last section of the course we will wire everything together.

Section 1:

  • setting up the environment

  • installing Java, Eclipse, Maven and MySQL

Section 2:

  • what is Maven

  • build lifecycles and phases

  • POM files

Section 3:

  • what is Java Persistence API (JPA)

  • object relation mapping with JPA

  • basic CRUD operations with EntityManager

  • using Hibernate

Section 4:

  • developing a desktop application from scratch

  • using Maven

  • using Swing framework for GUI

  • using JPA and MySQL

Thanks for joining the course, let’s get started!

Introduction

1
Introduction

Installations

1
Installing Java
2
Installing Eclipse
3
Installing Maven
4
Installing MySQL server

Maven

1
What is Maven?
2
Maven with command line and Eclipse
3
Project Object Model (POM)
4
Build lifecycles and phases I - clean
5
Build lifecycles and phases II - site
6
Build lifecycles and phases III - default
7
Plugins
8
Plugins example
9
Maven repositories
10
Multiple modules
11
Parent pom vs aggregator pom
12
Maven quiz
13
Maven interview questions and summary

Java Persistence API (JPA)

1
The old way - JDBC
2
JDBC approach with example
3
What is Java Persitence API?
4
Java Persistence API architecture
5
Object relation mapping components
6
First JPA application - insert new record I
7
First JPA application - insert new record II
8
JPA annotations
9
Basic CRUD operartions with EntityManager - insert
10
Basic CRUD operartions with EntityManager - read
11
Basic CRUD operartions with EntityManager - delete
12
Java Persistence Query Language (JPQL) - basic queries I
13
Java Persistence Query Language (JPQL) - basic queries II
14
Java Persistence Query Language (JPQL) - native SQL queries
15
Java Persistence Query Language (JPQL) - named queries
16
Inheritance in JPA
17
Inheritance strategies I - single table
18
Inheritance strategies II - joined table
19
Inheritance strategies III - table per class
20
MappedSuperclass
21
Entity relationships - @OnToOne
22
Entity relationships - @OneToMany and @ManyToOne
23
Entity relationships - @ManyToMany
24
Lazy and eager fetch
25
Cascading fields
26
Callbacks and listeners
27
Locks - optimistic and pessimistic
28
JPA vs hibernate
29
JPA quiz
30
Java Persistence API interview questions and summary




Desktop Application

1
Creating the project structure with maven

User Interface Components

1
Creating the UI frame
2
MenuBar
3
MenuBar listeners
4
Creating the model
5
TableModel
6
Table
7
Synchronize table with the database
8
Status panel
9
Status panel - with time
10
Add student form layout
11
Add student form - listeners
12
Add student form - saving the data
13
Add student form - update callback
14
Remove student form - layout
15
Remove student form - listeners
16
Remove student form - service layer
17
Remove student form - remove callback

Database Management With JPA

1
Singleton pattern for the EntityManager
2
Student @Entity and @Table
3
Updating the queries
4
Wiring all together

Course Materials

1
Maven section source code
2
JPA section source code
3
Application source code
4
Slides

DISCOUNT FOR OTHER COURSES!

1
90% OFF For Other Courses
You can view and review the lecture materials indefinitely, like an on-demand channel.
Definitely! If you have an internet connection, courses on Udemy are available on any device at any time. If you don't have an internet connection, some instructors also let their students download course lectures. That's up to the instructor though, so make sure you get on their good side!
4
4 out of 5
89 Ratings

Detailed Rating

Stars 5
49
Stars 4
28
Stars 3
9
Stars 2
3
Stars 1
0
d1077b64c23dd4e00a2a31c14c770906
30-Day Money-Back Guarantee

Includes

8 hours on-demand video
7 articles
Full lifetime access
Access on mobile and TV
Certificate of Completion