Java 8 Recipes, Second Edition
- 9h 26m
- Josh Juneau
- Apress
- 2014
Java 8 Recipes offers solutions to common programming problems encountered while developing Java-based applications. Fully updated with the newest features and techniques available, Java 8 Recipes provides code examples involving Lambdas, embedded scripting with Nashorn, the new date-time API, stream support, functional interfaces, and much more. Especial emphasis is given to features such as lambdas that are newly introduced in Java 8. Content is presented in the popular problem-solution format: Look up the programming problem that you want to solve. Read the solution. Apply the solution directly in your own code. Problem solved!
The problem-solution approach sets Java 8 Recipes apart. Java 8 Recipes is focused less on the language itself and more on what you can do with it that is useful. The book respects your time by always focusing on a task that you might want to perform using the language. Solutions come first. Explanations come later. You are free to crib from the book and apply the code examples directly to your own projects.
- Covers the newly-released Java 8, including a brand new chapter on lambdas
- Focuses especially on up-and-coming technologies such as Project Nashorn and Java FX 2.0
- Respects your time by focusing on practical solutions you can implement in your own code
What you’ll learn
- Develop Java SE applications using the latest in Java SE technology
- Exploit the newly-introduced lambda features in Java 8
- Build dynamic web applications with JavaScript and Project Nashorn
- Create great-looking user interfaces with Java FX 2.0
- Generate graphics and work with media such as sound and video
- Add internationalization support to your Java applications
Who this book is for
Java 8 Recipes is aimed mainly at intermediate and experienced Java programmers. If you're past the point of being able to write "Hello, World", then you'll find Java 8 Recipes to be chock full of interesting and useful programming solutions to help you achieve your goals and meet with success in your Java programming projects.
About the Author
Josh Juneau has been developing software since the mid-1990s. PL/SQL development and database programming was the focus of his career in the beginning, but as his skills developed, he began to use Java and later shifted to it as a primary base for his application development. Josh has worked with Java in the form of graphical user interface, web, and command-line programming for several years. During his tenure as a Java developer, he has worked with many frameworks such as JSF, EJB, and JBoss Seam. At the same time, Josh has extended his knowledge of the Java Virtual Machine (JVM) by learning and developing applications with other JVM languages such as Jython and Groovy. His interest in learning new languages that run on the JVM led to his interest in Jython. Since 2006, Josh has been the editor and publisher for the Jython Monthly newsletter. In late 2008, he began a podcast dedicated to the Jython programming language.
In this Book
-
Getting Started with Java 8
-
New Features of Java 8
-
Strings
-
Numbers and Dates
-
Object-Oriented Java
-
Lambda Expressions
-
Data Structures and Collections
-
Input and Output
-
Exceptions and Logging
-
Concurrency
-
Debugging and Unit Testing
-
Unicode, Internationalization, and Currency Codes
-
Working with Databases
-
JavaFX Fundamentals
-
Graphics with JavaFX
-
Media with JavaFX
-
JavaFX on the Web
-
Nashorn and Scripting
-
E-mail
-
XML Processing
-
Networking
-
Security