Quickly find solutions to dozens of common programming problems encountered while building Java applications. Content is presented in the popular problem-solution format. Look up the programming problem that you want to resolve. Read the solution. Apply the solution directly in your own code. Problem solved!
This revised edition covers important new features such as Java 9's jShell and the new modularity features enabling you to separate code into independent modules that perform discrete tasks. Also covered are the new garbage collection algorithm and completely revamped process API. Enhanced JSON coverage is provided as well as a new chapter on JavaServer Faces development for web applications.
What You Will Learn:
Develop Java SE applications using the latest in Java SE technology
Exploit advanced features like modularity and lambdas
Utilize the jShell to quickly develop solutions
Build dynamic web applicationswith JavaScript and Project Nashorn
Create great-looking web interfaces with JavaServer Faces
Generate graphics and work with media such as sound and video
Add internationalization support to your Java applications
Programmers are in a hurry and under pressure to deliver results. They also must come up to speed fast on new features in their chosen language. Java 9 Recipes meets both needs through its solution-based approach to common programming problems. All the content in this book is presented in terms of problems that working programmers are called upon to solve every day. Solutions incorporate the latest Java 9 language features such as the new module support, the new money and process APIs, new garbage collection methods, and more. Readers of Java 9 Recipes can page to solutions that they are interested in using and put them to use right away with confidence. Readers will come away with a feeling of accomplishment because they will be able to review these solutions and integrate them into their own applications all in the same sitting. Provides fast solutions to common programming problems in Java Covers modularity, the JShell, and other new aspects of Java 9 Explains the new approach to garbage collection Includes enhanced JSON and JavaServer Faces content
“This book covers the essential new features of the Java language. … this book will help readers ‘quickly find solutions to dozens of common programming problems encountered while building Java applications.’ I think it’s good for all levels of readers. Overall, it is a helpful book.” (Computing Reviews, November, 2017)