Home » Enterprise Java » spring

spring

Spring WebSockets Example

Hello there. Thank you for showing interest in Spring WebSockets Example. In this example we will learn how to send and receive messages between a browser and a server over a WebSocket. A WebSocket is used to build an interactive web application. WebSocket is a lightweight layer above TCP. We will be creating a football live commentary web application to ...

Read More »

Spring Boot Microservices Example

Welcome to the Spring Boot Microservices Example. Microservices is popular because it allows large systems to be composed of smaller systems. Think of it like the single responsiblity principle. The smaller systems have a single responsibilty to the large system. In the monolithic approach, all the smaller systems are bunched up to make up one large system or one large ...

Read More »

Spring Boot HATEOAS in REST API Example

Welcome readers, in this tutorial, we will implement the HATEOAS principle to REST resources in a spring boot application. 1. Introduction 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 jar and are directly started using embedded servlet container (such as ...

Read More »

Spring Cloud Zuul Gateway Example

Welcome readers, in this tutorial, we will explore an interesting and the last Spring Cloud component known as Zuul Gateway to implement a gateway for the microservices. 1. Introduction 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 jar and are ...

Read More »

Spring Cloud Feign Client Example

Welcome readers, in this tutorial, we will explore an interesting Spring Cloud component known as Netflix Feign Client to implement a declarative REST client. 1. Introduction 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 jar and are directly started using ...

Read More »

Spring Cloud Stream Example

1. Introduction Spring Cloud Stream is a structure for structure exceptionally adaptable occasion driven microservices associated with shared informing frameworks. The structure gives adaptable programming model based on effectively settled and well-known Spring figures of speech and best works on, including support for tenacious bar/sub semantics, purchaser gatherings, and stateful segments. Message lines are significant and helpful instruments that you ...

Read More »

Spring Cloud Hystrix Circuit Breaker Example

Welcome readers! In this post, we feature a comprehensive article on Spring Cloud Hystrix Circuit Breaker. We will explore an interesting Spring Cloud component known as Netflix Hystrix to implement a circuit breaker while invoking a microservice. 1. Introduction Spring Boot is a module that provides rapid application development feature to the spring framework including auto-configuration, standalone-code, and production-ready code ...

Read More »

Spring Cloud Ribbon with Eureka Example

Welcome readers, in this tutorial, we will explore an interesting Spring Cloud component known as Netflix Ribbon for client-side load balancing. 1. Introduction 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 jar and are directly started using embedded servlet container ...

Read More »

Spring Cloud Eureka Server Tutorial

Welcome readers, in this tutorial, we will explore an interesting Spring Cloud component known as Eureka for service registry and discovery. Table Of Contents 1. Introduction 1.1 Eureka Server 2. Spring Cloud Eureka Server Tutorial 2.1 Tools Used 2.2 Project Structure 2.3 Project Creation 3. Creating a Eureka Server 3.1 Eureka Server: Maven Dependencies 3.2 Eureka Server: Configuration File 3.3 ...

Read More »

Spring Boot JAX-RS with Jersey Example

In this post, we feature a comprehensive article on Spring Boot JAX-RS with Jersey. We will show how to create a JAX-RS web service with Spring Boot and Jersey. 1. Introduction REST (Representational State Transfer) is an architectural pattern for developing web services. REST is a popular choice for web services development projects since it is lightweight, stateless, and therefore easily ...

Read More »