← Back to Home

Code-Alongs

Code-Along Overview

Join interactive coding sessions to practice and reinforce your learning with hands-on exercises related to Streams and JSON Serialization.

Code-Along 1: Streams

In this hands-on exercise, you'll work with Java Streams to process and transform collections of data. You'll implement several stream operations to filter, map, and collect data from various sources, reinforcing the concepts learned in Module 2.
Key Learning Objectives:
This walkthrough guides you through implementing Stream operations to process customer and order data in a e-commerce application. You'll follow along as the instructor demonstrates how to use filter, map, flatMap, and collect operations to analyze sales data, identify top customers, and generate reports. The exercise reinforces the theoretical concepts from Module 2 with practical, real-world examples.

Code-Along 2: JSON Serialization

This exercise focuses on JSON serialization and deserialization using the Jackson library in Java. You'll work with a real-world application scenario where you need to convert Java objects to JSON format for API responses and parse incoming JSON data into Java objects.
Key Learning Objectives:
In this walkthrough, you'll implement a data transfer layer for a RESTful API that converts between Java domain objects and JSON representations. The instructor will guide you through setting up the Jackson library, configuring the ObjectMapper, and implementing both serialization and deserialization operations. You'll learn how to handle common challenges like nested objects, collections, date formatting, and field naming conventions in real-world applications.

Resources