Java SE Desktop Application with Swing, JPA and Maven

Java SE Desktop Application with Swing, JPA and Maven

English | 2016 | MP4 | AVC 1920×1080 | AAC 48KHz 2ch | 8.5 Hours | 1.47 GB

Get a hands on experience on the latest technologies: Maven, JPA and Swing

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 irst 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.

Table of Contents

1 Introduction

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

6 What is Maven
7 Maven with command line and Eclipse
8 Project Object Model POM
9 Build lifecycles and phases I – clean
10 Build lifecycles and phases II – site
11 Build lifecycles and phases III – default
12 Plugins
13 Plugins example
14 Maven repositories
15 Multiple modules
16 Parent pom vs aggregator pom
17 Maven interview questions and summary.html
17q Maven quiz.html

Java Persistence API JPA
18 The old way – JDBC
19 JDBC approach with example
20 What is Java Persitence API
21 Java Persistence API architecture
22 Object relation mapping components
23 First JPA application – insert new record
24 JPA annotations
25 Basic CRUD operartions with EntityManager – insert
26 Basic CRUD operartions with EntityManager – read
27 Basic CRUD operartions with EntityManager – delete
28 Java Persistence Query Language JPQL – basic queries I
29 Java Persistence Query Language JPQL – basic queries II
30 Java Persistence Query Language JPQL – native SQL queries
31 Java Persistence Query Language JPQL – named queries
32 Inheritance in JPA
33 Inheritance strategies I – single table
34 Inheritance strategies II – joined table
35 Inheritance strategies III – table per class
36 MappedSuperclass
37 Entity relationships – OnToOne
38 Entity relationships – OneToMany and ManyToOne
39 Entity relationships – ManyToMany
40 Lazy and eager fetch
41 Cascading fields
42 Callbacks and listeners
43 Locks – optimistic and pessimistic
44 JPA vs hibernate
45q JPA quiz.html

Desktop Application
46 Creating the project structure with maven

User Interface Components
47 Creating the UI frame
48 MenuBar
49 MenuBar listeners
50 Creating the model
51 TableModel
52 Table
53 Synchronize table with the database
54 Status panel
55 Status panel – with time
56 Add student form layout
57 Add student form – listeners
58 Add student form – saving the data
59 Add student form – update callback
60 Remove student form – layout
61 Remove student form – listeners
62 Remove student form – service layer
63 Remove student form – remove callback

Database Management With JPA
64 Singleton pattern for the EntityManager
65 Student Entity and Table
66 Updating the queries
67 Wiring all together

Course Materials
68 Maven section source code.html
69 JPA section source code.html
70 Application source code.html
71 Slides.html
72 Discounted Coupon Codes.html