Blog Archives
1 2 3 4

Spring batch industrial strength tutorial – part2

This assumes that you have read the spring batch beginner tutorial & industrial strength part 1. This is the final part. Step 1: The annotated Java classes are referenced directly due to following line in the batch-context.xml

Read more ...


00: Create a simple REST API with Spring Boot

Q1. What is the key benefit of using Spring boot?
A1. The key benefit is that you can “build a production ready application from scratch in a matter of minutes”.

Over the years since its inception, Spring has grown to be very complex in terms of the amount of configuration an application requires. This is where Spring Boot comes in handy to simplify the configuration with opinionated defaults & inclusion of the libraries for you to get started quickly.… Read more ...



01 : Spring Cloud with Eureka Discovery Server Tutorial

Q1. What is Spring Cloud? A1. Spring Boot is widely used to develop MicroServices. As many organisations deploy these services on the cloud like AWS, etc you need to take care of various aspects to make it cloud native, hence Spring Cloud was created. Spring Cloud is an implementation of…

Read more ...


01: Simple Spring Boot Tutorial in 8 steps

Assumes that your Java, Maven, and eclipse are set up as per: Setting up Java, Maven, and eclipse

Step 1: Create a simple maven project using the maven “archetype” plugin.

The above command creates a folder “simple-spring-boot

Screen Shot 2015-11-20 at 8.45.37 PM

Step 2: import it into eclipse by choosing File –> Import –> Maven –> Existing Maven projects and select the folder “simple-spring-boot” you had just created with Maven.… Read more ...



02: Simple Spring Boot Restful Web Service Tutorial

This tutorial extends Simple Spring Boot Tutorial in 8 steps. Step 1: The pom.xml file that was created in the previous Spring boot tutorial needs to be changed from “spring-boot-starter-actuator” to “spring-boot-starter-web”

Read more ...


02: Spring Cloud to register client with Eureka Discovery Server Tutorial

This extends Spring Cloud with Eureka Discovery Server Tutorial. Step 1: Go to https://start.spring.io/ to create a skeleton spring-boot application. Add Eureka Discovery Client and Server as shown below: Click on “generate” to download the “my-sample-client-project.zip” file. Step 2: Unzip “my-sample-client-project” inside the “projects folder” and open this folder with…

Read more ...


03: Spring Boot Web & Actuator Beginner Tutorial Step by Step

Step 1: Create a simple maven project using the maven “archetype” plugin.

Step 2: Import it as an “existing maven project” into eclipse.

Step 3: The pom.xml file to bring in the Spring boot dependencies & plugins.… Read more ...



03: Spring Cloud Config Server with Git Tutorial

Q. Why do micro services applications require a config server? A. A Config Server is a MicroServices Architecture (aka MSA) feature where all configurable parameters of Microservices are written to & maintained. It is all about externalising properties/resources files out of the project code base to an external service so…

Read more ...


04: Spring boot MVC tutorial with thymeleaf & bean validation

Step 1: Create a “simple-spring-mvc” maven project.

Step 2: Import the project into eclipse. File > Import -> Existing Maven Projects and select “C:\Users\java-_000\projects\simple-spring-mvc”.… Read more ...



04: Spring Cloud Config Client with Git Tutorial

Q. Why do micro services applications require a config server? A. A Config Server is a MicroServices Architecture (aka MSA) feature where all configurable parameters of Microservices are written to & maintained. It is all about externalising properties/resources files out of the project code base to an external service so…

Read more ...


1 2 3 4

Java Developer & Architect Interview Q&As

Java & Big Data Tutorials

Prepare to fast-track & go places

FAQs are marked with 🔥 as some questions are not only more popular with the interviewers, but also required to build robust systems. If you are an interviewer, cover well rounded topics to judge real experience.

Don't be overwhelmed by the number of questions as the technology stacks are so vast. The quality of the answers you provide to some of the key technical & open-ended questions along with your soft skills & attitude will go a long way in getting the job offers.

Note: Some Q&As belong to more than one category.
Top