Java News Roundup: Single Query Loading, GraalVM, GlassFish, JReleaser, Quarkus, Micronaut | Canada News Media
Connect with us

Tech

Java News Roundup: Single Query Loading, GraalVM, GlassFish, JReleaser, Quarkus, Micronaut

Published

 on

This week’s Java roundup for August 28th, 2023 features news from OpenJDK, JDK 22, JDK 21, GraalVM Native Build Tools 0.9.25, Single Query Loading in Spring JDBC, Quarkus 3.3.1, 3.2.5.Final and 2.16.10.Final, Micronaut 4.1.0 and 4.0.6, Wildfly 29.0.1, Hibernate ORM 6.3.0 and 6.2.8, Hibernate Reactive 2.0.5, GlassFish 7.0.8, Eclipse Vert.x 4.4.5, JKube 1.14.0, JReleaser 1.8.0 and OpenXava 7.1.5.

OpenJDK

The Java Community Process (JCP) Executive Committee has voted to approve JSR 396, Java SE 21 Platform, to move forward with its final GA release scheduled for September 19, 2023.

JEP 442, Foreign Function & Memory API (Third Preview), delivered in the upcoming release of JDK 21, and JEP Draft 8310626, Foreign Function & Memory API, expected to be delivered in JDK 22, is one of the main features of Project Panama, a project that connects the JVM with well-defined, but “foreign” (non-Java) APIs that include many interfaces commonly used by C programmers.

Per-Åke Minborg, consulting member of technical staff at Oracle, has published this blog post in which he discussed the performance benefits of the Foreign Function & Memory API. Minborg provided a benchmark on string conversion using this API for JDK 21 and JDK 22 compared to using the old Java Native Interface (JNI) calls.

JDK 21

Build 35 remains the current build in the JDK 21 early-access builds. Further details on this build may be found in the release notes.

JDK 22

Build 13 of the JDK 22 early-access builds was also made available this past week featuring updates from Build 12 that include fixes to various issues. Further details on this build may be found in the release notes.

For JDK 22 and JDK 21, developers are encouraged to report bugs via the Java Bug Database.

GraalVM

On the road to version 1.0, Oracle Labs has released version 0.9.25 of Native Build Tools, a GraalVM project consisting of plugins for interoperability with GraalVM Native Image. This latest release provides a dependency upgrade to GraalVM Reachability Metadata Repository 0.3.4. More details on this release may be found in the changelog.

Spring Framework

In their quest to solve the N+1 problem, the Spring Data team has introduced Single Query Loading, a technique designed to load arbitrary aggregates with a single SELECT statement. Available with the release of Spring Data JDBC 3.2.0-M2, the team claims this new technique is the “beginning of the end for the N+1 problem.” A new method, setSingleQueryLoadingEnabled(true), has been added to the RelationalMappingContext class to enable Single Query Loading. At this time, this only works for simple aggregates, consisting of an aggregate root and a single collection of other entities, but the team promises that future releases will improve on this limitation.

Quarkus

Red Hat has released version 3.3.1 of Quarkus that ships with dependency upgrades and notable changes such as: a fix for a potential NullPointerException in the MicrometerRecorder class; a new counter, rejected, added to the VertxPoolMetrics class to count rejected requests; and a fix in which the VertxHttpExporter class incorrectly parses the /v1/traces endpoint. Further details on this release may be found in the changelog.

Similarly, Quarkus 3.2.5.Final has been released with notable changes such as: a fix for a potential NullPointerException in the Cross-Site Request Forgery extension when the CsrfRequestResponseReactiveFilter class is checking the media type; a disabling of the testMoreRepositoryFunctionalities() method in the ReactiveMongodbPanacheResourceTest class as it has been characterized as “flaky” according to the string passed-in to the @Disabled annotation; and a fix for a deadlock upon calling a write-locked method of a bean in multiple threads in which this method calls another write-locked method within the same bean. More details on this release may be found in the changelog.

And finally, the release of Quarkus 2.16.10.Final provides a dependency upgrade of Snappy Java from version 1.1.8.4 to version 1.1.10.1. Further details on this release may be found in the changelog.

Micronaut

The Micronaut Foundation has released version 4.1.0 of the Micronaut Framework delivering Micronaut Core 4.1.3 and new features such as: Bean Mappers to automatically create a mapping between one type and another; an Introspection Builder that utilizes the builder member of the @Introspected annotation to generate a dynamic builder ​​if a type can only be constructed via a builder pattern; and improvements for developers using Kotlin Symbol Processing (KSP) to build Micronaut applications. More details on this release may be found in the release notes.

Micronaut Framework 4.0.6, the sixth maintenance release provides updates to modules: Micronaut for Spring, Micronaut JAX-RS, Micronaut Servlet, Micronaut Validation, Micronaut Redis, Micronaut Tracing, Micronaut AWS and Micronaut Kafka. Further details on this release may be found in the release notes.

WildFly

The release of WildFly 29.0.1 ships with component upgrades, a migration of Quickstarts 29.x to BOMs and WildFly Server 29.0.1.Final, and notable bug fixes such as: WildFly 29.0.0 not starting on Eclipse Temurin 17.0.8 due to a new org.jboss.jts to jdk.jconsole dependency; an upgrade to Square Okio 3.4.0 to resolve CVE-2023-3635, a vulnerability that may lead to a denial of service of the Okio client when handling a crafted GZIP archive via the GzipSource class; and issues with the MicroProfile RestClient and Jakarta CDI specifications after upgrading to WildFly 29.0.0. More details on this release may be found in the release notes.

Hibernate

Versions 6.3.0 and 6.2.8 of Hibernate ORM have been released delivering notable changes such as: initial support for the Jakarta Persistence 3.2 specification for Jakarta EE 11 that includes clarification of numeric literal types in HQL/JPQL queries; a new introductory Hibernate 6 Guide; a new syntax and feature guide for the Hibernate Query Language; the ability to generate DAO-style methods for named queries as part of its JPA static metamodel generator; and the ability for arbitrary methods to be processed by the generator to create finder methods similar to query methods using the new @Find annotation.

The release of Hibernate Reactive 2.0.5.Final ships with compatibility with Hibernate ORM 6.2.8.Final and Vert.x SQL driver 4.4.5. Notable changes include: a change of the return type from Uni<Object> to Uni<?> of the generate() method defined in the MutinyGenerator class; the addition of tests for the @TimeZoneStorage annotation; and a new ParametersProcessorTest class to fix escaping issues that were present in processing parameters for the OracleParameters, PostgresParameters and SQLServerParameters classes. Further details on this release may be found in the release notes.

Eclipse Foundation

Eclipse GlassFish 7.0.8, the eighth maintenance release, features initial support for JDK 21 and an optimization of CDI extensions to reduce the number of unnecessary handler calls to the ProcessAnnotatedType interface. Notable bug fixes include: a JDK 11 compatibility issue in RWLockDataStructureTest class; a multi-jar compatibility issue; and Admin Console behavior when an admin user changes password to be empty. More details on this release may be found in the release notes

The release of Eclipse Vert.x 4.4.5 delivers dependency upgrades and notable changes such as: improvements to the ForwardedParser class to support IPV6 addresses when they are not enclosed within square brackets; a decouple of the frame aggregator from the frame handler upon implementing the WebSocketBase interface; and a fix for HTTP/2 throwing an HttpClosedException instead of TimeoutException when a defined timeout has been exceeded. Further details on this release may be found in the release notes and deprecations and breaking changes.

Version 1.14.0 of Eclipse JKube, a Java tools and plugins utility for Kubernetes and OpenShift, has been released featuring bug fixes, improvements and support for Gradle 8, Helidon, the Spring Boot Layered Jar and Helm push charts for OCI registries. More details on this release may be found in the release notes.

JReleaser

Version 1.8.0 of JReleaser, a Java utility that streamlines creating project releases, has been released to deliver improvements in documentation, dependency upgrades and notable changes such as: the creation of default templates for missing announcers; an update to the latest SDKMan endpoints; and improved error handling for GitHub 422 error responses. Further details on this release may be found in the release notes.

It is important to note that the Supply Chain Levels for Software Artifacts (SLSA) has announced a partnership with JReleaser, Maven and Gradle with the release of SLSA 1.0. This validates the design of the Bring Your Own Builder (BYOB) framework and demonstrates its flexibility.

OpenXava

The release of OpenXava 7.1.5 ships with notable changes such as: a new CompositeFilter class that sums two instances of the IFilter interfaces to set with the setFilter() method defined in the Tab class or as base for an IFilter for a @Tab annotation; a new environment variable, XAVA_CALENDAR_VIEWEVENT_ACTION, to define the action on click in a calendar event; and a fix for passing-in the string, “ValidValuesRadioButton,” in the @Editor annotation for an enumeration that produced an IndexOutOfBoundsException in the log. More details on this release may be found in the release notes.

 

Source link

Continue Reading

News

Kuwait bans ‘Call of Duty: Black Ops 6’ video game, likely over it featuring Saddam Hussein in 1990s

Published

 on

 

DUBAI, United Arab Emirates (AP) — The tiny Mideast nation of Kuwait has banned the release of the video game “Call of Duty: Black Ops 6,” which features the late Iraqi dictator Saddam Hussein and is set in part in the 1990s Gulf War.

Kuwait has not publicly acknowledged banning the game, which is a tentpole product for the Microsoft-owned developer Activision and is set to be released on Friday worldwide. However, it comes as Kuwait still wrestles with the aftermath of the invasion and as video game makers more broadly deal with addressing historical and cultural issues in their work.

The video game, a first-person shooter, follows CIA operators fighting at times in the United States and also in the Middle East. Game-play trailers for the game show burning oilfields, a painful reminder for Kuwaitis who saw Iraqis set fire to the fields, causing vast ecological and economic damage. Iraqi troops damaged or set fire to over 700 wells.

There also are images of Saddam and Iraq’s old three-star flag in the footage released by developers ahead of the game’s launch. The game’s multiplayer section, a popular feature of the series, includes what appears to be a desert shootout in Kuwait called Scud after the Soviet missiles Saddam fired in the war. Another is called Babylon, after the ancient city in Iraq.

Activision acknowledged in a statement that the game “has not been approved for release in Kuwait,” but did not elaborate.

“All pre-orders in Kuwait will be cancelled and refunded to the original point of purchase,” the company said. “We remain hopeful that local authorities will reconsider, and allow players in Kuwait to enjoy this all-new experience in the Black Ops series.”

Kuwait’s Media Ministry did not respond to requests for comment from The Associated Press over the decision.

“Call of Duty,” which first began in 2003 as a first-person shooter set in World War II, has expanded into an empire worth billions of dollars now owned by Microsoft. But it also has been controversial as its gameplay entered the realm of geopolitics. China and Russia both banned chapters in the franchise. In 2009, an entry in the gaming franchise allowed players to take part in a militant attack at a Russian airport, killing civilians.

But there have been other games recently that won praise for their handling of the Mideast. Ubisoft’s “Assassin’s Creed: Mirage” published last year won praise for its portrayal of Baghdad during the Islamic Golden Age in the 9th century.

The Canadian Press. All rights reserved.

Source link

Continue Reading

Tech

Building Homes Faster with our Latest 3D Construction Printer

Published

 on

Copenhagen, 22.10.2024 – COBOD International, the global leader in 3D construction printing technology, proudly introduces the BOD3 3D Construction Printer for 3D printing of real concrete. Equipped with an extendable ground-based track system, the BOD3 advances the construction process by eliminating printer downtime between multiple buildings on the same site, setting a new benchmark for productivity and efficiency. The BOD3 is the most advanced solution for high-volume low-rise construction and a very effective alternative to conventional construction methods.

The heart and key feature of the new BOD3 3D printer is the advanced extendable ground-based track system. This system enables limitless extension along the Y-axes (length), expanding the printable area to cover 2 or 3 buildings, and reducing setup time to a single installation for multi-building projects. It’s a game-changer, allowing continuous, uninterrupted printing across large sites, increasing efficiency for high volume and mass production at an unmatchable scale.

 

Render of COBOD BOD3 3D Construction Printer.

The BOD3, COBOD’s third printer model, is the outstanding achievement of years of dedicated research, development, and close collaboration with customers. It is a vital advancement in automated construction technology, directly addressing the urgent global demand for faster, smarter, more efficient and sustainable building solutions. Like every COBOD 3D printer, the BOD3’s modular design offers customization, allowing it to easily adapt to any customer’s size wishes in addition to complying with the various sizes of construction sites anywhere in the world.

The BOD3 follows COBOD’s vision to build smarter through automation. Its operational stand combines the control and monitoring of both the 3D printer and supplementary equipment in one user-friendly system. The Advanced Hose Management System (AHMS) transports 3D printable material from the materials delivery system to the printhead via hoses secured within E-chains, minimizing physical labor and optimizing material flow. With the addition of the dual dosing system for additives, operators can better control the concrete and adapt it to onsite environmental conditions. By introducing additives directly at the printhead, the system reduces drying time between layers, speeding up the overall construction process. Designed for easy operation and precision, the BOD3 can be operated by a small, trained, and certified team, reducing the costs of projects.

Incorporating the innovative Universal X-Carriage, the BOD3 is ready for future COBOD advancements and technologies, like the introduction of additional tools for the printer aimed at insulating, painting, sanding, etc. This ensures long-term versatility and performance that will keep the BOD3 at the forefront of the industry for years to come.

 

Universal X-Carriage with Printhead.

Already deployed to the global market, the BOD3 is currently active in Indonesia, by Modula Tiga Dimensi, Angola, by Power2Build, and Bahrain, by Ab’aad 3D. The customers report faster project execution with near-zero downtime between individual buildings on the same site. The projects showcase the BOD3’s ability to speed up construction and print with real concrete, with 99% locally sourced materials and 1% of innovative D.fab, a co-developed solution by COBOD and Cemex to make concrete 3D printable.

Henrik Lund-Nielsen, Founder and General Manager of COBOD, commented on the BOD3: “The global housing crisis demands a more efficient construction solution that is faster, more efficient, and scalable. The BOD3 is our answer to this challenge. Drawing on years of research and expertise, we’ve designed the BOD3 with innovative features, making it our most cost-effective and efficient model yet for multiple low-rise buildings. Its design supports high-volume, linear production of houses, enabling mass production without compromising quality. The fact that six units have already been sold before its official launch speaks volumes about the BOD3’s market demand and the trust our customers place in our technology.

Michael Holm, Chief Innovation Officer at COBOD, states, “The advanced ground-based track system was developed as a response to our customers’ needs to increase efficiency and productivity. Now the 3D construction printer can be easily extended, and multiple consecutive structures can be printed with minimal repositioning and zero downtime between projects, making 3D construction printing more efficient than ever before.

 

The BOD3 is now available for purchase worldwide; for more information, please visit our website, www.cobod.com, or contact us at info@cobod.com.

 

RELEVANT LINKS

 

ABOUT COBOD

COBOD stands as the global leader in supplying 3D printers for the construction sector, with over 80 printers distributed across North and Latin America, Europe, the Middle East, Africa, and Asia-Pacific. Driven by a mission to revolutionize construction through multifunctional robots based on 3D printing, COBOD envisions automating half of the construction processes to achieve faster, cost-effective, sustainable results with enhanced design versatility.

From residential, commercial, and public buildings, COBOD’s 3D printers have been instrumental in erecting 1- to 3-story structures across all six inhabited continents. The innovative technology also extends to fabricate large-scale data centers, wind turbine towers, tanks, and more.

Embracing an open-source material approach, COBOD collaborates with global partners, including customers, academia, and suppliers. The company, backed by prominent shareholders such as General Electric, CEMEX, Holcim, and PERI, operates from its main office in Copenhagen, Denmark, and regional competence centers in Miami, Florida, and Kuala Lumpur, Malaysia. COBOD’s dynamic team comprises over 100 professionals from 25 diverse nationalities.

 

ABOUT MODULA TIGA DIMENSI

PT Modula Tiga Dimensi is a joint venture between Bakrie & Brothers (BNBR) and COBOD. BNBR focuses on offering and providing solutions for housing backlog problems currently encountered by the country.

Teaming up with COBOD International, the company is now set to adopt the latest 3D printing construction technology and is ready to offer the Indonesian market a new and better solution to housing obstructions.

 

ABOUT POWER2BUILD
Reshaping the construction sector and adapting it to urgent human needs.

Power2Build is a technology company for the construction industry, prepared to establish partnerships with private, public, and non-governmental organizations (NGOs) so that they can make the transition to Build 4.0 through 3DCP.

We offer our clients value-added services and high-quality projects, always with a multidisciplinary approach that brings together the necessary experience to deal with complex issues.

Continue Reading

Tech

Slack researcher discusses the fear, loathing and excitement surrounding AI in the workplace

Published

 on

 

SAN FRANCISCO (AP) — Artificial intelligence‘s recent rise to the forefront of business has left most office workers wondering how often they should use the technology and whether a computer will eventually replace them.

Those were among the highlights of a recent study conducted by the workplace communications platform Slack. After conducting in-depth interviews with 5,000 desktop workers, Slack concluded there are five types of AI personalities in the workplace: “The Maximalist” who regularly uses AI on their jobs; “The Underground” who covertly uses AI; “The Rebel,” who abhors AI; “The Superfan” who is excited about AI but still hasn’t used it; and “The Observer” who is taking a wait-and-see approach.

Only 50% of the respondents fell under the Maximalist or Underground categories, posing a challenge for businesses that want their workers to embrace AI technology. The Associated Press recently discussed the excitement and tension surrounding AI at work with Christina Janzer, Slack’s senior vice president of research and analytics.

Q: What do you make about the wide range of perceptions about AI at work?

A: It shows people are experiencing AI in very different ways, so they have very different emotions about it. Understanding those emotions will help understand what is going to drive usage of AI. If people are feeling guilty or nervous about it, they are not going to use it. So we have to understand where people are, then point them toward learning to value this new technology.

Q: The Maximalist and The Underground both seem to be early adopters of AI at work, but what is different about their attitudes?

A: Maximalists are all in on AI. They are getting value out of it, they are excited about it, and they are actively sharing that they are using it, which is a really big driver for usage among others.

The Underground is the one that is really interesting to me because they are using it, but they are hiding it. There are different reasons for that. They are worried they are going to be seen as incompetent. They are worried that AI is going to be seen as cheating. And so with them, we have an opportunity to provide clear guidelines to help them know that AI usage is celebrated and encouraged. But right now they don’t have guidelines from their companies and they don’t feel particularly encouraged to use it.

Overall, there is more excitement about AI than not, so I think that’s great We just need to figure out how to harness that.

Q: What about the 19% of workers who fell under the Rebel description in Slack’s study?

A: Rebels tend to be women, which is really interesting. Three out of five rebels are women, which I obviously don’t like to see. Also, rebels tend to be older. At a high level, men are adopting the technology at higher rates than women.

Q: Why do you think more women than men are resisting AI?

A: Women are more likely to see AI as a threat, more likely to worry that AI is going to take over their jobs. To me, that points to women not feeling as trusted in the workplace as men do. If you feel trusted by your manager, you are more likely to experiment with AI. Women are reluctant to adopt a technology that might be seen as a replacement for them whereas men may have more confidence that isn’t going to happen because they feel more trusted.

Q: What are some of the things employers should be doing if they want their workers to embrace AI on the job?

A: We are seeing three out of five desk workers don’t even have clear guidelines with AI, because their companies just aren’t telling them anything, so that’s a huge opportunity.

Another opportunity to encourage AI usage in the open. If we can create a culture where it’s celebrated, where people can see the way people are using it, then they can know that it’s accepted and celebrated. Then they can be inspired.

The third thing is we have to create a culture of experimentation where people feel comfortable trying it out, testing it, getting comfortable with it because a lot of people just don’t know where to start. The reality is you can start small, you don’t have to completely change your job. Having AI write an email or summarize content is a great place to start so you can start to understand what this technology can do.

Q: Do you think the fears about people losing their jobs because of AI are warranted?

A: People with AI are going to replace people without AI.

The Canadian Press. All rights reserved.

Source link

Continue Reading

Trending

Exit mobile version