Blog Archives

5 JMX and MBean interview questions & answers

Q1. What is a JMX? What are the key components of JMX? A1. JMX stands for Java Management Extensions (JMX), which is a technology to monitor and manage any Java applications are running in either a local or a remote Java Virtual Machine (JVM). 1) MBeanServer, which acts as a…

Read more ...


Event Driven Programming in Java – Part 2

This extends the basic tutorial on event driven programming in Java. This tutorial covers JMX enabling the EventHub class vian MBeans and monitoring through JMX compliant tool like jconsole. Step 1: Define the interface with the methods that are intractable via the JMX compliant client like jconsole.

Read more ...


Yammer metrics tutorial with JMX to gather metrics

Note: Yammer metrics has now moved to metrics-core.

from com.yammer.metrics:metrics-core:2.2.0 (NOT supported anymore) to com.codahale.metrics:metrics-core:3.0.*

from com.codahale.metrics:metrics-core:3.0.* to io.dropwizard.metrics:metrics-core:3.1.* since 2014.

When you are running long term applications like web applications, batch jobs, or stand-alone status update jobs, it is good to know some statistics about them, like number of requests served or request duration. You can also gather more generic information like the state of your internal collections, how many times some portion of code is being executed, or health checks like database availability, or any kind of connection to an external system.… Read more ...



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