Learning Java 9 - Databases and Multithreading in Java
Course
Online
Description
-
Type
Course
-
Methodology
Online
-
Start date
Different dates available
Comfortably build parallel applications in Java 9.Java programs can perform many actions in parallel, with each action being performed by a separate process known as a thread. A multi-threaded program might perform database access using one thread while another thread handles the display. Multithreading is a very powerful feature of the Java language. The downside to writing a multithreaded program is the additional complexity of dealing with the thread model. To solve this, we will start by examining the different types of databases available and the benefits of each type, along with a few simple examples. We will learn how to work with simple database operations in Java, including a hands-on example in which we start by processing a JSON file containing vehicle information, before persisting those vehicle objects to a database.Moving along, we will expand on our example to process a JSON text file containing data, before persisting those objects to a MySQL database, leveraging the Hibernate framework. Finally, we will learn some of the basics of concurrency in Java, before we jump into a real-life example. We will look at how we can accelerate processing a large list of data, assuming the time to process each element of the list is expensive. We will look at some crucial techniques and caveats to be aware of in Java, with a hands-on example of how processes can lock or not be thread-safe when threading issues are incorrectly considered. We will expand our example to look at how we can accelerate our file processing and data manipulation by leveraging Java's multithreading functionalities. This will include a discussion on thread safety, and some of the steps a developer must take to ensure multi-threaded applications do not encounter problems. Threads ensure users are not blocked as they are independent and can perform multiple operations at the same time. Also threads help your application to run smoothly, and make tasks easier to perform.
s set of APIs...
Facilities
Location
Start date
Start date
About this course
What is a database and why do I need to use one in my application?
The two major database classes : SQL and NoSQL
How to integrate a database into your application
The need for multithreading
Speeding up applications using multithreading
Deadlocks and livelocks, and how to avoid them
Reviews
This centre's achievements
All courses are up to date
The average rating is higher than 3.7
More than 50 reviews in the last 12 months
This centre has featured on Emagister for 6 years
Subjects
- Java
- Database
- SQL
- Database training
Course programme
- Learn what a database is
- Learn why an application use a database
- Explore the results
- Learn about Tables, rows and columns
- Learn about Joins
- Learn about SQL
- Differentiate between NoSQL and SQL
- Learn about NoSQL database types
- Learn why and when to use NoSQL databases
- Learn what a database is
- Learn why an application use a database
- Explore the results
- Learn about Tables, rows and columns
- Learn about Joins
- Learn about SQL
- Differentiate between NoSQL and SQL
- Learn about NoSQL database types
- Learn why and when to use NoSQL databases
- Learn what a database is
- Learn why an application use a database
- Explore the results
- Learn what a database is
- Learn why an application use a database
- Explore the results
- Learn what a database is
- Learn why an application use a database
- Explore the results
- Learn what a database is
- Learn why an application use a database
- Explore the results
- Learn what a database is
- Learn why an application use a database
- Explore the results
- Learn what a database is
- Learn why an application use a database
- Explore the results
- Learn about Tables, rows and columns
- Learn about Joins
- Learn about SQL
- Learn about Tables, rows and columns
- Learn about Joins
- Learn about SQL
- Learn about Tables, rows and columns
- Learn about Joins
- Learn about SQL
- Learn about Tables, rows and columns
- Learn about Joins
- Learn about SQL
- Learn about Tables, rows and columns
- Learn about Joins
- Learn about SQL
- Learn about Tables, rows and columns
- Learn about Joins
- Learn about SQL
- Differentiate between NoSQL and SQL
- Learn about NoSQL database types
- Learn why and when to use NoSQL databases
- Differentiate between NoSQL and SQL
- Learn about NoSQL database types
- Learn why and when to use NoSQL databases
- Differentiate between NoSQL and SQL
- Learn about NoSQL database types
- Learn why and when to use NoSQL databases
- Differentiate between NoSQL and SQL
- Learn about NoSQL database types
- Learn why and when to use NoSQL databases
- Differentiate between NoSQL and SQL
- Learn about NoSQL database types
- Learn why and when to use NoSQL databases
- Differentiate between NoSQL and SQL
- Learn about NoSQL database types
- Learn why and when to use NoSQL databases
- Explore the JSON data files
- Create POJOs
- Parse JSON into POJOs
- Learn What is Hibernate
- Learn What is object persistence
- Learn about Dockerized Postgres Database
- Create the Database
- Connecting to the database
- Learn about Object persistence with Hibernate
- Run the example
- Explore the results
- Retrieve the objects and
- Use them in our application
- Explore the JSON data files
- Create POJOs
- Parse JSON into POJOs
- Learn What is Hibernate
- Learn What is object persistence
- Learn about Dockerized Postgres Database
- Create the Database
- Connecting to the database
- Learn about Object persistence with Hibernate
- Run the example
- Explore the results
- Retrieve the objects and
- Use them in our application
- Explore the JSON data files
- Create POJOs
- Parse JSON into POJOs
- Explore the JSON data files
- Create POJOs
- Parse JSON into POJOs
- Explore the JSON data files
- Create POJOs
- Parse JSON into POJOs
- Explore the JSON data files
- Create POJOs
- Parse JSON into POJOs
- Explore the JSON data files
- Create POJOs
- Parse JSON into POJOs
- Explore the JSON data files
- Create POJOs
- Parse JSON into POJOs
- Learn What is Hibernate
- Learn What is object persistence
- Learn What is Hibernate
- Learn What is object persistence
- Learn What is Hibernate
- Learn What is object persistence
- Learn What is Hibernate
- Learn What is object persistence
- Learn What is Hibernate
- Learn What is object persistence
- Learn What is Hibernate
- Learn What is object persistence
- Learn about Dockerized Postgres Database
- Create the Database
- Connecting to the database
- Learn about Dockerized Postgres Database
- Create the Database
- Connecting to the database
- Learn about Dockerized Postgres Database
- Create the Database
- Connecting to the database
- Learn about Dockerized Postgres Database
- Create the Database
- Connecting to the database
- Learn about Dockerized Postgres Database
- Create the Database
- Connecting to the database
- Learn about Dockerized Postgres Database
- Create the Database
- Connecting to the database
- Learn about Object persistence with Hibernate
- Run the example
- Explore the results
- Learn about Object persistence with Hibernate
- Run the example
- Explore the results
- Learn about Object persistence with Hibernate
- Run the example
- Explore the results
- Learn about Object persistence with Hibernate
- Run the example
- Explore the results
- Learn about Object persistence with Hibernate
- Run the example
- Explore the results
Additional information
Learning Java 9 - Databases and Multithreading in Java
