Home » Enterprise Java » Page 3

Enterprise Java

Swagger Codegen Tutorial

In this article, we will explain the Swagger Codegen. 1. Introduction The OpenAPI specification defines the standard of describing HTTP API for any project. This is programming-language agnostic. This helps humans and computers to know about the System/API without the need to look into the code. If the specification is properly implemented it helps a consumer to understand the interaction ...

Read More »

Spring Boot Functional Endpoints

Welcome, in this tutorial, we will see how to create functional endpoints in a spring boot reactive application. 1. Introduction Before going further in this tutorial, let us understanding web flux and reactive programming. 1.1 Webflux Webflux is the reactive-web framework in spring and was added as a part of the 5.0 release It offers asynchronous, non-blocking, and event-driven approach ...

Read More »

Apache Kafka Consumer Group Example

This is an in-depth article related to the Apache Kafka Consumer group. 1. Introduction Apache Kafka is an Apache open-source project. It was initially created on Linkedin. Kafka framework was created in java and scala. It supports publish-subscribe messaging and is fault-tolerant. It is scalable and performs for high-volume messaging. Zookeeper is the basic component that manages the Apache Kafka ...

Read More »

Swagger Core Tutorial

In this article, we will see what Swagger Core is and what it is used for. 1. Introduction The OpenAPI specification defines the standard of describing HTTP API for any project. This is programming-language agnostic. This helps humans and computers to know about the System/API without the need to look into the code. If the specification is properly implemented it ...

Read More »

Swagger UI Tutorial

In this article we will learn about Swagger UI. 1. Introduction The OpenAPI specification defines the standard of describing HTTP API for any project. This is programming-language agnostic. This helps humans and computers to know about the System/API without the need to look into the code. If the specification is properly implemented it helps a consumer to understand the interaction ...

Read More »

Spring Initializr Tutorial

Welcome, in this tutorial, we will see how to use Spring Initializr. 1. Introduction Spring Initializr is a web UI provided by the spring framework to easily create the spring project structure The initializer helps to speed up the groundwork required for the project structure such as identifying the spring boot version, maven libraries, plugins, creating a folder structure, programming ...

Read More »

How to use Java SpringLayout

In this article we’re going to see how to use SpringLayout, a class to build GUI in Java. 1. Introduction SpringLayout is a class that arranges children elements associated in the container, using a sort of constraints. To clarify, this class is a very flexible layout manager that can emulate many of the features of other layout managers. However, SpringLayout ...

Read More »

How to Handle Exceptions in Rest Service

In this article, we will explain how to Handle Exceptions in Rest Service. 1. Introduction Rest Service is a lightweight service that is built on the REpresentational State Transfer (REST) architecture via HTTP protocol. HTTP status code defines 4xx and 5xx error codes. Java API for RESTFul Web services (JAX-RS) specification is defined by Java EE with a set of ...

Read More »

Apache Kafka Simple Producer Example

1. Introduction This is an in-depth article related to the Apache Kafka producer example. Apache Kafka is an Apache open-source project. It was initially created on Linkedin. Kafka framework was created in java and scala. It supports publish-subscribe messaging and is fault-tolerant. It is scalable and performs for high-volume messaging. Zookeeper is the basic component that manages the Apache Kafka ...

Read More »

Spring Boot Application Deployment on Heroku

Welcome, in this tutorial, we will see how to deploy a simple spring boot application on the Heroku platform. 1. Introduction Before going further in this tutorial, let us understand Spring Boot. Spring boot is a module that provides rapid application development feature to the spring framework including auto-configuration, standalone-code, and production-ready code It creates applications that are packaged as ...

Read More »