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
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 a...
Otros Autores: | |
---|---|
Formato: | Libro electrónico |
Idioma: | Inglés |
Publicado: |
Birmingham, England ; Mumbai, [India] :
Packt
2017.
|
Edición: | 1st edition |
Materias: | |
Ver en Biblioteca Universitat Ramon Llull: | https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009630507806719 |
Tabla de Contenidos:
- 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
- Summary
- Chapter 3: Duplicate File Finder
- Getting started
- Building the library
- Concurrent Java with a Future interface
- Modern database access with JPA
- Building the command-line interface
- Building the graphical user interface
- Summary
- Chapter 4: Date Calculator
- Getting started
- Building the library
- A timely interlude
- Duration
- Period
- Clock
- Instant
- LocalDate
- LocalTime
- LocalDateTime
- ZonedDateTime
- Back to our code
- A brief interlude on testing
- Building the command-line interface
- Summary
- Chapter 5: Sunago - A Social Media Aggregator
- Getting started
- 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
- Summary
- Chapter 6: Sunago - An Android Port
- Getting started
- Building the user interface
- Android data access
- Android services
- Android tabs and fragments
- Summary
- Chapter 7: Email and Spam Management with MailFilter
- Getting started
- 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
- Summary
- Chapter 8: Photo Management with PhotoBeans
- Getting started
- 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
- Summary
- Chapter 9: Taking Notes with Monumentum
- Getting started
- Microservice frameworks on the JVM
- Creating the application
- Creating REST Services
- Adding MongoDB
- Dependency injection with CDI
- Finish the notes resource
- Adding authentication
- Building the user interface
- Summary
- Chapter 10: Serverless Java
- Getting started
- Planning the application.
- Building your first function
- DynamoDB
- Simple Email Service
- Simple Notification Service
- Deploying the function
- Creating a role
- Creating a topic
- Deploying the function
- Testing the function
- Configuring your AWS credentials
- Summary
- Chapter 11: DeskDroid - A Desktop Client for Your Android Phone
- Getting started
- 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 the user interface
- Defining user interface behavior
- Sending messages
- Getting updates
- Security
- Securing the endpoints
- Handling authorization requests
- Authorizing the client
- Summary
- 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
- Summary
- Index.