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

Common Table Expressions (i.e. CTE) in SQL using the “WITH” clause

Common Table Expressions or CTE’s for short are used in SQL to simplify complex joins and subqueries, and to provide a means to query hierarchical data such as an organisational chart. This was also introduced in MySQL 8 – Using … Read more ›...

Deleting records in SQL Interview Questions and Answers

The following is a very popular SQL job interview question. Q. What is the difference between “Truncate” and “Delete” commands? A.  TRUNCATE TABLE_NAME always locks the table and page but not each row, … Read more ›...

Finding your way around the FIX specification Q&A

Firstly, decide on the specification version. If you are using FIX spec 4.4 then go to The tutorials with QuickFIX/J used NewSingleOrder as the request. The message has the fields like Tag number. … Read more ›...

Groovy method chaining for DSL explained

One of the uses of Groovy is as a DSL (Domain Specific Language). Let’s go through a very simple example step by step. Where are Groovy DSLs used? Gradle is a new and revolutionary build tool, based on the Groovy programming language. Apache Camel is ESB (Enterprise Service Bus), …...

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 Unix-like operating systems,

Read more ›

JMeter for performance testing REST services with BeanShell

This post extends 8 JMeter Performance testing Interview Q&As to cover JSON HTTP post. Now a days, a single page interactive web sites are very popular, and they post JSON based data back to the server to create a new record or to update an existing record. Step 1: Firstly,...

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 –> … Read more ›...

1 2 3 4 5 6 7 8 9 10

Java Interview FAQs

800+ Java Interview Q&As