Blog Archives
1 2 3 4 5 6 31

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 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 ›

01: Simple Akka tutorial in Java step by step

Why use Akka? Akka handles all of the underlying threading complexities by allowing you to just focus on dividing your tasks into actors, defining messages to pass among actors, and wiring together their communication logic.

The real power of Akka is realized when you distribute actors across multiple machines.

Read more ›

1 2 3 4 5 6 31

Java Interview FAQs

800+ Java Interview Q&As