Blog Archives
1 … 15 16 17 18 19 20 21 22 23 … 28

5 Spark streaming & Apache storm Interview Q&As

Q116. What is “Spark streaming” in the Spark ecosystem with Spark core, Spark SQL, Spark MLlib, Spark GraphX, etc? A116. Spark is a distributed and scalable batch processing framework that supports in-memory processing in sub-seconds. The batch processes are scheduled with something like Oozie or Unix cron jobs to run...

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


5a – Writing a simple SQL where clause parser in Java – Part 1

Problem Statement: How would you go about writing an SQL WHERE clause parser to evaluate a given condition against the given data in a Hashmap. For example:

Outputs:

Solution, step by step Step 1: Let’s write a tokenize method using regular expressions to tokenize the WHERE condition supplied...

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


5b – Writing a simple SQL where clause parser in Java – Part 2

This extends Writing a simple SQL where clause parser in Java – Part 1. In the next post, let’s look at the parsing to an Abstract Syntax Tree (i.e. AST logic). Step 5: Firstly the Expr interface that gets implemented by different expressions. … 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


6 JSON interview Q&As

Q1. What is JSON and how does it differ from an XML? A1. JSON (JavaScript Object Notation) is a lightweight, text-based, language-netral like XML, but less verbose than XML data exchange format. JSON is used in Web services to exchange data between client and server. … 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


6 Scaling your Java applications interview Q&As

Q1. What is the difference between performance and scalability? A1. The performance and scalability are two different things. For example, if you are in the business of transporting people in a van, the performance is all about utilizing more powerful engine to transporting your people quicker to their destination. …...

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


7 Java Modifiers every interviewer likes to quiz you on

Java modifiers like final, finally, const, volatile, and transient are very popular with the job interviewers. You will see why because of the possible drill down questions. Q1. What is the difference between ‘final‘ and ‘const‘ modifiers on a variable? … 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


8 Hibernate interview Q&As

FAQ Hibernate interview questions & answers are covered below.

Q1. What is an Object-to-Relational Mapping (i.e. ORM) tool?
A1. There are several ways to persist data to a database from your Java applications.

1) Direct JDBC SQL statements for the CRUD (Create,

…

Read more ›



8 Java memory management interview Q&As

Q1. Are memory leaks possible in Java, which has memory management via automatic Garbage Collection? A1. Memory and resource leaks are possible in any robust application. In managed languages such as Java and C#, the developers do not have to worry too much about memory management as the garbage collector...

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


8 JEE (i.e. Java EE) Overview interview Q&As

This is JEE from a 10,000 feet before diving into details of each technology.

Q1. When a company requires Java EE experience, what are they really asking for?
A1. Java EE (i.e. Enterprise Edition) is a collection of specifications for developing and deploying enterprise applications.

…

Read more ›



8 JPA interview questions and answers

Q1. What is a JPA? What are its key components? A1. The process of mapping Java objects to database tables and vice versa is called “Object-relational mapping” (ORM). The Java Persistence API provides Java developers with an object/relational mapping (ORM) facility for managing relational data in Java applications. … 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


8 real life Java scenarios with Situation-Action-Result (i.e. SAR) technique

The SAR (Situation-Action-Result) technique is very useful to tackle open-ended questions like:

1. What were some of the challenges you had encountered,

…

Read more ›



8 Regular Expressions (aka Regex) by examples for Engineers

Q1 How will you go about implementing the following validation rules for a user name?

— user name must be between 2 and 17 characters long.
— valid characters are A to Z, a to z, 0 to 9, . (full-stop), _ (underscore) and –

…

Read more ›



8+ JMeter performance testing interview Q&As

Performance testing is an important process of any software development. You can bring this up yourself to many open-ended questions like — Tell me about yourself? What are some of your recent accomplishments that you are proud of? Setting up a performance/load test script is always the first step in...

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 … 15 16 17 18 19 20 21 22 23 … 28

300+ Java Interview Questions - FAQs

Tutorials on Java & Big Data