Book description
Get the steps you need to discover the world of Java 9 programming using real-world examples
About This Book
We bridge the gap between “learning” and “doing” by providing real-world examples that will improve your software development
Our example-based approach will get you started quickly with software programming, get you up-to-speed with Java 9, and improve your Java skills
This book will show you the best practices of Java coding and improve your productivity
Who This Book Is For
This book is for anyone who wants to learn the Java programming language. You are expected to have some prior programming experience with another language, such as JavaScript or Python, but no knowledge of earlier versions of Java is assumed.
What You Will Learn
Compile, package and run a trivial program using a build management tool
Get to know the principles of test-driven development and dependency management
Separate the wiring of multiple modules from the application logic into an application using dependency injection
Benchmark Java execution using Java 9 microbenchmarking
See the workings of the Spring framework and use Java annotations for the configuration
Master the scripting API built into the Java language and use the built-in JavaScript interpreter
Understand static versus dynamic implementation of code and high-order reactive programming in Java
In Detail
This book gets you started with essential software development easily and quickly, guiding you through Java’s different facets. By adopting this approach, you can bridge the gap between learning and doing immediately. You will learn the new features of Java 9 quickly and experience a simple and powerful approach to software development. You will be able to use the Java runtime tools, understand the Java environment, and create Java programs.
We then cover more simple examples to build your foundation before diving to some complex data structure problems that will solidify your Java 9 skills. With a special focus on modularity and HTTP 2.0, this book will guide you to get employed as a top notch Java developer.
By the end of the book, you will have a firm foundation to continue your journey towards becoming a professional Java developer.
Style and approach
Throughout this book, our aim is to build Java programs. We will be building multiple applications ranging from simpler ones to more complex ones. Learning by doing has its advantages as you will immediately see the concepts explained in action.
Table of contents
- Preface
- Getting Started with Java 9
- The First Real Java Program - Sorting Names
- Optimizing the Sort - Making Code Professional
- Mastermind - Creating a Game
- Extending the Game - Run Parallel, Run Faster
- Making Our Game Professional - Do it as a Webapp
- Building a Commercial Web Application Using REST
- Extending Our E-Commerce Application
- Building an Accounting Application Using Reactive Programming
- Finalizing Java Knowledge to a Professional Level
Product information
- Title: Java 9 Programming By Example
- Author(s):
- Release date: April 2017
- Publisher(s): Packt Publishing
- ISBN: 9781786468284
You might also like
book
Mastering Java 11 - Second Edition
Update your Java knowledge with the latest features of Java 11, such as the low-Overhead Garbage …
book
JavaFX 8: Introduction by Example, Second Edition
JavaFX 8: Introduction by Example shows you how to use your existing Java skills to create …
book
Java 9 Regular Expressions
Solve real world problems using Regex in Java. About This Book Discover regular expressions and how …
book
Java EE 8 Application Development
Develop Enterprise Java applications compliant with the latest version of the Java EE specification About This …