Java Concurrency using Fork/Join Framework

The Fork/Join Model is a parallel design pattern that sets up and executes concurrently code parts. The execution divides in parallel at multiple points in the program, performs a task in parallel and later it joins at a single point. In java it is implemented by the Fork/Join Framework, an implementation of ExecutorService interface, that Read more about Java Concurrency using Fork/Join Framework[…]

Using Observer Pattern to send messages in a Spring project

In this post we display a usage of the Observer pattern in a Spring project. We need to push a notification to a user, based on some other user actions. We will use a simple action like a dropdown selection. When a user chooses an option from the dropdown, the rest users will get notified Read more about Using Observer Pattern to send messages in a Spring project[…]