Blog Archives
1 2 3 4 5 17

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 Step 2: You define the batch job as shown below. … 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.

Read more ›



00: ⏯ MySQL database beginner video tutorial

Step by step MySQL video tutorial to get started with MySQL database. Any decent self-taught projects require a database to store & retrieve data.

Related Links

1. Getting started with MySQL database beginner tutorial.

SQL Interview Q&As

1. 14 FAQ SQL Interview Questions &

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. … Read more ›...



01: Docker Tutorial – compile & run Helloworld.java

Docker, Jenkins, CI/CD, & DEV/OPS have been the buzz words for the last several years. You will be seeing this in more often in the job requirements as well. 21 Docker interview questions & answers | DevOps & CI/CD Interview Q&As

Pre-requisite: Docker is installed on your machine for example:

Mac OS X

Linux systems

Windows10

Find online instructions like: install-docker-on-windows-10

Step 1: Create a folder “

Read more ›



01: Drools tutorial with Maven and Eclipse

Drools is an open source rules engine that allows you to externalize the business rules.

This tutorial assumes that you have gone through “Setting up Java, Maven, and Eclipse.” Once you have gone through the following steps, you should have a project structure as shown below.

Read more ›



01: Getting started with AWS – creating accounts & setting up security

Step 1: Create an amazon.com account via Amazon.com.

Step 2: Create an aws.amazon.com account. You need to provide credit/debit card details even if you want to use the free tier for up to 12 months. It is advisable to use a credit/debit card with low limits (E.g.

Read more ›



01: Getting started with Jenkins on Docker tutorial

Jenkins is the most popular CI/CD server. There you create jobs that are triggered by some events (changed in a code repository, manually, etc). Those events invokes the steps like compiling to see if you can generate the executable. Then you run tests (unit tests) to confirm the desired behaviour at low-level.

Read more ›



01: Install Kubernetes (i.e. minikube) on Mac

Learn Docker first. Getting started with Docker. Learn the Kubernetes basics at Kubernetes & Docker interview Questions & Answers Pre-requisites: brew is installed: Homebrew Homebrew Cask Docker Download and install Docker for Mac. Virtualization support Check if your system supports VT-x/AMD-v virtualization by running this command: If the command returns...



01: JasperReports with iReport tutorial

JasperReports is a popular reporting framework/tool to produce reports in PDF, XLS, etc.

Step 1: Define a Person.java POJO class as defined below. This is the Java bean data source that is going to provide the data to the report.

Step 2: Download Jaspersoft iReport 5.0.0,

Read more ›



01: JAXB Tutorial for XML processing in Java step by step – unmarshall & marshall

Step 1: Create a Java Maven project.

Import the “simple-jaxb” folder that has the pom.xml it into eclipse as an “existing maven project”.

Step 2: Modify the “pom.xml” file to look like as shown below. The “maven-jaxb2-plugin” generates JAXB annotated Java objects from the XML schema “books.xsd”.

Read more ›



01: JDBC with MySQL Beginner Tutorial Step by Step

This assumes that MySQL database is setup as per the tutorial Getting started with MySQL database beginner tutorial and ⏯ MySQL database beginner video tutorial.

Step 1: Create a maven based Java project from a command-line.

Step 2: Import the project into Eclipse as “File”

Read more ›



01: Scala Actors tutorial step by step

This assumes that you have set up Scala as per Setting up Scala IDE & using Maven plugins for Java developers.

Step 1: Add the “scala-actors” dependency to the pom.xml file.

Step 2: Scala’s primary concurrency construct is an actor.

Read more ›



1 2 3 4 5 17

800+ Java Q&As & tutorials

Top