Чашечка Java
Open in Telegram
Лучшие материалы по Java на русском и английском Разместить рекламу: @tproger_sales_bot Правила общения: https://tprg.ru/rules Другие каналы: @tproger_channels
Show more8 544
Subscribers
-224 hours
-57 days
-2730 days
Posts Archive
8 544
Groovy 4.0.0 adds SQL-like querying
Groovy 4.0.0 has arrived as a production release. The latest upgrade to the JVM-based language introduces new SQL-like query capabilities, sealed types, and switch expressions.
GINQ, also known as Groovy-integrated Query or GQuery, is an incubating feature in Groovy 4.0.0. It supports querying collections in a SQL-like style. This might involve lists or maps, domain objects, or collections returned when processing such as JSON, XML, and other structured data. In a future version of Groovy, plans call for GQuery support for SQL databases where an optimized SQL query is generated based on the GQuery expression.
To read this article in full, please click here
Читать: https://www.infoworld.com/article/3649128/groovy-400-adds-sql-like-querying.html#tk.rss_java
8 544
GraalVM 22.0 promises a better developer experience
With the newly released version 22.0 of the Oracle-developed GraalVM polyglot runtime, the open source project’s developers aimed to improve the developer experience.
Released January 24 for JDK 11 and JDK 17, the most-current long-term support releases of standard Java, GraalVM 22.0 Community Edition can be downloaded from GitHub. Enterprise builds of GraalVM 22.0 are available from Oracle.
To read this article in full, please click here
Читать: https://www.infoworld.com/article/3648448/graalvm-220-promises-a-better-developer-experience.html#tk.rss_java
8 544
Microsoft publishes Java roadmap for Visual Studio Code
Looking to bolster the appeal of Visual Studio Code to Java developers, Microsoft has published a roadmap for bringing new Java-related capabilities to the code editor. Among the goals is making it easier to migrate to VS Code from other Java IDEs.
There are now more than 1.5 million Java developers using the code editor, Microsoft said. Several areas of investment have been designated for 2022, including the “inner loop” development experience, cloud-native development, build tools, performance and reliability, and other aspects of the user experience.
[ Also on InfoWorld: Build a Java application in Visual Studio Code ]
For inner loop development, improved code completion intelligence and optimization for common cases are planned, along with better code snippet generation and shortcuts based on user preference. Code completion performance improvements are eyed, as well. Planned debugging improvements include virtual thread support, debug for compiled classes, faster evaluation in variable views, and lambda expression valuation.
To read this article in full, please click here
Читать: https://www.infoworld.com/article/3648290/microsoft-looks-to-woo-more-java-developers-to-visual-studio-code.html#tk.rss_java
8 544
JDK 18: The new features in Java 18
Java Development Kit (JDK) 18 is set for release on March 22, 2022. The new version of standard Java will have nine new features, with the feature set having been frozen as of December 9.
The release has moved into a second rampdown phase as of January 20, following an initial rampdown phase begun last month. Upgrades to standard Java are released every six months, with the most-recent, JDK 17, arriving in September.
[ Also on InfoWorld: JDK 17: The new features in Java 17 ]
The OpenJDK page lists the following features as officially targeting JDK 18: a service provider interface, a simple web server, a vector API, code snippets, a reimplementation of core reflection, a UTF-8 charset, a second incubator of a foreign function and memory API, a second preview of pattern matching for switch statements, and the deprecation of finalization, which was the last addition.
To read this article in full, please click here
Читать: https://www.infoworld.com/article/3630510/jdk-18-the-new-features-in-java-18.html#tk.rss_java
8 544
Python nabs programming language of the year honors
For the second consecutive year, Python has been named TIobe’s programming language of the year, a distinction the company awards to the language with the highest increase in ratings – or popularity – for the year 2021.
Python’s year-over-year increase in popularity was 1.86 percent, according to Tiobe, with a year-end rating of 13.58 percent in the Tiobe index. Tiobe noted this was still far below Java’s all-time record of 26.49 percent achieved in 2001. Tiobe said C# was on its way to becoming the language of the year but was surpassed by Python in the last month.
To read this article in full, please click here
Читать: https://www.infoworld.com/article/3646136/python-nabs-programming-language-of-the-year-honors.html#tk.rss_java
8 544
Project Valhalla tees up Java object model improvements
OpenJDK’s Project Valhalla, which explores advanced Java language and JVM feature possibilities, is moving forward with a staged delivery of value objects, primitive objects, and unification of basic primitives.
[ Also on InfoWorld: JDK 18: What to expect in Java 18 ]
Overall, the ambitious Valhalla project is intended to heal a rift between primitives and objects. The three key capabilities, cited in a December 2021 blog post, “The State of Valhalla” by Brian Goetz, Java language architect at Oracle, are described in JDK Enhancement Proposals (JEP) currently pending in the OpenJDK community. Those three capabilities are:
To read this article in full, please click here
Читать: https://www.infoworld.com/article/3646092/project-valhalla-tees-up-java-object-model-improvements.html#tk.rss_java
8 544
What app developers need to do now to fight Log4j exploits
Earlier this month, security researchers uncovered a series of major vulnerabilities in the Log4j Java software that is used in tens of thousands of web applications. The code is widely used across consumer and enterprise systems, in everything from Minecraft, Steam, and iCloud to Fortinet and Red Hat systems. One analyst estimate millions of endpoints could be at risk.
Log4j is just the latest in a series of software supply chain attacks, including SolarWinds (which had a compromised build process) and Kaseya (where attackers had substituted malware-laced code).
To read this article in full, please click here
Читать: https://www.infoworld.com/article/3645908/what-app-developers-need-to-do-now-to-fight-log4j-exploits.html#tk.rss_java
8 544
Hands-on with Dropwizard REST APIs
Dropwizard is a REST-oriented framework that draws together several Java packages into a cohesive whole. It is an alternative to Spring (and Spring’s WebMVC package). Dropwizard delivers a more streamlined experience. It adopts even more configuration by convention than Spring, and eliminates most of the API surface that is unrelated specifically to delivering REST APIs.
[ Also on InfoWorld: Build a Java application in Visual Studio Code ]
Start a new Dropwizard project
Let’s begin by scaffolding a new project via the official Dropwizard Maven archetype. Find a comfortable place on your local system, and from the command line, enter the command in Listing 1.
To read this article in full, please click here
Читать: https://www.infoworld.com/article/3645503/hands-on-with-dropwizard-rest-apis.html#tk.rss_java
8 544
Why SBOM management is no longer optional
As with many zero-day vulnerabilities, organizations are scrambling to identify and remediate the impact of the Log4Shell vulnerability in Log4j. This particular vulnerability is extraordinarily dangerous because it was found in a pervasive library and is easy to exploit. One critical element here is that it was already being actively exploited before details were made public, making time of the essence.
Once security and application teams catch their collective breath after round-the-clock remediation efforts, they will conduct retrospectives and reviews to identify ways to better prepare for the next zero-day vulnerability, because there will be a next one. In this new environment, the software bill of materials (SBOM) is becoming a vital security imperative that enables visibility as software moves across the supply chain. Organizations must act now to establish a critical new capability: SBOM management.
To read this article in full, please click here
Читать: https://www.infoworld.com/article/3645452/why-sbom-management-is-no-longer-optional.html#tk.rss_java
8 544
How developers scrambled to secure the Log4j vulnerability
Last weekend, the internet caught fire, and it is still unclear just how many developers with fire extinguishers will be needed to bring it under control. There was a set of first responders on the scene, however: largely unpaid maintainers or developers working in their spare time to patch vulnerabilities, issue guidance, and provide some much-needed clarity among the chaos.
On December 9, the Apache Foundation released an emergency update for a critical zero-day vulnerability called Log4Shell which had been identified in Log4j, an open source logging framework used in all kinds of Java applications. The bug, identified as CVE-2021-44228, allows an attacker to execute arbitrary code on any system that uses the Log4j library to write out log messages. It was immediately rated with the maximum severity of 10 on the CVSS scale.
To read this article in full, please click here
Читать: https://www.infoworld.com/article/3645131/how-developers-scrambled-to-secure-the-log4j-vulnerability.html#tk.rss_java
8 544
Azul brings Java compilation to the cloud
Java software provider Azul is unveiling Cloud Native Compiler, a cloud-based compilation service aimed at improving the performance and startup times for JVMs. Performance is boosted for JVM-based languages including Java, Scala, Kotlin, Clojure, Groovy, and JRuby, the company said.
Launched as part of the Azul Intelligence Cloud platform on December 15, Cloud Native Compiler scales up and down and reuses previously optimized compilations across JVMs to boost the performance of all JVMs to which it connects. Compatible with all Java applications, Cloud Native Compiler decouples just-in-time (JIT) compilation from the JVM and works in conjunction with Azul’s Platform Prime Java runtime, which had been known as Zing.
To read this article in full, please click here
Читать: https://www.infoworld.com/article/3644971/azul-brings-java-compilation-to-the-cloud.html#tk.rss_java
8 544
How to detect the Log4j vulnerability in your applications
Yesterday the Apache Foundation released an emergency update for a critical zero-day vulnerability in Log4j, a ubiquitous logging tool included in almost every Java application. The issue has been named Log4Shell and received the identifier CVE-2021-44228.
The problem revolves around a bug in the Log4j library that can allow an attacker to execute arbitrary code on a system that is using Log4j to write out log messages. This security vulnerability has a broad impact and is something anyone with an application containing Log4j needs to immediately pay attention to.
To read this article in full, please click here
Читать: https://www.infoworld.com/article/3644492/how-to-detect-the-log4j-vulnerability-in-your-applications.html#tk.rss_java
8 544
JetBrains previews next-gen Fleet IDE
JetBrains has begun an early preview of Fleet, which the company describes as a next-generation, universal IDE that reimagines the software development experience. Fleet is built to be simple, lightweight, and flexible, ready to use without additional configuration, the company said November 29.
JetBrains is well known for its IntelliJ Idea IDE for Java development, and plans to continue improving it. Fleet is intended both to offer another view on IDE organization and to serve as a lightweight code editor. Fleet could not be implemented within the current product line without breaking expectations of existing users, JetBrains noted.
To read this article in full, please click here
Читать: https://www.infoworld.com/article/3642536/jetbrains-previews-next-gen-fleet-ide.html#tk.rss_java
8 544
Kotlin 1.6.0 debuts memory manager
Kotlin 1.6.0, the latest release of JetBrains’ trendy language for JVM, web, and mobile development, has been released with a new memory manager for native development, still in an experimental phase.
The memory manager for Kotlin/Native, which compiles code to native binaries, brings the language closer to providing a consistent development experience. The memory manager lifts existing restrictions on object sharing between threads and offers leak-free, concurrent programming primitives that are safe and do not require special management or annotations.
To read this article in full, please click here
Читать: https://www.infoworld.com/article/3641254/kotlin-160-debuts-memory-manager.html#tk.rss_java
8 544
Kotlin roadmap points to compiler, mobile improvements
The roadmap for Kotlin, JetBrains’ programming language for JVM, JavaScript, and Android development, has been updated to reflect the project’s advancements in areas such as the compiler and mobile functionality.
Plans for Kotlin 1.7.0 and beyond were detailed in a bulletin published by JetBrains on November 10. Kotlin 1.5.31 is the latest version available, as of November 15.
[ Also on InfoWorld: JDK 18: What to expect in Java 18 ]
JetBrains said the focus of the compiler work was on bringing the K2 compiler front end to an alpha state. K2 promises to be a speedier compiler for the language, with the front end responsible for code analysis and transformation to an intermediate representation.
To read this article in full, please click here
Читать: https://www.infoworld.com/article/3640580/kotlin-roadmap-points-to-compiler-mobile-improvements.html#tk.rss_java
Available now! Telegram Research 2025 — the year's key insights 
