A first experimental change has been added to Java 9 so the JVM can understand that it is running within a container and adjust memory limits accordingly. Despite the increase in popularity of containers, many tools, including the JVM, still rely on the host's parameters to assess available resources, oftentimes running out of memory. This change tries to prevent many of those scenarios.
Data Geekery released version 3.9.0 of jOOQ, their object-relational mapping (ORM) Java toolkit, featuring an experimental parser, additional type safety, better integration with Oracle, and improved transactions. InfoQ spoke to Lukas Eder, founder and CEO of Data Geekery GmbH, about this latest release.
Several parsing and formatting changes have been incorporated to bring the functionality closer to Unicode Locale Data Markup Language (LDML). These changes have been supervised by Stephen Colebourne, creator of the popular library JodaTime, precursor of the new java.time component in Java 8. Abiding by the Unicode standard will provide better interoperability with other non-Java systems.
Hazelcast, previously known for the open-source caching and in-memory data grid technologies, has announced a major release of their new stream processing engine, Jet.
Oracle has recently published a new post in the series “Moving to a Plugin-Free Web,” advising developers to find replacement solutions if they still have Java applets running in production. Firefox is going to stop supporting them soon.
MicroProfile, the community initiative to provide a microservices standard for enterprise Java, has joined the Eclipse Foundation. The move is aimed at ensuring that MicroProfile remains a vendor-neutral project, and hopes to leverage the resources and momentum of the Eclipse Foundation. The decision has caused some arguments and temporarily diverted efforts from other objectives.
Netflix recently introduced Hollow, a Java library and toolset for processing in-memory datasets that aren’t characterized as “big data.” A single producer provides datasets from which many consumers have read-only access. The communication mechanism between producer and consumer includes real-time dataset changes.
Java 9 is now officially feature complete, meaning the first bug-fixing phase has started. HTTP/2 Client didn't make it on time for the deadline and has been downgraded to an incubating feature. Since the objective now is to prepare Java 9 for general availability in July, it is very unlikely that any new JEP will be added at this point.
A new JEP Candidate proposes to facilitate the handling of type variance in Java. The new proposal, potentially targeting Java 10, would add a means for specifying the default variance in the definition of generic types, different to the current style of indicating it through wildcards at instantiation. This proposal is not a replacement for wildcards, but rather a way to reduce the need for them.
Pivotal recently released the first milestone of next-generation Spring Data projects featuring full support for Java 8 and Spring 5, and reactive database access for MongoDB, Apache Cassandra, and Redis.
A new JEP proposes enhancements to lambda functionality, including better disambiguation, use of the underscore for unused parameters, and shadowing of outer variables. Although these changes would bring lambdas in Java closer to other languages', the community seems divided for now. This JEP complements a series of other proposals to improve the Java language with type inference and better enums.
Java enums will be enhanced with generics support and with the ability to add methods to individual items, a new JEP shows. Since both features can be delivered with the same code change, they are bundled together in the same JEP. The change only affects the Java compiler, and therefore no runtime changes are needed. Although there is no target version, Java 10 seems likely.
Vaadin, a polyglot framework for building web apps with UI components, released version 1.1 of their Vaadin Spring project featuring bug fixes and a new SpringNavigator class to enhance management of Vaadin Views. Matti Tahvonen, product marketing manager at Vaadin, spoke to InfoQ about this latest release including a discussion on how UIs fit into microservices.
At the Gradle Summit Conference this year, Gradle formally introduced the Build Scan tool, part of their new Cloud Services, for collaborating with project build information with developers. InfoQ spoke to Chris Beams, director of marketing at Gradle, about Gradle Cloud Services and build scans.
Java type inference won't support differentiation of mutable vs immutable variables due to lack of consensus within the community regarding how this should be implemented, recent communication shows. Also, to prevent a long debate about corner cases, a number of such cases will be ruled out. Although the JEP doesn't indicate a target version, Java 10 seems likely.
Featured Blog Post
Case Studies Post