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

02: Simple Akka tutorial in Scala with 2 Actors

This tutorial extends the previous tutorial Simple Akka Tutorial in Scala step by step for the Java developers, and Simple Akka tutorial in Java with 2 Actors.

Step 1: The “Consumer.scala” file that contains two actor classes “ConsumerOfOddNumbers”

…

Read more ›



02: Simple Apache Storm application running inside Eclipse in a local cluster

Step 1: Create a Java project with Maven

Step 2: Open eclipse and import it as an existing maven project by clicking File –> Import –> Existing Maven Projects –> “/home/cloudera/projects/simple-storm”, which has the pom.xml file. Step 3: Add Apache Storm project to pom.xml and then select the project...

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: Simple Apache Storm application running on a single node local cluster

This extends Installing & getting started with Apache Storm on Cloudera quickstart and Simple Apache Storm application running inside Eclipse in a local cluster to run the same example in Storm cluster mode. Step 1: Firstly modify the “storm.yaml” in the folder “/opt/storm/apache-storm-1.1.1/conf” … 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: 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”

Step 2: Add additional logic to 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: Spark on Zeppelin – read a file from local file system

Pre-requisite: Docker is installed on your machine for Mac OS X (E.g. $ brew cask install docker) or Windows 10. Docker interview Q&As. This extends setting up Apache Zeppelin Notebook.

Step 1: Pull this from the docker hub,

…

Read more ›



02: Spark RDD grouping with groupBy & cogroup in Scala tutorial

This Spark tutorial extends Spark RDD joins in Scala tutorial and Setting up Spark and Scala with Maven. Step 1: Let’s take a simple example of joining a student to department. This will be written in an SQL world as:

Step 2: Let’s create classes to represent Student and...

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: Spark tutorial – reading a file from HDFS

This extends Spark tutorial – writing a file from a local file system to HDFS.

This tutorial assumes that you have set up Cloudera as per “cloudera quickstart vm tutorial installation” YouTube videos that you can search Google or YouTube. You can install it on VMWare (non commercial use) or on VirtualBox.

…

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. … 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: Websphere MQ Client API Tutorial – Message Receiver

Step 1: You need to have the Webspeher MQ client jar “com.ibm.mq.allclient.jar” in your project at “${basedir}/lib”. You can refer to it via Maven as a local file based repository.

Step 2: Use the “Websphere MQ API” to receive a “MQMessage”

…

Read more ›



02: ⏯ Spring DIP, DI, & IoC interview questions and answers Video

Apologies for the echoing, and it has been rectified in the other videos.

Relevant Links

1. Spring DIP, DI, & IoC interview questions and answers.

2. 13 Spring basics interview questions & answers.

3.

…

Read more ›



02. Getting started with Java packages, projects, classpath & jar files

This extends “Setting up Java step by step tutorial“.

What are packages & why are they important?

A java package is a group of similar types of classes, interfaces and sub-packages. In Java you have built-in packages in the src.zip with *.java files &

…

Read more ›



02. Installing & getting started with Cloudera QuickStart on VMWare for windows in 17 steps

Prerequisite: At least 12GB+ RAM (i.e. 4GB+ for operating system & 8GB+ for Cloudera), although 16 GB+ is preferred. 80GB Hard Disk. Cloudera runs on CentOS, which is the community edition of the Linux. Windows system must support 64-bit.

This post is obsolete with the newer version of Cloudera.

…

Read more ›



02. Setting up Scala IDE & using Maven plugins for Java developers

This extends Setting up Java, Maven & Eclipse and Setting up Scala & practicing the concepts via REPL the Scala way for Java developers. Step 1: Scala IDE is an eclipse plugin. Following is the Scala IDE update site URL for Eclipse 4.4 (Luna) and Eclipse 4.5 (Mars). … Read...

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 10 … 30

300+ Java Interview Questions - FAQs

Tutorials on Java & Big Data