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.

JAX-RS service over HTTPS

Develop a REST service using standard JAX-RS 2 API, expose it over HTTPS 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.

Config sample with Consul

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

Security 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.

Security CDI sample with Keycloak

Build a CDI enabled REST service which utilizes KumuluzEE Security 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.

Discovery - Kubernetes sample

Deploy KumuluzEE microservices, which use Service Discovery to Kubernetes cluster.

Discovery - register service with Consul

Develop a REST KumuluzEE microservice and register it with Consul.

Discovery - discover services in servlet with Consul

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

Discovery - discover services in JAX-RS service with Consul

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

Circuit Breaker sample with Hystrix

Build a REST service which utilizes KumuluzEE Circuit Breaker to provide fault tolerance and latency tolerance to your code using the circuit breaker patter in a KumuluzEE microservice.

Event Streaming with Kafka - produce Kafka messages

Develop a REST service that produces Kafka messages to selected topic.

Event Streaming with Kafka - consume Kafka messages

Develop a REST service that consumes Kafka messages of selected topic.

REST Sample

Expand the KumuluzEE JPA and CDI sample with REST query parameters.

Articles

Users talking about our product.


Java EE MicroProfile With KumuluzEE - DZone Java

Despite MicroProfile's hype, KumuluzEE already offers service discovery, registration, and configuration support for microservices in a Java EE environment.

Scalable Microservices Using Modern Java-Based Frameworks - DZone Integration

Take a look at KumuluzEE, a Java-based framework specifically designed for developers tooling around with microservices.

Implementing Microservices Using KumuluzEE - DZone Integration

Here's a great guide to getting started with microservices on Kumuluz EE.

Docker, Kubernetes, and Microservices Replay from Devoxx 2015

Java gives us Write Once Run Anywhere (WORA) because of the common abstraction provided by Java Virtual Machine. The binary byte code produced by Java is understood by the JVM running on multiple operating systems...

Conheça o KumuluzEE – seu novo framework para Microservices

Parece que a nova buzzword é realmente Microservices. A definição do Adam Bien parece perfeita: é um serviço que tem máxima coesão e mínimo acoplamento.

Java EE and Microservices in 2016?

At the end of 2015 Steve Millidge from C2B2 and a co-founder of Payara predicted that 2016 would be the year of Java EE microservices. Many efforts would tend to agree, including WildFly, TomEE and the KumuluzEE framework...

Implementasi microservice dengan Java EE pada KumuluzEE

Melanjutkan blog sebelumnya, kali ini kita akan membuat REST API menggunakan standar Java EE pada framework KumuluzEE. Tambahkan modul...

Dolphin Platform & KumuluzEE: JavaEE Microservices with dynamic and rich frontends

Have you heard of KumuluzEE that is one of the 2015 Java Duke’s Choice Award winners? Well, if you haven’t heard about this cool project you should have a look. KumuluzEE is a JavaEE ba…

Video: Philipe Tjon A Hen - KumuluzEE - developing microservices using Java EE technologies

KumuluzEE is een lichtgewicht framework om microservices mee te bouwen die gebruik maken van standaard JavaEE technologie. Kunnen we gebruikmakend van standa...