Skip to main content

About

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.

Taking this course will show you exactly how to write programs so multiple activities can proceed concurrently in the same program, making optimal use of the available resources, especially when your computer has multiple CPUs.

JavaFSD Part Contains with below following module contains

  • Database Programming in Java
  • SQL Deep Dive

Style and Approach

This video will allow you to explore the exciting capabilities of concurrency in Java. After watching this video, you will be able to comfortably build parallel applications in Java 9.

Course Length : 3 hour 28 minutes

Requirements

Add information about the skills and knowledge students need to take this course.

Author

James Cross

Colibri Digital is a technology consultancy company founded in 2015 by James Cross and Ingrid Funie. The company works to help their clients navigate the rapidly changing and complex world of emerging technologies, with deep expertise in areas like Big Data, Data Science, Machine Learning, and Cloud Computing.

Over the past few years they have worked with some of the world's largest and most prestigious companies, including a tier 1 investment bank, a leading management consultancy group, and one of the world's most popular soft drinks companies, helping each of them to better make sense of their data, and process it in more intelligent ways.

Frequently Asked Questions

What web browser should I use?

The Open edX platform works best with current versions of Chrome, Edge, Firefox, Internet Explorer, or Safari.

See our list of supported browsers for the most up-to-date information.

respond
hours per week
respond
Free
respond
RPS
respond
en

Share this course

Categories

Data Science(241)

Coding and Tools(37)

Admin and Cloud(380)

DevOps(78)

Programming(631)

Application Development(752)

Web Development(547)

Big Data and Analytics(709)

Soft Skills(19)

Network Security & Infrastructure(283)

Process Concepts(8)

Database(80)

Business Intelligence(22)

I've read enough.Take me to RPS