Tutorials and Quickstart Samples

Tutorials

Guides to help you get started with development.


Develop microservices with Java EE and KumuluzEE

This article explores the way the microservices can be used together with Java EE using KumuluzEE. It expands on the benefits and drawbacks compared to the monolithic architecture that’s popular in Java EE.


Quickstart Samples

Working examples ready for you to get started. All samples are avaliable on GitHub.


Java EE Microservices

Microservices simple

Simple example of splitting an application into microservices using KumuluzEE.

JAX-RS REST service sample

Develop a REST service using standard JAX-RS 2 API and pack it as a KumuluzEE microservice.

JAX-WS SOAP web service sample

Develop a SOAP web service using standard JAX-WS 2 API and pack it as a KumuluzEE microservice.

JPA and CDI sample

Develop JPA entities and use CDI within a REST service and pack it as a KumuluzEE microservice.

Java Server Faces (JSF) sample

Develop a sample JSF application and pack it as a KumuluzEE microservice.

Java Server Pages (JSP) and Servlet sample

Develop a sample JSP and Servlet and pack it as a KumuluzEE microservice.

Servlet sample

Develop a servlet using standard Servlet 3.0 API and pack it as a KumuluzEE microservice.

Websocket sample

Develop a websocket endpoint using standard WebSocket API and pack it as a KumuluzEE microservice.

Bean validation

Use bean validation within a REST service and pack it as a KumuluzEE microservice.



KumuluzEE extensions

Logs sample

Build a REST service which utilizes a built-in logging framework to log basic metrics and pack it as a KumuluzEE microservice.

Config sample for built-in configuration sources

Build a REST service which utilizes a build-in configuration framework to access environmental variables and configuration files and pack it as a KumuluzEE microservice.

Config sample with etcd

Build a REST service which utilizes KumuluzEE Config to access configuration properties stored in etcd and pack it as a KumuluzEE microservice.

OAuth2 sample with Keycloak

Build a REST service which utilizes KumuluzEE OAuth2 to secure the resources with Keycloak using standard Java annotations and pack it as a KumuluzEE microservice.

Discovery - register service with etcd

Develop a REST KumuluzEE microservice and register it with etcd.

Discovery - discover services in servlet

Develop a KumuluzEE servlet that discovers a microservice registered with etcd.

Discovery - discover services in JAX-RS service

Develop a REST service that discovers a microservice registered with etcd.