Recent Posts

Debug Without Breakpoints

In a typical debugging scenario, you would set breakpoints to tell the debugger when to suspend your program. A breakpoint usually corresponds to the moment that marks the starting point of the further investigation. However, in some situations you aren’t certain about where to set a breakpoint. Other times, you might prefer to suspend the program at a particular time …

Read More »

Debugging Using JMX Revisited

The Need for Advanced Management Tools in Development Introduction to JMX (Java Management Extensions) Understanding MBeans Spring and Management Beans Tooling for JMX Management Getting Started with JMXTerm Leveraging JMX in Debugging and Management Exposing MBeans in Spring Boot Understanding Spring Boot JMX Support Expose an MBean in Spring Boot Example: Exposing a Simple Configuration MBean Final Word Debugging effectively …

Read More »

Smarter Logging in Spring Boot with AOP

Hey AOP fan, after explaining the basics of AOP in Part 1, we will dive deeper and demonstrate hands-on how to implement smart logging in Spring Boot using AOP. The complete example can be found on GitHub. The Problem with Logging Everywhere As software developers, we know the importance of logging . But scattering log statements everywhere comes with drawbacks: …

Read More »