MicroProfile Rest Client

MicroProfile Rest Client is used to invoke RESTful services over HTTP and in this tutorial we will learn how to use it.

Tools You Will Need
Maven 3.3+
Your favorite IDE. I'm using NetBeans
JDK 1.8+

Thorntail Project Generator
Go to https://thorntail.io/generator/ and follow the steps below to generate a new project.


Read More →

Deploy MicroProfile application on Heroku

In this tutorial we will learn how to deploy our MicroProfile application on Heroku and we will use Payara Micro as our application server.
Heroku is a cloud platform as a service (PaaS) supporting several programming languages and I've been using it for several years without any problems.

Tools You Will Need
Ma...


Read More →

MicroProfile Config using TomEE

TomEE version 7.1.0 now supports MicroProfile and in this quick tutorial I will show you how to get started with MicroProfile Config using TomEE application server.

Tools You Will Need
Maven 3.3+
Your favorite IDE
JDK 1.8+
Git

Clone the TomEE Starter Project from Github

$ ...


Read More →

Integration Tests with Arquillian using TomEE

In this tutorial we will learn how to integrate tests with Arquillian using TomEE Application Server.

Tools You Will Need
Maven 3.3+
Your favorite IDE
JDK 1.8+
Git

Clone the TomEE Starter Project from Github

$ git clone https://github.com/cicekhayri/tomee-javaee-crud-rest-starter-project.git
Now it's time to add some depende...


Read More →

Getting Started With MVC 1.0 (JSR 371)

In this tutorial we will create a simple web application using MVC 1.0 (JSR 371), Thymeleaf, H2 database, JPA and Thorntail (Wildfly Swarm).
MVC 1.0 is based on JAX-RS and integrates with existing Java EE technologies like CDI and Bean Validation.


Read More →

Getting Started with MicroProfile Metrics and Prometheus

In this article we will learn how to use MicroProfile Metrics and Prometheus to collect metrics from monitored targets.

Tools You Will Need
Maven 3.3+
Your favorite IDE
JDK 1.8

WildFly Swarm Project Generator
Go to http://wildfly-swarm.io/generator/ and follow the steps below to generate a new ...


Read More →

Documenting REST API using MicroProfile OpenAPI, Swagger UI and Payara Micro

In this tutorial I will show you how to generate api documentation using MicroProfile OpenAPI and Payara Micro runtime.
Learn more about MicroProfile OpenAPI Specification

Tools You Will Need
Maven 3.3+
Your favorite IDE. I'm using Net...


Read More →

Getting Started With MicroProfile Config using Payara Micro

In this tutorial we will learn how to use MicroProfile Config API using Payara Micro
MicroProfile Config API can be used to retrieve configuration information from different sources.

Tools You Will Need
Maven 3.3+
Your favorite IDE. I'm using NetBeans
...


Read More →

MicroProfile REST API with MongoDB, Hibernate OGM and Thorntail

In this tutorial we will learn how to create REST API using MicroProfile, MongoDB, Hibernate OGM and Thorntail (wildfly-swarm)

Tools You Will Need
Maven 3.3+
Your favorite IDE. I'm using NetBeans
JDK 1.8+

Install MongoDB
To down...


Read More →

Simple CRUD REST API with Java EE

In this tutorial we will learn how to create a simple CRUD REST API with Java EE using H2 database and TomEE application server.
H2 is an open source relational database management system written in Java. It can be embedded in Java applications or run in the client-server mode and it is easy to install and deploy.

Tools You Will Need
Maven 3.3+
Your favorite IDE. I'm usi...


Read More →

Getting Started With MicroProfile

In this tutorial I'll show you how to get started with MicroProfile.

Tools You Will Need
Maven 3.3+
Your favorite IDE. I'm using NetBeans
JDK 1.8+

Generate Maven Project
In your terminal type the following

$ mvn archetype:generate -DgroupId=com.kodnito -DartifactId=getting-started-with-javaee 
-DarchetypeArtifactId=maven-archetype-quickstart -DinteractiveMode=fal...


Read More →