Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Learning Java 9 - Databases and Multithreading in Java
Learning Java 9 - Databases and Multithreading in Java

Learning Java 9 - Databases and Multithreading in Java: Build highly scalable, robust, and concurrent applications with Java 9

Arrow left icon
Profile Icon James Cross
Arrow right icon
€106.99
Video May 2018 1hr 40mins 1st Edition
Video
€106.99
Subscription
Free Trial
Renews at €18.99p/m
Arrow left icon
Profile Icon James Cross
Arrow right icon
€106.99
Video May 2018 1hr 40mins 1st Edition
Video
€106.99
Subscription
Free Trial
Renews at €18.99p/m
Video
€106.99
Subscription
Free Trial
Renews at €18.99p/m

What do you get with a video?

Product feature icon Download this video in MP4 format
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Key benefits

  • --Use next-generation NOSQL databases and understand their typical uses and patterns in Java 9
  • --Take a close look at the Java 9 APIs and their impact on concurrency
  • --Practical examples on thread safety, high-performance classes, safe sharing, and a whole lot more

Description

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.

Who is this book for?

This course targets developers who have Java experience and are keen to learn how to build applications that leverage databases and multithreading.

What you will learn

  • • 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

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : May 30, 2018
Length: 1hr 40mins
Edition : 1st
Language : English
ISBN-13 : 9781788620611
Category :
Languages :
Concepts :

What do you get with a video?

Product feature icon Download this video in MP4 format
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Product Details

Publication date : May 30, 2018
Length: 1hr 40mins
Edition : 1st
Language : English
ISBN-13 : 9781788620611
Category :
Languages :
Concepts :

Packt Subscriptions

See our plans and pricing
Modal Close icon
€18.99 billed monthly
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
€189.99 billed annually
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just €5 each
Feature tick icon Exclusive print discounts
€264.99 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just €5 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total 258.97
Learning Java 9 - Functional Programming (v)
€114.99
Learning Java 9 - Databases and Multithreading in Java
€106.99
Java Projects
€36.99
Total 258.97 Stars icon
Banner background image

Table of Contents

3 Chapters
Introduction to Databases Chevron down icon Chevron up icon
Using Hibernate to Persist Objects to Postgres Chevron down icon Chevron up icon
Concurrency in Java Chevron down icon Chevron up icon
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

How can I download a video package for offline viewing? Chevron down icon Chevron up icon
  1. Login to your account at Packtpub.com.
  2. Click on "My Account" and then click on the "My Videos" tab to access your videos.
  3. Click on the "Download Now" link to start your video download.
How can I extract my video file? Chevron down icon Chevron up icon

All modern operating systems ship with ZIP file extraction built in. If you'd prefer to use a dedicated compression application, we've tested WinRAR / 7-Zip for Windows, Zipeg / iZip / UnRarX for Mac and 7-Zip / PeaZip for Linux. These applications support all extension files.

How can I get help and support around my video package? Chevron down icon Chevron up icon

If your video course doesn't give you what you were expecting, either because of functionality problems or because the content isn't up to scratch, please mail [email protected] with details of the problem. In addition, so that we can best provide the support you need, please include the following information for our support team.

  1. Video
  2. Format watched (HTML, MP4, streaming)
  3. Chapter or section that issue relates to (if relevant)
  4. System being played on
  5. Browser used (if relevant)
  6. Details of support
Why can’t I download my video package? Chevron down icon Chevron up icon

In the even that you are having issues downloading your video package then please follow these instructions:

  1. Disable all your browser plugins and extensions: Some security and download manager extensions can cause issues during the download.
  2. Download the video course using a different browser: We've tested downloads operate correctly in current versions of Chrome, Firefox, Internet Explorer, and Safari.