My Account Log in

3 options

Java 9 programming blueprints : implement new features such as modules, the process handling API, REPL, and many more to build end-to-end applications in Java 9 / Jason Lee.

EBSCOhost Academic eBook Collection (North America) Available online

View online

Ebook Central College Complete Available online

View online

O'Reilly Online Learning: Academic/Public Library Edition Available online

View online
Format:
Book
Author/Creator:
Lee, Jason, author.
Language:
English
Subjects (All):
Java (Computer program language).
Application software--Development.
Application software.
Application program interfaces (Computer software).
Physical Description:
1 online resource (458 pages) : illustrations, photographs
Edition:
1st edition
Other Title:
Java nine programming blueprints
Place of Publication:
Birmingham, England ; Mumbai, [India] : Packt, 2017.
System Details:
text file
Biography/History:
Lee Jason: Jason Lee has been writing software professionally for over 20 years, but his love for computers started over a decade earlier, in the fourth grade, when his dad brought home a Commodore 64. He has been working with Java for almost his entire career, with the last 12+ years focused primarily on Enterprise Java. He has written in-house web applications and libraries, and also worked on large, more public projects, such as the JavaServer Faces reference implementation Mojarra, GlassFish, and WebLogic Server. Jason is currently the President of the Oklahoma City Java Users Group, and is an occasional speaker at conferences. Ever the technology enthusiast, his current interests include cloud computing, mobile development, and emerging JVM languages. Apart from work, Jason enjoys spending time with his wife, Angela, and his two sons, Andrew and Noah. He is active in the music ministry of his local church, and enjoys reading, running, martial arts, and playing his bass guitar.
Summary:
Build a variety of real-world applications by taking advantage of the newest features of Java 9 About This Book See some of the new features of Java 9 and be introduced to parts of the Java SDK This book provides a set of diverse, interesting projects that range in complexity from fairly simple to advanced and cover HTTP 2.0 Take advantage of Java's new modularity features to write real-world applications that solve a variety of problems Who This Book Is For This book is for Java developers who are already familiar with the language. Familiarity with more advanced topics, such as network programming and threads, would be helpful, but is not assumed. What You Will Learn Learn how to package Java applications as modules by using the Java Platform Module System Implement process management in Java by using the all-new process handling API Integrate your applications with third-party services in the cloud Interact with mail servers using JavaMail to build an application that filters spam messages Learn to use JavaFX to build rich GUI based applications, which are an essential element of application development Write microservices in Java using platform libraries and third-party frameworks Integrate a Java application with MongoDB to build a cloud-based note taking application In Detail Java is a powerful language that has applications in a wide variety of fields. From playing games on your computer to performing banking transactions, Java is at the heart of everything. The book starts by unveiling the new features of Java 9 and quickly walks you through the building blocks that form the basis of writing applications. There are 10 comprehensive projects in the book that will showcase the various features of Java 9. You will learn to build an email filter that separates spam messages from all your inboxes, a social media aggregator app that will help you efficiently track various feeds, and a microservice for a client/server note application, to name a few. The book covers various libraries and frameworks in these projects, and also introduces a few more frameworks that complement and extend the Java SDK. Through the course of building applications, this book will not only help you get to grips with the various features of Java 9, but will also teach you how to design and prototype professional-grade applications with performance and security considerations. Style and approach This is a learn-as-you-build practical guide to building full-fledged app...
Contents:
Cover
Copyright
Credits
About the Author
About the Reviewer
www.PacktPub.com
Customer Feedback
Table of Contents
Preface
Chapter 1: Introduction
New features in Java 8
Lambdas
Streams
The new java.time package
Default methods
New features in Java 9
Java Platform Module System/Project Jigsaw
Process handling API
Concurrency changes
REPL
Projects
Process Viewer/Manager
Duplicate File Finder
Date Calculator
Social Media Aggregator
Email filter
JavaFX photo management
A client/server note application
Serverless Java
Android desktop synchronization client
Getting started
Summary
Chapter 2: Managing Processes in Java
Creating a project
Bootstrapping the application
Defining the user interface
Initializing the user interface
Adding menus
Updating the process list
Chapter 3: Duplicate File Finder
Building the library
Concurrent Java with a Future interface
Modern database access with JPA
Building the command-line interface
Building the graphical user interface
Chapter 4: Date Calculator
A timely interlude
Duration
Period
Clock
Instant
LocalDate
LocalTime
LocalDateTime
ZonedDateTime
Back to our code
A brief interlude on testing
Chapter 5: Sunago - A Social Media Aggregator
Setting up the user interface
Setting up the controller
Writing the model class
Finishing up the controller
Adding an image for the item
Building the preferences user interface
Saving user preferences
Plugins and extensions with the Service Provider Interface
Resource handling with try-with-resources
Adding a network - Twitter.
Registering as a Twitter developer
Adding Twitter preferences to Sunago
OAuth and logging on to Twitter
Adding a model for Twitter
Implementing a Twitter client
A brief look at internationalization and localization
Making our JAR file fat
Adding a refresh button
Adding another network - Instagram
Registering as an Instagram developer
Implementing the Instagram client
Loading our plugins in Sunago
Chapter 6: Sunago - An Android Port
Building the user interface
Android data access
Android services
Android tabs and fragments
Chapter 7: Email and Spam Management with MailFilter
A brief look at the history of email protocols
JavaMail, the Standard Java API for Email
Building the CLI
Building the GUI
Building the service
Chapter 8: Photo Management with PhotoBeans
Bootstrapping the project
Branding your application
NetBeans modules
TopComponent - the class for tabs and windows
Nodes, a NetBeans presentation object
Lookup, a NetBeans fundamental
Writing our own nodes
Performing Actions
Services - exposing decoupled functionality
PhotoViewerTopComponent
Integrating JavaFX with the NetBeans RCP
NetBeans preferences and the Options panel
Adding a primary panel
Adding a secondary panel
Loading and saving preferences
Reacting to changes in preferences
Chapter 9: Taking Notes with Monumentum
Microservice frameworks on the JVM
Creating the application
Creating REST Services
Adding MongoDB
Dependency injection with CDI
Finish the notes resource
Adding authentication
Chapter 10: Serverless Java
Planning the application.
Building your first function
DynamoDB
Simple Email Service
Simple Notification Service
Deploying the function
Creating a role
Creating a topic
Testing the function
Configuring your AWS credentials
Chapter 11: DeskDroid - A Desktop Client for Your Android Phone
Creating the Android project
Requesting permissions
Creating the service
Server-sent events
Controlling the service state
Adding endpoints to the server
Getting conversations
Sending an SMS message
Creating the desktop application
Defining user interface behavior
Sending messages
Getting updates
Security
Securing the endpoints
Handling authorization requests
Authorizing the client
Chapter 12: What is Next?
Looking back
Looking forward
Project Valhalla
Value types
Generic specialization
Reified generics
Project Panama
Project Amber
Local-Variable Type Inference
Enhanced enums
Lambda leftovers
Looking around
Ceylon
Kotlin
Index.
Notes:
Includes index.
Description based on online resource; title from PDF title page (ebrary, viewed August 22, 2017).
OCLC:
999644054

The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.

Find

Home Release notes

My Account

Shelf Request an item Bookmarks Fines and fees Settings

Guides

Using the Find catalog Using Articles+ Using your account