Java 15 – Deprecation & Removals and Other Enhancements

Deprecation Following functionalities are deprecated and are scheduled for removal in future release. Biased Locking − Biased Locking is disabled by default and all related command line options are deprecated. JDK community is looking to check…

Drools – Stateful vs Stateless Knowledge Session

In previous chapter we implemented a drools project using KieSession to get stateful session. In this tutorial we will try to understand the difference between drools stateful and stateless session using example. Stateless session that forms the…

Drools – Stateful Knowledge Session using KieSession

In previous chapter we implemented a simple drools project to execute simple rule. From Drools 6.0 onwards a new approach is used to create a Knowledge Base and a Knowledge Session. Knowledge base is an…

Java 15 – Other Changes

JEP 383 – Foreign Memory Access API Java 14 allowed java programs to safely and efficiently access foreign memory outside of the Java heap. Earlier mapDB, memcached, ignite java libraries provided the foreign memory access….

Java 15 – Garbage Collectors and Other Changes

Java 15 has made the ZGC, Z Garbage Collector a standard feature. It was an experimental feature till Java 15. It is low latency, highly scalable garbage collector. ZGC was introduced in Java 11 as…

Java 15 – Hidden Classes

Java 15 has introduced hidden classes which cannot be used directly by other classes bytecode. These hidden classes are intended to be used by frameworks which genereate classes at runtime and use them using reflection….

Java 15 – Record for Sealed Interfaces

As records are final by default and can extend interfaces. We can define sealed interfaces and let record implement them for better code management. Example Consider the following example − Java15Tester.java Compile and Run the…