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'll Learn
- Develop Java SE applications using the latest in Java SE technology
- Exploit advanced features like modularity and lambdas
- Use 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
Who This Book Is For
Both beginning Java programmers and advanced Java developers
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.