Skip to content

MicroCafe/starter

This branch is up to date with vinodmrhcl/microservice-starter:master.

Folders and files

NameName
Last commit message
Last commit date
May 24, 2018
Mar 6, 2020
May 24, 2018
Mar 9, 2020
Feb 4, 2020
Mar 6, 2020
Mar 6, 2020
Mar 19, 2021
May 24, 2018
Jun 26, 2018
Apr 11, 2018
Mar 6, 2020
Mar 14, 2018
Mar 14, 2018
Mar 9, 2020

Repository files navigation

Microservice Starter

FOSSA Status

Basic Setup

At bare minimum, a micro-service required any of these

  • A web API
  • A messaging service
  • A scheduled task/function

To start with, let try to implement simplest of above i.e a A public API exposed as REST endpoints.

I tried to make it at beginner level and avoided any business level complexity, so that any one can try it without having any background domain knowledge. Also, To maintain compatibility and ease of comparison across various tools/frameworks, I restricted to a single REST controller and method/API.

You can use current repository as base maven dependency.

<dependency>
	<groupId>microservice-starter</groupId>
	<artifactId>microservice-starter</artifactId>
	<version>1.0.0</version>
</dependency>

It provides a HelloWorldWorldResource as JAX-RS endpoint and a method getHello() as REST API, which can be invoked using below URI

http://localhost:8080/helloworld

On top of that a micro-service requires it own ability to perform following operation.

  • Packaging
  • Deployment
  • Launcher

You need to refer below specific implementation to see how all this happens for various tools/frameworks.

Implementations

Servers

  1. Tomcat
  2. Jetty
  3. Grizzly
  4. Netty
  5. Undertow

Platform

  1. Spring Boot
  2. Wildfly Swarm
  3. Red Hat Quarkus
  4. Oracle Helidon
  5. Micronaut

License

FOSSA Status

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%