Home » Java » Page 10

Java

Manage multiple Java SDKs with SDKMAN! with ease

SDKMAN! is a convenient tool for managing parallel versions of multiple Software Development Kits. The tool is especially useful for Java developers as it supports SDKs for the JVM such as Java, Groovy, Scala, Kotlin and Ceylon. Gradle, Maven, Spring Boot and many others are also supported. Manage Java VersionsInstall Maven and GradleInstall Spring Boot CLILinks SDKMAN! is supported for ...

Read More »

Apache Camel 3.1 – More camel-core optimizations coming

Hope all is good and you had a safe entry into 2020.  The Camel team is already busy working on the next Camel 3.1 version. One of the goals is to continue optimize camel-core, and this time we have had some time to look into finding some hot spots in the routing engine. One of the aspects we have looked ...

Read More »

JPA @Embeddable and @Embedded

java-interview-questions-answers

Introduction: As an object-oriented developer, we want to avoid having larger classes with tons of unrelatable fields. And so, we might often feel the need to represent a JPA Entity using multiple objects. In this quick tutorial, we’ll learn how to achieve it using @Embedded and @Embeddable annotations in JPA or Hibernate. Context Buildup: Let’s say we have a person table with ...

Read More »

General, Safe, and Deterministic Foreign Memory Access in JDK 14

In the post “JDK 14 Rampdown: Build 27,” I summarized the numerous JDK 14-targeted features newly available with JDK 14 Early Access Build #27. There is already another JDK 14 Early Access Build available and this one [Build 28 (2019/12/18)] includes one particularly interesting feature: Enhancement JDK-8234049 [“Implementation of Memory Access API (Incubator)”]. This is the implementation of JEP 370 ...

Read More »

Kafka with Java: Build a Secure, Scalable Messaging App

Easily deploy your app with Okta’s identity management platform Use Okta’s API to authenticate, manage, and secure users in any app within minutes. Try Okta today. Today’s users expect your app to be accessible from their computer, mobile phone, tablet, or any other device! This transition to Software as a Service (SaaS) as the norm requires developers to effectively integrate ...

Read More »

JDK14 instance of EA issue

Tagir Valeev recently had a tweet about the preview feature of the soon coming JDK14 release of Java:             #Java14 pattern matching brings name shadowing to the next level of craziness. Here I add or remove the `final` modifier for the `FLAG` field, which is accessed only in unreachable `if` branch. This actually changes the ...

Read More »

JDK 14 – JEP 361 Switch Expressions out from preview

In my previous post, I wrote about switch expressions and related enhancements released as a preview feature for JDK 12. Subsequently, in JDK 13 there were some changes proposed, like using yield keyword to return value from the switch block and released in preview. In the upcoming JDK 14 release, which will go GA in March next year, these changes ...

Read More »

Elasticsearch SQL

java-interview-questions-answers

The Elasticsearch engine Elasticsearch is one of the most widely search engines being used in a number of production deployments today. It is based on the Lucene search library and one of the key features it provides is a JSON-based query DSL on top of Lucene that provides an easier to use mechanism for interacting with the search engine. However ...

Read More »

JDK 14 Rampdown: Build 27

Mark Reinhold’s recent post “JDK 14 is now in Rampdown Phase One” announced that “we are now in Rampdown Phase One” and that “the overall feature set is frozen.” JDK 14 Early Access Build #27 (2019/12/12) is a hefty build. In this post, I summarize some of the changes associated with JDK 14 Early Access Build 27 that are particularly ...

Read More »