Blog Archives
1 2 3 4

05. Spring Cloud routing with Netflix’s Zuul

Q. What is Netflix’s Zuul usecase in Micro Services Architecture? A. In a typical micro service architecture you have many micro services running on different hosts and ports. … Read...



06: Spring Cloud declarative REST client Feign

Q. What use Feign client?
A. Feign is a declarative web service client, which makes creation of web service clients a breeze.

1) Unlike a RestTemplate,

Read more ›



07: Spring Cloud with Resilience4j CircuitBreaker

Q. What is Resilience4j?
A. Resilience4j is a fault-tolerance library implementing the Circuit Breaker pattern inspired by Netflix Hystrix,

Read more ›



08: Spring boot with OpenAPI (Swagger) tutorial

This tutorial extends Create a simple REST API with Spring Boot.

Q1. What is Swagger?
A1. The OpenAPI (used to be called Swagger) automates the documentation of REST APIs.

Read more ›



Basic Spring batch tutorial with Maven and Eclipse.

Batch jobs with Spring batch framework is very common and popular. This tutorial assumes that

1) You have set up you Java, Maven, and Eclipse

Once you have followed the following steps,

Read more ›



CDI annotations @Named and @Inject Dependency Injection in Spring 3.0 Tutorial

In Spring 3.0 the support for the CDI annotations @Named and @Inject are provided.

1) @Inject instead of Spring’s @Autowired to inject a bean.
2) @Named instead of Spring’s @Component to declare a bean.

Read more ›



Hibernate Query Language (HQL) tutorial

Step 1: The ER diagram showing the relationships among the tables. The column names and types are omitted to keep it simple. Step 2: The basic table details. … Read...



Hibernate tutorial with HSQLDB

This tutorial is basically an extension to the “Setting up” Java” and “JDBC tutorials”. Hibernate is an ORM (Object to Relational Mapping) tool. Step 1:  First step is to bring...



JAXB with Spring ORM for marshaling tutorial

This extends Basic JAXB tutorial with Maven & XSD – 1 to marshall with Spring OXM and Spring XML.

Right mouse click on target/generated-sources and select “

Read more ›



JAXB with Spring ORM for unmarshaling tutorial

This extends Basic JAXB tutorial with Maven & XSD – 1 to unmarshal with Spring OXM and Spring XML.

The Spring & JAXB marshaling tutorial used XML based config to inject the “jaxb2Marshaller”,

Read more ›



1 2 3 4

Java Developer Interview Q&As

800+ Java Interview Q&As

Top