Home » Java (page 3)

Java

Become a Master of Java Streams – Part 6: Creating a New Database Application Using Streams

Have you ever wanted to develop an “express” version of your database application? In this Hands-On Lab article, you will learn a truly easy and straightforward method. The entire Java domain model will be automatically generated for you. You just connect to your existing database and then start developing using Java streams. You will be able to create, for example, ...

Read More »

JDK 14: Records, Text Blocks, and More

Today’s Mark Reinhold post “JEPs proposed to target JDK 14: 305, 343, 359, 366, & 368” proposes targeting five more JEPs to JDK 14. Some highly anticipated features are among this group, although all but one are proposed to be in “preview” or “incubating”: JEP 305: Pattern Matching for instanceof (Preview)JEP 343: Packaging Tool (Incubator)JEP 359: Records (Preview)JEP 366: Deprecate ...

Read More »

JDK 14: CMS GC is OBE

JDK 14 Early Access Build #23 (2019/11/13) is now available. One of the more noteworthy changes with this build is the removal of the Concurrent Mark Sweep garbage collector. JEP 291 [“Deprecate the Concurrent Mark Sweep (CMS) Garbage Collector”] deprecated the Concurrent Mark Sweep (CMS) garbage collector back in 2017 with JDK 9 and JEP 363 [“Remove the Concurrent Mark ...

Read More »

jstat – Analysis

jstat is a simple utility tool, that is present in JDK to provide JVM performance-related statistics like garbage collection, compilation activities. The major strength of jstat is its ability to capture these metrics dynamically when JVM is running without any pre-requisite instrumentation. What do we mean by it? Say for example if you want to capture garbage collection related statistics, you ...

Read More »

CUBA Platform: TypeScript SDK and REST API

java-interview-questions-answers

In this article, we will talk about the feature of the CUBA platform that exists for quite a long time, but is still not widely known – front-end SDK generator, and see how it works with CUBA’s REST API addon. Java+JavaScript – marriage born in web Only eight years ago we, Java developers, used JavaScript as a “second-class citizen” language ...

Read More »

Microservices in Publish-Subscribe communication using Apache Kafka as a Messaging Systems and validated through Integration Test

Publish-Subscribe Messaging systems play an important role in any enterprise architecture as it enables reliable integration without tightly coupling the applications. The ability to share data between decoupled systems is not a problem that is easily tackled. Consider an enterprise with multiple applications that are being built independently, with different languages and platforms. It needs to share data and processes ...

Read More »

Memory wasted by Spring Boot Application

spring-interview-questions-answers

One of the widely wasted resources in the world today is Memory. Due to inefficient programming, surprising (sometimes ‘shocking’) amount of memory is wasted. We see this pattern repeated in several enterprise applications. To prove this case, we conducted a small study. We analyzed the famous spring boot pet clinic application to see how much memory it is wasting. This ...

Read More »

Supporting Java 8

Although Java has version 13 released as for now, there are a lot of production installations running with Java 8. As a professional, I develop Java 8 code many times even these days and I have to be happy that this is not Java 6. On the other hand as an open-source developer, I have my liberty to develop my ...

Read More »