Java SE Desktop Application with Swing, JPA and Maven
4.0 (111 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
1,204 students enrolled

Java SE Desktop Application with Swing, JPA and Maven

Get a hands on experience in the latest technologies: Maven, JPA and Swing
4.0 (111 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
1,204 students enrolled
Created by Holczer Balazs
Last updated 4/2019
English
English [Auto-generated]
Current price: $129.99 Original price: $199.99 Discount: 35% off
3 hours left at this price!
30-Day Money-Back Guarantee
This course includes
  • 8.5 hours on-demand video
  • 7 articles
  • 8 downloadable resources
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
Training 5 or more people?

Get your team access to 4,000+ top Udemy courses anytime, anywhere.

Try Udemy for Business
What you'll learn
  • Use Java Persistence API framework
  • Use Maven framework
  • Able to create complex applications from scratch
  • Use Swing framework
Requirements
  • Internet connection
Description

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!

Who this course is for:
  • This course is meant for everyone who knows basic Java and wants to get a good grasp of professional software engineering and design
Course content
Expand all 73 lectures 08:21:15
+ Maven
12 lectures 01:10:05
What is Maven?
05:23
Maven with command line and Eclipse
10:27
Project Object Model (POM)
05:43
Build lifecycles and phases I - clean
04:26
Build lifecycles and phases II - site
02:38
Build lifecycles and phases III - default
04:21
Plugins
02:57
Plugins example
03:06
Maven repositories
11:12
Multiple modules
14:30
Parent pom vs aggregator pom
05:21
Maven quiz
8 questions
Maven interview questions and summary
00:01
+ Java Persistence API (JPA)
29 lectures 03:37:22
The old way - JDBC
03:55
JDBC approach with example
17:04
What is Java Persitence API?
06:44
Java Persistence API architecture
04:04
Object relation mapping components
06:18
First JPA application - insert new record I
11:32
First JPA application - insert new record II
09:21
JPA annotations
08:42
Basic CRUD operartions with EntityManager - insert
04:48
Basic CRUD operartions with EntityManager - read
02:34
Basic CRUD operartions with EntityManager - delete
01:56
Java Persistence Query Language (JPQL) - basic queries I
11:25
Java Persistence Query Language (JPQL) - basic queries II
02:42
Java Persistence Query Language (JPQL) - native SQL queries
04:08
Java Persistence Query Language (JPQL) - named queries
08:08
Inheritance in JPA
00:58
Inheritance strategies I - single table
12:41
Inheritance strategies II - joined table
07:34
Inheritance strategies III - table per class
06:08
MappedSuperclass
11:26
Entity relationships - @OnToOne
16:26
Entity relationships - @OneToMany and @ManyToOne
13:16
Entity relationships - @ManyToMany
07:20
Lazy and eager fetch
05:40
Cascading fields
08:29
Callbacks and listeners
14:03
Locks - optimistic and pessimistic
05:57
JPA vs hibernate
04:02
JPA quiz
7 questions




Java Persistence API interview questions and summary
00:01
+ Desktop Application
1 lecture 09:25
Creating the project structure with maven
09:25
+ User Interface Components
17 lectures 02:29:33
Creating the UI frame
13:23
MenuBar
09:31
MenuBar listeners
07:19
Creating the model
04:58
TableModel
13:08
Table
09:49
Synchronize table with the database
11:27
Status panel
05:00
Status panel - with time
08:26
Add student form layout
14:38
Add student form - listeners
08:25
Add student form - saving the data
10:01
Add student form - update callback
08:31
Remove student form - layout
04:07
Remove student form - listeners
05:40
Remove student form - service layer
08:07
Remove student form - remove callback
07:03
+ Database Management With JPA
4 lectures 32:28
Singleton pattern for the EntityManager
11:05
Student @Entity and @Table
06:51
Updating the queries
08:14
Wiring all together
06:18
+ Course Materials
4 lectures 00:06
Maven section source code
00:01
JPA section source code
00:01
Application source code
00:02
Slides
00:00