Blog Archives

Unix sed & awk commands in action

This extends sed and awk to write shell scripts for Java developers. Q2 Can you explain the following Unix command?

A2 The “date” prints the date and time. The “ps -ef” outputs all the running processes with the UID (user ids) as shown below:

The “awk ‘{ print

Read more ›

Posted in Unix Interview Q&As

10: ♥ Q80 – Q87 HBase Schema Design Interview Questions & Answers

Q80. Why is schema design for HBase is different from relational database design? A80. HBase is a columnar NoSQL database. This means no two rows in a table need to have the same columns. In a columnar database table, each row contains cells containing

Values are stored against each

Read more ›

Posted in Hadoop, Spark & BigData Interview Q&As, NoSQL

YAML with Java using the SnakeYaml library tutorial

Step 1: Add “snakeyaml” to maven pom.xml as a dependency

Step 2: Define a YAML file under src/main/resources. For example, “logging.yml”

Step 3: Create a LoggingConfiguration Java POJO class.

Step 4: Finally, the main class that uses the Yaml library to read the configuration from the “logging.yml”

Read more ›

Posted in YAML, YAML Tutorial

3. Understanding HBase (NoSQL) database basics in 7 steps

Extends Getting started with HBase. HBase is a NoSQL database. HBase is a columnar database. #1. In HBase, you create the Table & column-families “create” command to create a table with column families. You can later on use “alter” to add more column families.

Add column family “m” to…...

Members Only Content

This content is for the members with any one of the following paid subscriptions:

30-Day-Java-JEE-Career-Training, 90-Day-Java-JEE-Career-Training, 180-Day-Java-JEE-Career-Training, 365-Day-Java-JEE-Career-Training, 60-Day-Java-JEE-Career-Training and 2-Year-Java-JEE-Career-Training Feel free to evaluate the quality of the contents Free FAQs | HomeTry Log In | Register
Posted in HBase Tutorials, member-paid, NoSQL

YAML with Spring & Java Q&As

Q1. What is YAML? A1. YAML Ain’t Markup Language. It is a human friendly data serialization standard for all programming languages. A YAML file has an extension of “.yml“. Q2. What are the 3 rules of YAML? A2. Rule 1: Indentation YAML uses a fixed indentation scheme to represent relationships

Read more ›

Posted in YAML

JSON, Jackson, and Maven example

Step 1: Create a new simple-json project using Maven CLI.

press “Enter” for all the prompts. This creates a new “simple-json” folder with MVN artefacts like pom.xml, etc. Step 2: Import the maven project into your IDE. E.g. in eclipse File –> Import –> Existing Maven Projects and browse…...

Members Only Content

This content is for the members with any one of the following paid subscriptions:

30-Day-Java-JEE-Career-Training, 90-Day-Java-JEE-Career-Training, 180-Day-Java-JEE-Career-Training, 365-Day-Java-JEE-Career-Training, 60-Day-Java-JEE-Career-Training and 2-Year-Java-JEE-Career-Training Feel free to evaluate the quality of the contents Free FAQs | HomeTry Log In | Register
Posted in JSON, member-paid

11 FAQ XSD interview questions and answers

Q1. How do you restrict an element in XSD? A1. With “xs:restriction”. In the XSD shown below, the “AddressType” is restricted to “Mailing”, “Office”, and “Home”.

Q2. Can you explain as per the XSD shown above the term “targetNamespace”? A2. Placing the targetNamespace attribute at the top of your…...

Members Only Content

This content is for the members with any one of the following paid subscriptions:

30-Day-Java-JEE-Career-Training, 90-Day-Java-JEE-Career-Training, 180-Day-Java-JEE-Career-Training, 365-Day-Java-JEE-Career-Training, 60-Day-Java-JEE-Career-Training and 2-Year-Java-JEE-Career-Training Feel free to evaluate the quality of the contents Free FAQs | HomeTry Log In | Register
Posted in member-paid, XSD

♥ Hidden Unix, Git & SVN config files

You need to use “ls -la” to list the hidden files in your home (i.e ~) directory. These config files are “.bashrc”, “.inputrc”, “.profile”, etc. In computing, a hidden folder or hidden file is a folder or file that does not display by default when showing a directory/file listing. In

Read more ›

Posted in Unix Interview Q&As
Page 1 of 41234

800+ Interview Q&As with lots of diagrams & code ♥Free | ♦FAQs | Hover/Slide for full text

open all | close all

200+ Java Interview FAQs – Quick Prep

open all | close all

16 Java Key Areas to be a top-notch

open all | close all

80+ Java Tutorials – Step by step

open all | close all

100+ Java Coding Exercises

open all | close all

How good are your

open all | close all