A software engineering blog mainly focused on programming, web development and testing

Posts

  • Java Concurrency Tutorial – Locking: Explicit locks

    In many cases, using implicit locking is enough. Other times, we will need more complex functionalities. In such cases, java.util.concurrent.locks package provides us with lock objects. When it comes to memory synchronization, the internal mechanism of these locks is the same as with implicit locks. The difference is that explicit locks offer additional features.

    The main advantages or improvements over...

  • Java Concurrency Tutorial

    This Java concurrency tutorial consists of several posts that explain the main concepts of concurrency in Java. It starts with the basics with posts about the main concerns or risks of using non synchronised programs.

    This tutorial consists on two main areas:

    • Basic concepts about how concurrency works
    • This section explains different synchronisation mechanisms

    Therefore, each section concept...