Get your Java Microservice up and running
  • README
  • Setup local and IBM Cloud Environment
    • Overview
    • Register for IBM Cloud
    • Apply your feature code
    • Create a free Kubernetes cluster
    • Configure the container registry
    • Setup for local development and cloud deployment
    • Access the Kubernetes cluster
  • Exercises
    • Exercise 1: Running the Java Microservice locally
    • Exercise 2: The Java implementation
    • Exercise 3: Deploy to the Kubernetes
  • Additional Resources
    • Cloud-Native-Starter project
    • Security
    • Reactive
Powered by GitBook
On this page
  • What's a Microservice
  • Architecture
  • Estimated time and level
  • Objectives
  • About this workshop
  • Agenda
  • Compatibility
  • Technology Used
  • Credits
  • Additional resources

Was this helpful?

README

NextOverview

Last updated 3 years ago

Was this helpful?

This workshop demonstrates how to build a Microservice with Java and how to deploy it to Kubernetes on the IBM Cloud. The Microservice in this workshop is kept as simple as possible, so that it can be used as a starting point for other Microservices. The Microservice has been developed with Java EE and .

  • Useful playlist on YouTube related to this workshop:

What's a Microservice

There are small variations of microservice definitions out there, here is one definition of :

  • A microservice is a service-oriented application component that is tightly scoped, strongly encapsulated, loosely coupled, independently deployable and independently scalable.

Architecture

In the gif below you see the Authors Microservice, which we will run locally in a Docker container. We will deploy this Authors Microservice to Kubernetes on IBM Cloud. The gif shows the steps of exercise 3 how we deploy that Microservice to IBM Cloud.

Estimated time and level

Time
Level

one hour

beginners

Objectives

After you complete this workshop, you'll understand the following topics:

  • Java implementation of a Cloud Native RESTFul Java Microservice built on open technologies MicroProfile and OpenLiberty.

  • Describe how to effectively build and run a Microservice on a local machine in a container

  • Understands the steps needed to deploy a single Microservice to Kubernetes and on the IBM Cloud Kubernetes service

You can verify your learning in the Cloud Native Starter Badge - Level 1

About this workshop

The introductory page of the workshop is broken down into the following sections:

Agenda

These are the sections of this workshop, go through all of them in sequence, start with Setup local and IBM Cloud Environment:

Optional labs:

Compatibility

This workshop has been tested on the following platforms:

  • IBM Cloud Kubernetes Service: Kubernetes Version 1.17 on IBM Cloud

  • Docker desktop: Version 2.3.0.4

Technology Used

Credits

Additional resources

To be prepared to pass the test of the , you should run the hands-on workshop virtual or face to face, but you can also run the workshop as a self service.

are some documentations of the project.

Cloud Native Starter Badge - Level 1
Setup local and IBM Cloud Environment
Running the Java Microservice locally
The Java implementation
Deploy to the Kubernetes
Deploy to Code Engine
Microservices architecture
Jakarta EE
MicroProfile
Open Liberty
git
cURL
IBM Cloud CLI
IBM Cloud CLI releases
Docker
kubectl
Niklas Heidloff
Harald Uebele
Thomas Südbröcker
Here
Agenda
Compatibility
Technology Used
Credits
What`s next?
Eclipse MicroProfile
Build and deploy a microservice to Kubernetes
Gartner
More additional information related to microservices provided by IBM.
overview
Cloud Native Starter Badge - Level 1