Code Monkey home page Code Monkey logo

microservice-starter's Introduction

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

microservice-starter's People

Contributors

vinodmrhcl avatar dependabot[bot] avatar tomas-langer avatar fossabot avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.