Serverless for Java - a continuing video series by Hugh McKee

Hugh McKee (twitter: @mckeeh3) has been making some fantastic videos lately about using Akka Serverless with Java to solve some tricky problems with data and processing for serverless applications in the cloud. This topic will serve as a sounding board for the videos produced under this theme :slight_smile:

Build and Deploy Your First Service (14min)

Hugh’s first video is Serverless for Java: Build and Deploy Your First Service (14min). Here is the the description and ToC:

In this short video, you can learn how to create a no-hassle Serverless project with Java and Maven that’s ready to expose, test, and deploy in mere minutes with Akka Serverless.

Table of Contents:

0:00 - Introduction with Hugh McKee (https://twitter.com/mckeeh3)
00:46 - Create a free Akka Serverless account at https://akkaserverless.com
01:28 - Build a Java Maven project (:mag_right: this video is using Akka Serverless Java SDK version 0.9.0)
05:32 - Implement the service code using “Key-Value as a Service”
08:04 - Deploy your first service
10:14 - Test your service
12:41 - Summary and next steps

Rapid Service Development and Testing (7 min)

Hugh’s second video in this series for Java developers is called “Serverless for Java: Rapid Service Development and Testing” (7 min). Read below for the description and ToC!

In this short video, you can learn how rapidly create and test a live Java service in a fully serverless environment. You’ll see how to set up and incrementally test business logic added to a service with Akka Serverless, all while avoiding any interaction with databases, Kubernetes, or any networking infrastructure elements.

Table of Contents:

0:00 - Opening comments by Hugh Mckee (@mckeeh3)
0:19 - What you’ll do in this video (using Akka Serverless: https://akkaserverless.com)
1:39 - Create a service project (using Java SDK v0.9.0)
2:05 - Create a service API
2:34 - Initial service deployment
3:52 - Test your service
4:19 - Add incremental business logic
5:45 - Testing with a proxy
6:55 - Final words

1 Like

Key-Value Store as a Service (KVSaaS) - (24 min)

In Hugh’s third video, we present the idea of implementing a Key-Value Store as a Service, meaning you’ll build a serverless service that can process and persist data without having to configure any sort of database. By the end, we’ll have created a fully scalable, durable, production-ready service that you can develop, test, and deploy without ever touching a database or infrastructure of any kind.

Here is the project repo on Github to get started: GitHub - mckeeh3/shopping-cart-kvaas-java: Shopping cart implement as am Akka Serverless key-value-as-a-service in Java

0:00 - Opening comments by Hugh Mckee (@mckeeh3)
0:28 - What you’ll need to follow along using Akka Serverless: https://akkaserverless.com
1:58 - Create a new project
4:27 - Code review of the new project
5:52 - Review initial shopping cart service definition
7:53 - Stub business logic processing flow
10:00 - Begin business logic implementation
14:49 - Review completed business logic
17:52 - Deploy and test the service
20:50 - Summary and closing remarks