Blog Archives

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.…

How to write internationalized Java applications?

This post answers questions like — How to write internationalized Java applications? What do you understand by the terms internationalization (i18n) and localization (l10n) relating to Java programming? What is a ResourceBundle?

Localization (aka i10n, where 10 is the number of letters between the letter ‘i’ and the letter ‘n’ in the word localization ) refers to the adaptation of an application or a component to meet the language, cultural and other requirements to a specific locale (i.e.…

Understanding atomicity with a Java example

Q. Explain how you would get thread-safety issues due to non-atomic operations with a code example? A. The code snippets below demonstrate non-atomic operations producing incorrect results. The program below…

Working with .properties config files in Java

Managing properties for an enterprise application can be a bit trickier than one might expect.

Q: How would you go about managing properties files in your application?
A: One great advantage of property files is that they let you change your application’s configuration without recompilation. However, you most likely need to restart your application for the new configuration to take effect.…

800+ Java & Big Data Interview Q&As

200+ Java & Big Data Tutorials