java
By Paul Krill An OpenJDK proposal would preview value classes and objects in a forthcoming version of Java. The feature would provide Java class instances that have only final fields and lack object identity. The Java enhancement proposal, which dates back to August 2020, was updated on June 21. The plan would allow developers to opt into a programming model for simple values in which objects are distinguished by their field values, much as the int value 3 is distinguished from the int value 4. A second goal is to migrate popular classes that represent simple values in the JDK, such as Integer...
Info World
By Matthew Tyson Java 22 introduces stream gatherers, a new mechanism for manipulating streams of data. Stream gatherers are the delivered feature for JEP 461, allowing developers to create custom intermediate operators that simplify complex operations. At first glance, stream gatherers seem a bit complex and obscure, and you might wonder why you'd need them. But when you are confronted with a situation that requires a certain kind of stream manipulation, gatherers become an obvious and welcome addition to the Stream API. The Stream API and stream gatherersJava streams model dynamic collection...
Info World
By Paul Krill The OpenJDK’s Project Leyden, an effort to improve the startup time, time to peak performance, and footprint of Java programs, has published its first early-access build. Accessible from java.jdk.net, the initial Project Leyden release focuses on improving application startup time, according to a June 24 bulletin on the Oracle Java team’s Inside Java website. Other Leyden optimizations will be explored in future releases. The easiest way to start with Leyden features is by using the java program in the Leyden Early Access Release with the -XX:CacheDataStore flag. Project Leyden i...
Info World
企業情報データベース「SalesNow DB」を提供するSalesNowは、ウェブ上で公開されている...
Business Journal
By Matthew Tyson Not long ago, we looked at how to build an HTMX application with JavaScript. HTMX also works with Java, so now we'll try that out using Spring Boot and Thymeleaf. This awesome stack gives you all the power and versatility of Java with Spring, combined with the ingenious simplicity of HTMX. HTMX: A rising starHTMX is a newer technology that takes plain old HTML and gives it extra powers like Ajax and DOM swaps. It’s included in my personal list of good ideas because it eliminates a whole realm of complexity from the typical web app. HTMX works by converting back and forth betwe...
Info World
By Matthew Tyson Java’s sun.misc.Unsafe class has been in use since 2002. It provides essential low-level methods that framework developers use to deliver otherwise unobtainable features and performance. Unfortunately, Unsafe also has long-standing problems related to JVM maintainability. And, as the name implies, it isn't exactly safe to use. A newer JEP proposes to remove sun.misc.Unsafe's memory access methods in a future Java release. But what will replace them? This article looks at the Unsafe class, why some of its methods are slated for removal, and what developers can do to prepare for...
Info World
By Peter Wayner When the browser began, it was just a window for displaying some text and maybe a few images. It was just a new way to distribute the same kind of documents that you might find on a coffee table, like magazines or books. Java, JavaScript, and CSS changed all that. Just adding a bit of Turing-complete functionality was all it took, and clever programmers found ways to duplicate word processors, games, and more inside what once was a container for words and pictures sitting still. For all the creativity, though, applications running in browsers were still slower and more resource...
Info World
By Paul Krill Quarkus 3.11, the latest version of the Red Hat-sponsored Kubernetes-native Java framework, has been released. The update introduces dev extensions for observability and an experimental WebSockets extension. Quarkus 3.11 was announced May 29. Developers can update by using the latest version of the Quarkus CLI and running quarkus update. Discussing the dev extensions for observability in a blog post, Red Hat software engineer Guillaume Smet noted efforts have been made to simplify the setup of development resources for observability, including resources for Grafana, Jaeger, OTel,...
Info World
By Paul Krill Azul Systems specializes in providing Java technologies ranging from supported OpenJDK builds to Azul Intelligence Cloud, offering actionable intelligence from Java runtime data. The company maintains both technical and competitive relationships with Oracle, the Java steward. InfoWorld Editor at Large Paul Krill recently interviewed Azul CEO Scott Sellers, The following interview touches on Java’s place in the burgeoning AI space and where Java fits in the world of software today. InfoWorld: Java is usually not the first language that comes to mind with AI; it usually would be Py...
Info World
By Simon Ritter Despite advances in cloud computing, mobile development, and AI, the day-to-day business of enterprises around the world still runs on three programming languages that made their debut in the 1990s. In nearly every ranking system, JavaScript, Python, and Java appear near the top of the most popular languages. In GitHub’s yearly State of the Octoverse report, the programming trifecta has held three of the top four spots every year since 2014. Why have these programming powerhouses remained the top choices for developers for nearly 30 years, with no sign of anything knocking them...
Info World
閲覧を続けるには、ノアドット株式会社が「プライバシーポリシー」に定める「アクセスデータ」を取得することを含む「nor.利用規約」に同意する必要があります。
「これは何?」という方はこちら