Blog Archives
1 2 3

01: 14 Unix must-know interview questions & answers

Q1 How do you remove the Control-M characters from a file? A1 Control-M is a carriage return on keyboard. The ^M is the keyboard equivalent to \r. In a file originated from DOS/Windows the \r\n is used for an end of line carriage return, whereas in Unix it is \n…

Read more ...


Chrome Postman to test and debug RESTful Web Services

Step 1 You need to get the Postman extension for the Google chrome browser.

Step 2 Search and add POSTMAN.

Step 3 Once installed, open it from the Apps link.

chrome-apps

Step 4 Set the TEST URL, HTTP headers (especially the content type application/json, etc), and HTTP method (GET, POST, PUT, etc) and then click on send.

Chrome-postman-json

chrome-postman-xml

for the completeness, the REST service could have been implemented using Spring MVC, and the controller implementation looking like

Read more ...


Debugging JAR hell issues in Java

The following 3 questions are frequently asked by Java developers as an industrial strength Java project will have 100+ jar files. How often have you come across a Java application that requires different versions of the same library? How often do you see exceptions like NoSuchMethodError or IllegalArgumentException. Here are some tips to solve the JAR hell problem. These 6 tips will go a long way in resolving your jar problems.… Read more ...



Debugging like a pro with eclipse IDE tutorial for Java developers

Often you get to work on a fully functional Java application that is already in production to fix production issues or to enhance its existing functionality. As a new Java developer in the team, it is not easy to get started and contributing. The approach would be slightly different from working on a brand new project. Here are a few tips that will help you hit the road running as quickly as possible.… Read more ...



Debugging SSL issues in Java & tools to debug

Q1. What are some of the issues you encounter with SSL handshake?
A1. Some of the issues you try to debug are

  • Presence of a valid certificate in trust store
  • Incorrect certificate chains in the client or server truststore
  • Invalid key algorithm used for private keys
  • Expired certificate
  • Incorrect passwords used to access the keys
  • Multiple private keys to choose from

Q2.Read more ...



Handy DOS commands for Java developers

Q. How will you copy files more robustly in DOS?
A. Using the Robocopy (stands for Robust File Copy) or Xcopy command line utilities. Check for its options with robocopy /?“.

Q. How will you remotely connect to a remote Windows or NT server?
A. You can use the “mstsc” command from the run window.… Read more ...



How to perform impact analysis across Java based applications?

Performing impact analysis is a crucial software development task. It is all about calculating the impact of software change.

Q1. What is an impact analysis? Is it a trivial task?
A1. An impact analysis is about being able to tell which pieces of code, packages, modules, and projects get impacted by a change.

Performing an impact analysis is not a trivial task, and there is not a single tool that can cater for every scenario.… Read more ...



JMeter beginner tutorial

This tutorial performance test the RESTFul web service we created ealier as part of the “RESTful Web Service Tutorial with Apache CXF, Maven, and Eclipse” with JMeter. JMeter is an opensource performance testing tool.

Step 1: Download latest release version of Apache JMeter from “http://jmeter.apache.org/download_jmeter.cgi“, and unzip it into c:\tools folder or folder of your choice. Double click on jmeter.bat… Read more ...



Notepad++ beginner tutorial

You can download Notepad++ from http://notepad-plus-plus.org/download. It is a very handy productivity boosting tools.

Q. Why is Notepad++ is a very handy tool?
A.  Notepad++ is a very handy developer tool. Here are some of the productivity benefits of Notepad++.

  • to view source code as a free and light weight source code editor that runs in Windows environment.
Read more ...


Notepad++ productivity tips with SQL trigger code example

One of the traits of good developers is that being lazy and this laziness leads to finding productive ways to perform a task. Recently, I had to create a number of triggers to a few existing tables. It is quite a repetitive task, hence I decided to use notepad++ regex feature with find/replace to make a bit more interesting and productive.… Read more ...



1 2 3

Java Developer & Architect Interview Q&As

Java & Big Data Tutorials

Prepare to fast-track & go places

FAQs are marked with 🔥 as some questions are not only more popular with the interviewers, but also required to build robust systems. If you are an interviewer, cover well rounded topics to judge real experience.

Don't be overwhelmed by the number of questions as the technology stacks are so vast. The quality of the answers you provide to some of the key technical & open-ended questions along with your soft skills & attitude will go a long way in getting the job offers.

Note: Some Q&As belong to more than one category.
Top