MicroProfile JWT with Keycloak

Posted by Hayri Cicek on April 23, 2019

In this tutorial, we will learn how to secure our services using MicroProfile JWT and Keycloak. Go to https://www.keycloak.org/downloads.html and download latest Standalone server distribution. Unzip the zip file and open a new terminal window and navigate to the keycloak folder.


Read More →

MicroProfile Health Check

Posted by Hayri Cicek on March 03, 2019

Health checks are used to determine if the service is running, shutdown, lack of disk space or maybe issues with the database connection. In this tutorial, we will use Eclipse MicroProfile Starter to generate a new project.

Go to https://start.microprofile.io/ and follow the steps below to generate a new project.


Read More →

Building an API Backend with MicroProfile (ebook)

Posted by Hayri Cicek on February 24, 2019

Few weeks ago, I started to work on an Ebook called Building an API Backend with MicroProfile, you will learn how to create a simple RESTful API backend with MicroProfile.
The project is open source and hosted on GitHub and everybody can contribute to the project or download the ebook and start coding.


Read More →

Eclipse MicroProfile Starter

Posted by Hayri Cicek on February 19, 2019

The new Eclipse MicroProfile Starter is live and it's really easy to generate a new project.
Go to https://start.microprofile.io/ and follow the steps below to generate a new project.


Read More →

Interview With Phillip Krüger

Posted by Hayri Cicek on December 30, 2018

What is Apiee and Extensions for MicroProfile? What's so special about MicroProfile and why should we use it? Is the framework de-facto standard because it is popular? This and much more, in our interview below with Phillip Krüger!

Hi Phillip, please tell us a bit about yourself?

Hey, I’m Phillip. I’m a Systems Architect living in Centurion, South Africa. I am a fan of technology, coffee and programming. I ...


Read More →

Interview With Cesar Hernandez

Posted by Hayri Cicek on December 20, 2018

What is MicroProfile? How can we start to contribute to Open Source? This and much more, in our interview below with Cesar Hernandez!

Hi Cesar, please tell us a bit about yourself?

I'm a senior software engineer for Tomitribe, Java Champion, part of the Guatemala Java User Group and board member of JEspañol virtual Latin America JUG. I like to teach and love to learn technology in bo...


Read More →

MicroProfile and Kotlin

Posted by Hayri Cicek on November 18, 2018

Kotlin is an object oriented programming language created by JetBrains which runs on top of the JVM and can also be compiled to JavaScript or native code using LLVM.
In this tutorial we will use Kotlin language to create a simple MicroProfile REST api.

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

Clone ...


Read More →

MicroProfile Rest Client

Posted by Hayri Cicek on November 05, 2018

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

Posted by Hayri Cicek on October 09, 2018

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

Posted by Hayri Cicek on September 09, 2018

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

Posted by Hayri Cicek on September 03, 2018

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)

Posted by Hayri Cicek on August 20, 2018

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

Posted by Hayri Cicek on August 16, 2018

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

Posted by Hayri Cicek on August 10, 2018

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

Posted by Hayri Cicek on August 08, 2018

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

Posted by Hayri Cicek on August 07, 2018

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

Posted by Hayri Cicek on August 02, 2018

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

Posted by Hayri Cicek on July 29, 2018

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 →

Spring Boot REST API Documentation Using Swagger 2 With Springfox

Posted by Hayri Cicek on July 28, 2018

In this tutorial we are going to learn how to document our Spring Boot REST APIs using Swagger with Springfox.

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

Creating the Project With Spring Initializer
Go to start.spring.io and follow the steps below to genera...


Read More →

Spring Boot Thymeleaf Introduction

Posted by Hayri Cicek on July 27, 2018

In this tutorial, we are going to create a simple Spring Boot web application with Thymeleaf template engine and H2 database.

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

Creating the Project With Spring Initializer
Go to start.spring.io and follow the steps below to ...


Read More →