
Attach named queries to the person entity class and reuse them to separate Java code from database logic. Use typed queries, set parameters, and fetch by id or by name.
Learn how the Java Persistence API handles inheritance with a single table strategy, using a shared vehicle table, a discriminator column, and concrete car and bus subclasses.
Compare optimistic and pessimistic locking in JPA, using an inventory example to show how version checks prevent conflicts. Understand how locking modes differ and how the version field works automatically.
Explore collision detection using bounding boxes and rectangle intersections to determine hits or game over, starting with a brute-force check and noting simple optimizations like sweep and prune.
Define and manage game variables with a private constructor, public static Boolean in game, shields, and totalScore; decrement shields on collisions and trigger game over when shields drop below zero.
Transform for loops into while loops and vice versa in Java, choosing form. See 0 to 4 counter and learn how missing increments cause infinite loops, like a game loop.
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 certain 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 learn how to create fancy user interfaces with the Swing framework. At the last section of the course we will wire everything together. In the last chapters you can learn about Java Game Development.
Section 1 - Installations
setting up the environment
installing Java, Eclipse, Maven and MySQL
Section 2 - Maven
what is Maven
build lifecycles and phases
clean, site and default
handling dependencies
POM files
Section 3 - Java Persistence API (JPA)
why to use databases?
JDBC and the old way
what is Java Persistence API (JPA)
object relation mapping with JPA
how to deal with inheritance with JPA
how to deal with composition with JPA
basic CRUD operations with EntityManager
using Hibernate
Section 4 - Swing Framework and Desktop Application:
developing a desktop application from scratch
using Maven
using Swing framework for GUI
using JPA and MySQL
Section 5 - Java Game Development Fundamentals
developing a game from scratch in Java Swing
Java Game Development from scratch
understanding the basics of animations
what are sprites?
game loop (the core of game engines)
user interface components with Swing
Section 6 - Java Basics (Appendix)
Java basics
data types, loops and decision making
memory management (stack memory and heap memory)
basic data structures
arrays, lists and maps
Thanks for joining the course, let's get started!