Skip to main content
  • Book
  • © 2014

Java 8 Recipes

Apress

Authors:

  • Java 8 Recipes offers solutions to common programming problems in Java.
  • Special emphasis is given to features such as Lambdas and Nashorn that are new in Java 8.

Buy it now

Buying options

eBook USD 44.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Other ways to access

This is a preview of subscription content, log in via an institution to check for access.

Table of contents (22 chapters)

  1. Front Matter

    Pages i-xlviii
  2. Getting Started with Java 8

    • Josh Juneau
    Pages 1-28
  3. New Features of Java 8

    • Josh Juneau
    Pages 29-48
  4. Strings

    • Josh Juneau
    Pages 49-63
  5. Numbers and Dates

    • Josh Juneau
    Pages 65-96
  6. Object-Oriented Java

    • Josh Juneau
    Pages 97-132
  7. Lambda Expressions

    • Josh Juneau
    Pages 133-152
  8. Data Structures and Collections

    • Josh Juneau
    Pages 153-186
  9. Input and Output

    • Josh Juneau
    Pages 187-206
  10. Exceptions and Logging

    • Josh Juneau
    Pages 207-221
  11. Concurrency

    • Josh Juneau
    Pages 223-247
  12. Debugging and Unit Testing

    • Josh Juneau
    Pages 249-262
  13. Working with Databases

    • Josh Juneau
    Pages 283-329
  14. JavaFX Fundamentals

    • Josh Juneau
    Pages 331-403
  15. Graphics with JavaFX

    • Josh Juneau
    Pages 405-444
  16. Media with JavaFX

    • Josh Juneau
    Pages 445-471
  17. JavaFX on the Web

    • Josh Juneau
    Pages 473-503
  18. Nashorn and Scripting

    • Josh Juneau
    Pages 505-525
  19. E-mail

    • Josh Juneau
    Pages 527-535

About this book

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

About the author

Carl P. Dea is a software engineer working for BCT LLC on projects with high performance computing (HPC) architectures. He has been developing software for 15 years with many clients, from Fortune 500 companies to nonprofit organizations. He has written software ranging from mission-critical applications to Web applications. Carl has been using Java since the very beginning and is a JavaFX enthusiast dating back to when JavaFX used to be called F3. He has been involved with open-source projects such as JFXtras and JDIC. Carl's passion for software development started when his middle school science teacher showed him the TRS-80 computer. His current software development interests are: rich client platforms (RCP), rich Internet applications (RIAs), Groovy, game programming, Arduino, mobile phones, and tablet computers. When he's not working, Carl and his wife love to watch their daughters perform at gymnastics meets. Carl lives on the East Coast in Pasadena (aka "The Dena"), Maryland. You can follow him on Twitter @carldea, and on LinkedIn at www.linkedin.com/in/carldea. Carl also blogs at carlfx.wordpress.com.

Bibliographic Information

Buy it now

Buying options

eBook USD 44.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Other ways to access