Book Image

Java 9 Programming Blueprints

By : Lee
Book Image

Java 9 Programming Blueprints

By: Lee

Overview of this book

Java is a powerful language that has applications in a wide variety of fields. From playing games on your computer to performing banking transactions, Java is at the heart of everything. The book starts by unveiling the new features of Java 9 and quickly walks you through the building blocks that form the basis of writing applications. There are 10 comprehensive projects in the book that will showcase the various features of Java 9. You will learn to build an email filter that separates spam messages from all your inboxes, a social media aggregator app that will help you efficiently track various feeds, and a microservice for a client/server note application, to name a few. The book covers various libraries and frameworks in these projects, and also introduces a few more frameworks that complement and extend the Java SDK. Through the course of building applications, this book will not only help you get to grips with the various features of Java 9, but will also teach you how to design and prototype professional-grade applications with performance and security considerations.
Table of Contents (13 chapters)
9
Taking Notes with Monumentum

What this book covers

Chapter 1, Introduction, gives a quick overview of the new features in Java 9, and also covers some of the major features of Java 7 and 8 as well, setting the stage for what we'll be using in later chapters.

Chapter 2, Managing Process in Java, builds a simple process management application (akin to Unix's top command), as we explore the new OS process management API changes in Java 9.

Chapter 3, Duplicate File Finder, demonstrates the use of the New File I/O APIs in an application, both command line and GUI, that will search for and identify duplicate files. Technologies such as file hashing, streams, and JavaFX are heavily used.

Chapter 4, Date Calculator, shows a library and command-line tool to perform date calculations. We will see Java 8's Date/Time API exercised heavily.

Chapter 5, Sunago - A Social Media Aggregator, shows how one can integrate with third-party systems to build an aggregator. We'll work with REST APIs, JavaFX, and pluggable application architectures.

Chapter 6, Sunago - An Android Port, sees us return to our application from Chapter 5, Sunago - A Social Media Aggregator.

Chapter 7, Email and Spam Management with MailFilter, builds a mail filtering application, explaining how the various email protocols work, then demonstrates how to interact with emails using the standard Java email API--JavaMail.

Chapter 8, Photo Management with PhotoBeans, takes us in a completely different direction when we build a photo management application using the NetBeans Rich Client Platform.

Chapter 9, Taking Notes with Monumentum, holds yet another new direction. In this chapter, we build an application--and microservice--that offers web-based note-taking similar to several popular commercial offerings.

Chapter 10, Serverless Java, moves us into the cloud as we build a Function as a Service system in Java to send email and SMS-based notifications.

Chapter 11, DeskDroid - A Desktop Client for Your Android Phone, demonstrates a simple approach for a desktop client to interact with an Android device as we build an application to view and send text messages from our desktop.

Chapter 12, What's Next?, discusses what the future might hold for Java, and also touches upon two recent challengers to Java's preeminence on the JVM--Ceylon and Kotlin.