The Java Module System

The Java Module System

Author: Nicolai Parlog

Publisher: Simon and Schuster

Published: 2019-06-26

Total Pages: 750

ISBN-13: 1638356246

DOWNLOAD EBOOK

Summary Java's much-awaited "Project Jigsaw" is finally here! Java 11 includes a built-in modularity framework, and The Java Module System is your guide to discovering it. In this new book, you'll learn how the module system improves reliability and maintainability, and how it can be used to reduce tight coupling of system components. Foreword by Kevlin Henney. Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications. You'll find registration instructions inside the print book. About the Technology Packaging code into neat, well-defined units makes it easier to deliver safe and reliable applications. The Java Platform Module System is a language standard for creating these units. With modules, you can closely control how JARs interact and easily identify any missing dependencies at startup. This shift in design is so fundamental that starting with Java 9, all core Java APIs are distributed as modules, and libraries, frameworks, and applications will benefit from doing the same. About the Book The Java Module System is your in-depth guide to creating and using Java modules. With detailed examples and easy-to-understand diagrams, you'll learn the anatomy of a modular Java application. Along the way, you'll master best practices for designing with modules, debugging your modular app, and deploying to production. What's inside The anatomy of a modular Java app Building modules from source to JAR Migrating to modular Java Decoupling dependencies and refining APIs Handling reflection and versioning Customizing runtime images Updated for Java 11 About the Reader Perfect for developers with some Java experience. About the Author Nicolai Parlog is a developer, author, speaker, and trainer. His home is codefx.org. Table of Contents PART 1 - Hello, modules First piece of the puzzle Anatomy of a modular application Defining modules and their properties Building modules from source to JAR Running and debugging modular applications PART 2 - Adapting real-world projects Compatibility challenges when moving to Java 9 or later Recurring challenges when running on Java 9 or later Incremental modularization of existing projects Migration and modularization strategies PART 3 - Advanced module system features Using services to decouple modules Refining dependencies and APIs Reflection in a modular world Module versions: What's possible and what's not Customizing runtime images with jlink Putting the pieces together


Java 11 and 12 - New Features

Java 11 and 12 - New Features

Author: Mala Gupta

Publisher:

Published: 2019-03-26

Total Pages: 242

ISBN-13: 9781789133271

DOWNLOAD EBOOK

Enhance your development skills with Java's state-of-the-art features and projects to make your applications leaner and faster Key Features Overcome the challenges involved in migrating to new versions of Java Discover how Oracle has bridged the gap between Java and native code Make the best use of new Java features and libraries in your applications Book Description With its new six-monthly release cadence, Java is moving forward faster. In addition to planned version releases, a lot of work is currently being undertaken on various Java projects at Oracle. In order to make best use of the new features in their applications and libraries, you must be well-versed with the most recent advancements. Java 11 and 12 - New Features will take you through the latest developments in Java, right from variable type inference and simplified multithreading through to performance improvements, which are covered in depth to help you make your applications more efficient. This book explains the relevance and applicability of Java's new features, and answers your questions on whether to invest in migrating to new Java versions and when to migrate. You'll also get to grips with platform features, such as AppCDS and new garbage collectors, to tune and optimize your application--from reduced launch time and latency to improved performance and throughput. By the end of this book, you will be equipped with a thorough understanding of the new features of Java 11, 12, and Project Amber, and possess the skills to apply them with a view to improving your application's performance. What you will learn Study type interference and how to work with the var type Understand Class-Data Sharing, its benefits, and limitations Discover platform options to reduce your application's launch time Improve application performance by switching garbage collectors Get up to date with the new Java release cadence Define and assess decision criteria for migrating to a new version of Java Who this book is for If you're an executive or solutions architect responsible for technology selection or Java migration decisions, this Java book is for you. You'll also benefit from this book if you're a computer science enthusiast curious to learn about the latest and upcoming Java features. This book will help you migrate your solutions from Java 8 or older to the latest Java release.


Mastering Java 11

Mastering Java 11

Author: Dr. Edward Lavieri

Publisher: Packt Publishing Ltd

Published: 2018-09-27

Total Pages: 451

ISBN-13: 1789138930

DOWNLOAD EBOOK

Update your Java knowledge with the latest features of Java 11, such as the low-Overhead Garbage Collector, Local-Variable Syntax for Lambda Parameters, and Dynamic Class-File Constants Key FeaturesExplore the latest features in Java 9,Java 10, and Java 11Enhance your Java application development and migration approaches Full coverage of modular Java applications, G1 Garbage Collector, JMHBook Description Java 11 is a long-term release and its new features add to the richness of the language. It emphasizes variable-type inference, performance improvements, along with simplified multithreading. The Java platform has a special emphasis on modularity, making this the programming platform of choice for millions of developers. The modern Java platform can be used to build robust software applications, including enterprise-level and mobile applications. Fully updated for Java 11, this book stands to help any Java developer enjoy the richness of the Java programming language. Mastering Java 11 is your one-stop guide to fully understanding recent Java platform updates. It contains detailed explanations of the recent features introduced in Java 9, Java 10, and Java 11 along with obtaining practical guidance on how to apply the new features. As you make your way through the chapters, you'll discover further information on the developments of the Java platform and learn about the changes introduced by the variable handles and Project Coin, along with several enhancements in relation to import statements processing. In the concluding chapters, you'll learn to improve your development productivity, making your applications more efficient. You'll also be able to get to grips with the command-line flags with respect to various utilities and the command-line utility changes featured in the current Java platform. By the end of the book, you'll have obtained an advanced level understanding of the Java platform and its recent changes. What you will learnWrite modular Java applicationsMigrate existing Java applications to modular onesUnderstand how the default G1 garbage collector worksLeverage the possibilities provided by the newly introduced Java ShellPerformance test your application effectively with the JVM harnessLearn how Java supports the HTTP 2.0 standardFind out how to use the new Process APIExplore the additional enhancements and features of Java 9, 10, and 11Who this book is for Mastering Java 11 is for experienced Java developers with a solid understanding of the Java language and want to progress to an advanced level.


OCP Oracle Certified Professional Java SE 11 Programmer I Study Guide

OCP Oracle Certified Professional Java SE 11 Programmer I Study Guide

Author: Jeanne Boyarsky

Publisher: John Wiley & Sons

Published: 2019-11-19

Total Pages: 798

ISBN-13: 1119584566

DOWNLOAD EBOOK

This OCP Oracle Certified Professional Java SE 11 Programmer I Study Guide: Exam 1Z0-815 and the Programmer II Study Guide: Exam 1Z0-816 were published before Oracle announced major changes to its OCP certification program and the release of the new Developer 1Z0-819 exam. No matter the changes, rest assured both of the Programmer I and II Study Guides cover everything you need to prepare for and take Exam 1Z0-819. If you’ve purchased one of the Programmer Study Guides, purchase the other one and you’ll be all set. NOTE: The OCP Java SE 11 Programmer I Exam 1Z0-815 and Programmer II Exam 1Z0-816 have been retired (as of October 1, 2020), and Oracle has released a new Developer Exam 1Z0-819 to replace the previous exams. The Upgrade Exam 1Z0-817 remains the same. The comprehensive study aide for those preparing for the new Oracle Certified Professional Java SE Programmer I Exam 1Z0-815 Used primarily in mobile and desktop application development, Java is a platform-independent, object-oriented programming language. It is the principal language used in Android application development as well as a popular language for client-side cloud applications. Oracle has updated its Java Programmer certification tracks for Oracle Certified Professional. OCP Oracle Certified Professional Java SE 11 Programmer I Study Guide covers 100% of the exam objectives, ensuring that you are thoroughly prepared for this challenging certification exam. This comprehensive, in-depth study guide helps you develop the functional-programming knowledge required to pass the exam and earn certification. All vital topics are covered, including Java building blocks, operators and loops, String and StringBuilder, Array and ArrayList, and more. Included is access to Sybex's superior online interactive learning environment and test bank—containing self-assessment tests, chapter tests, bonus practice exam questions, electronic flashcards, and a searchable glossary of important terms. This indispensable guide: Clarifies complex material and strengthens your comprehension and retention of key topics Covers all exam objectives such as methods and encapsulation, exceptions, inheriting abstract classes and interfaces, and Java 8 Dates and Lambda Expressions Explains object-oriented design principles and patterns Helps you master the fundamentals of functional programming Enables you to create Java solutions applicable to real-world scenarios There are over 9 millions developers using Java around the world, yet hiring managers face challenges filling open positions with qualified candidates. The OCP Oracle Certified Professional Java SE 11 Programmer I Study Guide will help you take the next step in your career.


Java 11 and 12 – New Features

Java 11 and 12 – New Features

Author: Mala Gupta

Publisher: Packt Publishing Ltd

Published: 2019-03-26

Total Pages: 229

ISBN-13: 1789137314

DOWNLOAD EBOOK

Enhance your development skills with Java’s state-of-the-art features and projects to make your applications leaner and faster Key FeaturesOvercome the challenges involved in migrating to new versions of JavaDiscover how Oracle has bridged the gap between Java and native codeMake the best use of new Java features and libraries in your applicationsBook Description With its new six-monthly release cadence, Java is moving forward faster. In addition to planned version releases, a lot of work is currently being undertaken on various Java projects at Oracle. In order to make best use of the new features in their applications and libraries, you must be well-versed with the most recent advancements. Java 11 and 12 – New Features will take you through the latest developments in Java, right from variable type inference and simplified multithreading through to performance improvements, which are covered in depth to help you make your applications more efficient. This book explains the relevance and applicability of Java's new features, and answers your questions on whether to invest in migrating to new Java versions and when to migrate. You'll also get to grips with platform features, such as AppCDS and new garbage collectors, to tune and optimize your application—from reduced launch time and latency to improved performance and throughput. By the end of this book, you will be equipped with a thorough understanding of the new features of Java 11, 12, and Project Amber, and possess the skills to apply them with a view to improving your application's performance. What you will learnStudy type interference and how to work with the var typeUnderstand Class-Data Sharing, its benefits, and limitationsDiscover platform options to reduce your application’s launch timeImprove application performance by switching garbage collectorsGet up to date with the new Java release cadenceDefine and assess decision criteria for migrating to a new version of JavaWho this book is for If you’re an executive or solutions architect responsible for technology selection or Java migration decisions, this Java book is for you. You’ll also benefit from this book if you’re a computer science enthusiast curious to learn about the latest and upcoming Java features. This book will help you migrate your solutions from Java 8 or older to the latest Java release.


Java 9 High Performance

Java 9 High Performance

Author: Mayur Ramgir

Publisher: Packt Publishing Ltd

Published: 2017-11-01

Total Pages: 391

ISBN-13: 1787122301

DOWNLOAD EBOOK

Best practices to adapt and bottlenecks to avoid About This Book Tackle all kinds of performance-related issues and streamline your development Master the new features and new APIs of Java 9 to implement highly efficient and reliable codes Gain an in-depth knowledge of Java application performance and obtain best results from performance testing Who This Book Is For This book is for Java developers who would like to build reliable and high-performance applications. Prior Java programming knowledge is assumed. What You Will Learn Work with JIT compilers Understand the usage of profiling tools Generate JSON with code examples Leverage the command-line tools to speed up application development Build microservices in Java 9 Explore the use of APIs to improve application code Speed up your application with reactive programming and concurrency In Detail Finally, a book that focuses on the practicalities rather than theory of Java application performance tuning. This book will be your one-stop guide to optimize the performance of your Java applications. We will begin by understanding the new features and APIs of Java 9. You will then be taught the practicalities of Java application performance tuning, how to make the best use of garbage collector, and find out how to optimize code with microbenchmarking. Moving ahead, you will be introduced to multithreading and learning about concurrent programming with Java 9 to build highly concurrent and efficient applications. You will learn how to fine tune your Java code for best results. You will discover techniques on how to benchmark performance and reduce various bottlenecks in your applications. We'll also cover best practices of Java programming that will help you improve the quality of your codebase. By the end of the book, you will be armed with the knowledge to build and deploy efficient, scalable, and concurrent applications in Java. Style and approach This step-by-step guide provides real-world examples to give you a hands-on experience.


OCP Oracle Certified Professional Java SE 11 Developer Practice Tests

OCP Oracle Certified Professional Java SE 11 Developer Practice Tests

Author: Scott Selikoff

Publisher: John Wiley & Sons

Published: 2021-02-17

Total Pages: 608

ISBN-13: 1119696135

DOWNLOAD EBOOK

NOTE: The OCP Java SE 11 Programmer I Exam 1Z0-815 and Programmer II Exam 1Z0-816 have been retired (as of October 1, 2020), and Oracle has released a new Developer Exam 1Z0-819 to replace the previous exams. The Upgrade Exam 1Z0-817 remains the same. Improve your preparation for the OCP Java SE 11 Developer exam with these comprehensive practice tests OCP Oracle Certified Professional Java SE 11 Developer Practice Tests: Exam 1Z0-819 and Upgrade Exam 1Z0-817 offers readers over 1000 practice questions to help them hone their skills for the challenging 1Z0-819 exam as well as the 1Z0-817 upgrade exam. Covering all the objective domains that help readers master the crucial subject areas covered by the exam, OCP Oracle Certified Professional Java SE 11 Developer Practice Tests provides domain-by-domain questions as well as additional bonus practice exams to further solidify the reader’s mastery of its subjects. This book covers topics like: Understanding Java Technology and Environment Working with Java Operators, Primitives, and Strings Creating Methods and Lambda Expressions Designing Classes, Interfaces, Enums, and Annotations Writing Functional Interfaces and Streams Building Modules and Migrating Applications to Modules Applying I/O, NIO.2, JDBC, Threads, and Concurrency Secure Coding in Java SE Application And much more Perfect for anyone studying for the OCP Java SE 11 Developer and Upgrade exams, as well as all those who wish to brush up on their Java programming skills, OCP Oracle Certified Professional Java SE 11 Developer Practice Tests: Exam 1Z0-819 and Upgade Exam 1Z0-817 is an indispensable resource that has a place on the bookshelf of every Java enthusiast, professional, and student.


Java 11 Cookbook

Java 11 Cookbook

Author: Nick Samoylov

Publisher: Packt Publishing Ltd

Published: 2018-09-29

Total Pages: 791

ISBN-13: 1789135281

DOWNLOAD EBOOK

Solutions for modular, functional, reactive, GUI, network, and multithreaded programming Key FeaturesExplore the latest features of Java 11 to implement efficient and reliable codeDevelop memory-efficient applications, understanding new garbage collection in Java 11Create restful webservices and microservices with Spring boot 2 and DockerBook Description For more than three decades, Java has been on the forefront of developing robust software that has helped versatile businesses meet their requirements. Being one of the most widely used programming languages in history, it’s imperative for Java developers to discover effective ways of using it in order to take full advantage of the power of the latest Java features. Java 11 Cookbook offers a range of software development solutions with simple and straightforward Java 11 code examples to help you build a modern software system. Starting with the installation of Java, each recipe addresses various problem by explaining the solution and offering insights into how it works. You’ll explore the new features added to Java 11 that will make your application modular, secure, and fast. The book contains recipes on functional programming, GUI programming, concurrent programming, and database programming in Java. You’ll also be taken through the new features introduced in JDK 18.3 and 18.9. By the end of this book, you’ll be equipped with the skills required to write robust, scalable, and optimal Java code effectively. What you will learnSet up JDK and understand what's new in the JDK 11 installationImplement object-oriented designs using classes and interfacesManage operating system processesCreate a modular application with clear dependenciesBuild graphical user interfaces using JavaFXUse the new HTTP Client APIExplore the new diagnostic features in Java 11Discover how to use the new JShell REPL toolWho this book is for The book is for intermediate-to-advanced Java programmers who want to make their applications fast, secure, and scalable.


OCP Oracle Certified Professional Java SE 17 Developer Study Guide

OCP Oracle Certified Professional Java SE 17 Developer Study Guide

Author: Scott Selikoff

Publisher: John Wiley & Sons

Published: 2022-03-24

Total Pages: 1351

ISBN-13: 1119864593

DOWNLOAD EBOOK

An effective and practical study aid to the new OCP Java SE 17 Developer certification exam In the OCP Oracle Certified Professional Java SE 17 Developer Study Guide: Exam 1Z0-829, you'll find accessible and essential test prep material for the in-demand and practical OCP Java SE 17 Developer certification. Providing comprehensive coverage of all OCP Java SE 17 exam objectives and competencies, the Study Guide offers you access to all the skills and knowledge you'll need to succeed on the test and in the field as a new or experienced Java developer. This book provides material on records, sealed classes, text blocks, dates, streams, controlling program flow, using the Java object-oriented approach, handling exceptions, working with arrays and collections, and more. You'll also get: Intuitively organized information that aligns with the competencies tested on the exam and those required by real-world Java developers Opportunities to practice and develop skills that remain in high demand in the IT industry Access to the Sybex online learning center, with chapter review questions, full-length practice exams, hundreds of electronic flashcards, and a glossary of key terms Perfect for anyone prepping for the brand-new OCP Java SE 17 credential, OCP Oracle Certified Professional Java SE 17 Developer Study Guide: Exam 1Z0-829 is also a can't-miss reference for practicing and aspiring Java developers seeking to learn or reinforce their foundational skills in Java programming and improve their performance on the job.


Java 9 Modularity

Java 9 Modularity

Author: Sander Mak

Publisher: "O'Reilly Media, Inc."

Published: 2017-09-07

Total Pages: 309

ISBN-13: 1491954116

DOWNLOAD EBOOK

The upcoming Java 9 module system will affect existing applications and offer new ways of creating modular and maintainable applications. With this hands-on book, Java developers will learn not only about the joys of modularity, but also about the patterns needed to create truly modular and reliable applications. Authors Sander Mak and Paul Bakker teach you the concepts behind the Java 9 module system, along with the new tools it offers. You’ll also learn how to modularize existing code and how to build new Java applications in a modular way. Understand Java 9 module system concepts Master the patterns and practices for building truly modular applications Migrate existing applications and libraries to Java 9 modules Use JDK 9 tools for modular development and migration