Blog Archives

13: ♦ Getting started with MySQL database beginner tutorial

All Java developers not only must know “SQL”, but also a database is required for “JDBC tutorials”, “Hibernate Tutorials”, and so on. Any decent Java application will require a database. So, your self-taught Java projects must perform CRUD (i.e. Create Read, Update and Delete) operations on the database. Step 1:

Read more ›

Posted in MySQL Tutorial, Setting up & getting started tutorials, SQL, SQL Tutorial

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 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-Companion, 90-Day-Java-JEE-Career-Companion, 180-Day-Java-JEE-Career-Companion, 365-Day-Java-JEE-Career-Companion and 2-Year-Java-JEE-Career-Companion Log In | Register | Try free FAQs | Home
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-Companion, 90-Day-Java-JEE-Career-Companion, 180-Day-Java-JEE-Career-Companion, 365-Day-Java-JEE-Career-Companion and 2-Year-Java-JEE-Career-Companion Log In | Register | Try free FAQs | Home
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-Companion, 90-Day-Java-JEE-Career-Companion, 180-Day-Java-JEE-Career-Companion, 365-Day-Java-JEE-Career-Companion and 2-Year-Java-JEE-Career-Companion Log In | Register | Try free FAQs | Home
Posted in member-paid, XSD
Page 1 of 41234

800+ Interview Q&As – ♥ Free | ♦ FAQs

open all | close all

Pressed for time? 200+ Quick Prep

open all | close all

16 Technical Key Areas to be a top-notch

open all | close all

100+ 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