Reentrant lock in Java

In this article, we will understand how to use reentrant lock in Java. Let’s get started. [comment]: <> ( synchronized keyword ReentrantLock ) [comment]: <> ( ——————————————————— ———————————————————————– ) [comment]: <> ( Internally it’s implemented by using two-byte code instructions MonitorEnter and MonitorExit, this is generated by the compiler. The... [Read More]

Producers and Disposers in Java EE

Until now we’ve seen how CDI can inject bean into other beans that are valuable in the bean archive. The problem is that when we integrate third-party frameworks, their classes are not packaged in bean archives and, therefore, are not discovered by CDI, and can’t be injected. [Read More]
Tags: J2EE