Blog Archives
1 2 3 4 5 6 7 8 9 … 30

02: Getting started with conda on Mac OS

This extends Getting started with Python on Mac OS.

What is conda?

Conda is an open source package and environment management system that runs on Windows, Mac OS and Linux.

Conda = Mini Conda (i.e.

…

Read more ›



02: Getting started with Jenkins Multibranch pipeline on Docker tutorial

This extends 01: Getting started with Jenkins on Docker tutorial. In this tutorial we will be using Jenkins to “checkout” an existing Scala project from “GitHub” repository, and then build the project using Maven. … Read more ›...

This content is for 30-Day-Full-Access, 100-Day-Full-Access, 200-Day-Full-Access, and 365-Day-Full-Access members only. Register 80+ Free Java FAQs 80+ Free Big Data FAQs
Already a member? Log in here


02: Golang getting started commands & environment variables you must know

What is GOPATH?

GOPATH is an environment variable that defines the root of your workspace. You can list all Go env variables with “go env” command. By default, the workspace directory is a directory that is named go within your user home directory (i.e ~/go).

…

Read more ›



02: JasperReports generating an Excel file

This is an extension to the JasperReport step by step tutorial (Part-1) to demonstrate how to generate a Excel file from the Main.java. To generate an Excel file, you  need Apache POI as a dependency. Here are the Maven dependency files required.

Now, … Read more ›...

This content is for 30-Day-Full-Access, 100-Day-Full-Access, 200-Day-Full-Access, and 365-Day-Full-Access members only. Register 80+ Free Java FAQs 80+ Free Big Data FAQs
Already a member? Log in here


02: Java 8 Streams, lambdas, intermediate vs terminal ops, and lazy loading with simple examples

A stream is an infinite sequence of consumable elements (i.e a data structure) for the consumption of an operation or iteration. Any Collection<T> can be exposed as a stream. It looks complex, but once you get it, it is very simple. The operations you perform on a stream can either...

This content is for 30-Day-Full-Access, 100-Day-Full-Access, 200-Day-Full-Access, and 365-Day-Full-Access members only. Register 80+ Free Java FAQs 80+ Free Big Data FAQs
Already a member? Log in here


02: Java gRPC with flatbuffers & Maven tutorial step by step

Prerequisite

Uses Java 17 with Maven 3, and ensure they are installed and in the path. For example in mac, the ~/.bash_profile should have:

and source it.

1. Create an empty Maven project

and import or open into an IDE of your choice.

…

Read more ›



02: Java to write from/to Local to HDFS File System

This extends Hadoop MapReduce Basic Tutorial and Apache Hadoop HDFS Tutorial. This could have have been done on the command-line as shown below after running “start-dfs.sh” to start the name and data nodes.

The focus of this tutorial is to do the same via Java and Hadoop APIs.

…

Read more ›



02: JAXB with StAX Tutorial step by step for unmarshalling

This tutorial extends JAXB Tutorial for XML processing in Java step by step – unmarshall & marshall

When to use JAXB with StAX?

When you want to process large XML files, reading the whole file into memory can cause “OutOfMemoryError” as discussed in Java String &

…

Read more ›



02: JDBC with MySQL, Datasource, and connection pool Tutorial

Step 1: pom.xml file with commons-dbcp2 for the connection pooling and abstraction layer for the datasource.

db.properties for connection details

Step 2: Create a new source folder “src/main/resources”.

Step 3: Define the MySQL database “learnjavadb” connection properties in a new file named “db.properties”

…

Read more ›



02: Kubernetes (i.e. Minikube) – deploy a node js service

This extends Install Kubernetes (i.e. minikube) on Mac. Project Structure Step 1: Create a new “project” folder “minikube-js” under the projects folder. In that folder create minikube-js/server.js file.

Step 2: Create the “ … Read more ›...

This content is for 30-Day-Full-Access, 100-Day-Full-Access, 200-Day-Full-Access, and 365-Day-Full-Access members only. Register 80+ Free Java FAQs 80+ Free Big Data FAQs
Already a member? Log in here


02: Learn Spark & AVRO Write & Read in Java by example

These Hadoop tutorials assume that you have installed Cloudera QuickStart, which has the Hadoop eco system like HDFS, Spark, Hive, HBase, YARN, etc. AVRO (i.e row oriented) and Parquet (i.e. column oriented) file formats are HDFS (i.e. Hadoop Distributed File System) friendly binary data formats as they store data compressed...

This content is for 30-Day-Full-Access, 100-Day-Full-Access, 200-Day-Full-Access, and 365-Day-Full-Access members only. Register 80+ Free Java FAQs 80+ Free Big Data FAQs
Already a member? Log in here


02: Redis with Redis Insights GUI with Docker compose tutorial

This extends the Redis tutorial Redis server & cli on Docker tutorial step by step.

1. Redis Docker compose file without password auth

Here is the docker-compose.yml file created under ~/projects folder. The server starts without a password for demonstration purpose only.

…

Read more ›



02: Simple Akka tutorial in Java with 2 Actors

This tutorial extends the previous tutorial Simple Akka tutorial in Java step by step to use multiple actors. Let’s have two different actors to handle odd and even numbers respectively. We will also print the thread names. Step 1: Actor “ConsumerOfOddNumbers.java” that runs on the “ … Read more ›...

This content is for 30-Day-Full-Access, 100-Day-Full-Access, 200-Day-Full-Access, and 365-Day-Full-Access members only. Register 80+ Free Java FAQs 80+ Free Big Data FAQs
Already a member? Log in here


1 2 3 4 5 6 7 8 9 … 30

300+ Java Interview Questions - FAQs

Tutorials on Java & Big Data