Java

Getting started with Deep Java Library (DJL)


In this tutorial, I will show you how to get started with this new open source library from Amazon to build and deploy Deep Learning in Java.


Read More →

Hello You Qute Templating Engine


In this quick tutorial, I will show you how to get started with Quarkus new Qute templating engine.


Read More →

Hello Quarkus Supersonic Subatomic Java World


Quarkus is the new Supersonic Subatomic Java framework tailored for GraalVM and HotSpot.


Read More →

Deploy Jakarta EE application to Google Cloud Platform (GCP) with Kubernetes


Learn how to deploy Jakarta EE application to Google Cloud Platform (GCP) with Kubernetes.


Read More →

Deploy Jakarta EE application to Kubernetes


In this tutorial, I will show you how to deploy Jakarta EE application to Kubernetes.


Read More →

Hello JavaFX World


In this tutorial, we will learn how to create our first JavaFX application.


Read More →

Java LinkedHashMap


LinkedHashMap class extends HashMap class and implements the Map interface.


Read More →

Java LinkedList


Java LinkedList is a linear data structure, which means the elements are linked using pointers.


Read More →

Java TreeSet


TreeSet can not contain null values and are slower than HashSet.


Read More →

Java TreeMap


Java TreeMap implements the Java Map interface and the key/value pairs in a TreeMap will be sorted in an ascending key order.


Read More →

Java HashMap


Java HashMap implements Map interface and is used for storing items in key/value pairs, and you access a value by its key, and HashMap keys must be unique.


Read More →

Java HashSet


Java HashSet is a collection that contains unique elements and implements the Set interface.


Read More →

Java ArrayList


Java ArrayList are dynamic arrays that can grow as needed not like standard Java arrays which are fixed length.
The following statement will create an ArrayList.


Read More →

Introduction to Java: Date


To get the current date is really simple in Java, you just instantiate the Date object from the java.util package.


Read More →

Introduction to Java: Methods


Methods in Java is a block of statements that must be in a class and can be executed by calling it from other places.


Read More →

Introduction to Java: Arrays


Arrays are a collection of elements having same type. To declare an array, we define the variable type with square brackets.


Read More →

Introduction to Java: While Loop


While-loop executes a block of code as long as a specified condition is true.


Read More →

Introduction to Java: For Loop


In this tutorial, you will learn how to create a for loop.


Read More →

Introduction to Java: Switch Statements


Switch Statement is used when we want to check equality of a variable against number of values.


Read More →

Introduction to Java: If Statements


If statement is the most basic way of test a condition. With the if statement you test if a condition is true or false.


Read More →

Introduction to Java: First Java Program


In this tutorial we will learn how to write, compile and run our first Java program.


Read More →

MicroProfile JWT with Keycloak


In this tutorial, we will learn how to secure our services using MicroProfile JWT and Keycloak.


Read More →

MicroProfile Health Check


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.


Read More →

Building an API Backend with MicroProfile (ebook)


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


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 →

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.


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.


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.


Read More →

Integration Tests with Arquillian using TomEE


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


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), ThymeleafH2 database, JPA and Thorntail (Wildfly Swarm).


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.


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


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.


Read More →

MicroProfile REST API with MongoDB, Hibernate OGM and Thorntail


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


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.


Read More →

Getting Started With MicroProfile


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


Read More →

Spring Boot REST API Documentation Using Swagger 2 With Springfox


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


Read More →

Spring Boot Thymeleaf Introduction


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


Read More →

Spring Boot With H2 Database


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.


Read More →

Getting started with Spring Boot


With this tutorial I’ll show you how you can get started with Spring Boot.


Read More →