Skip to Content
Building Java 8 Web Applications with Microservices
on-demand course

Building Java 8 Web Applications with Microservices

with Trisha Gee
August 2015
Intermediate
3h 37m
English
Pearson

Overview

3+ Hours of Video Instruction

In Building Java 8 Web Applications with Microservices LiveLessons Workshop, Java Champion Trisha Gee teaches how to build a Java 8 application end-to-end.

Description

Building Java 8 Web Applications with Microservices LiveLessons Workshop utilizes live code demonstration to build a fully functional application using minimal external dependencies and Java 8. This application consumes a real-time feed of high-velocity data, contains services that make sense of the data, and presents it in a JavaFX dashboard. Along the way, you’ll encounter Java 8 streams, lambdas, new ways of working with collections, and the new date and time API.

The source code repository for this LiveLessons Workshop can be downloaded from https://github.com/trishagee/sense. Download the “skeleton” branch.

About the Instructor

Trisha Gee, Java Champion, has developed Java applications for a range of industries, including finance, manufacturing, technology, open source, and non-profit, for companies of all sizes. She has expertise in Java high-performance systems, and is passionate about enabling developer productivity. Trisha blogs regularly on subjects developers and other humans should care about, is a leader of the Sevilla Java User Group, and is a key member of the Java Community. She believes we shouldn't all have to make the same mistakes again and again.

Twitter: @trisha_gee

Skill Level

  • Intermediate

What You Will Learn

  • Sort messages containing information about users to create a leaderboard of the most active Twitter users
  • Consume messages about tweet sentiment to create a pie chart that updates in real time to show overall mood on Twitter
  • Filter sentiment messages to create a view of happiness levels over a ten-minute period
  • Build a microservice that parses a file of real Twitter data and publishes these tweets via web sockets
  • Build a microservice that parses Twitter messages and emits just the username
  • Build a microservice that analyses Twitter messages for sentiment and publishes these moods
  • Connect the application to a live Twitter feed

Who Should Take This Course

  • Experienced Java developers familiar with Java 7 looking to learn Java 8

Course Requirements

  • Working knowledge of the Java programming language

Table of Contents

Introduction

Lesson 1: Introduction to Java 8 Features

  • Overview of Java 8
  • Our application
  • Creating a stub user service
  • What are lambdas?
  • The basics of JavaFX
  • New Java 8 methods on existing APIs
  • Introduction to streams
  • Creating the UI
  • How did Java 8 help us?

Lesson 2: Lambdas Will Simplify Your Code

  • Create a stub mood service
  • Updating a pie chart with moods—Part 1
  • Updating a pie chart with moods—Part 2
  • Filtering moods to display happiness over time
  • Questions and discussion

Lesson 3: Creating Simple WebSocket Services

  • An introduction to WebSockets—Part 1
  • An introduction to WebSockets—Part 2
  • Creating a service to publish data from a file

Lesson 4: Java 8 for Business Logic

  • Creating a simple user service
  • Creating a service to analyze tweet mood

Lesson 5: Questions and Discussion

  • Questions and discussion

Summary

About LiveLessons Video Training

The LiveLessons Video Training series publishes hundreds of hands-on, expert-led video tutorials covering a wide selection of technology topics designed to teach you the skills you need to succeed. This professional and personal technology video series features world-leading author instructors published by your trusted technology brands: Addison-Wesley, Cisco Press, IBM Press, Pearson IT Certification, Prentice Hall, Sams, and Que. Topics include: IT Certification, Programming, Web Development, Mobile Development, Home and Office Technologies, Business and Management, and more. View all LiveLessons on InformIT at: http://www.informit.com/livelessons.

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Watch now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

RESTful web microservices from the ground up

RESTful web microservices from the ground up

Mike Amundsen

Publisher Resources

ISBN: 9780134312170