Archive for the ‘Java Language’ Category

An array is a fundamental datastructure category, and a building block for more complex datastructures. In this second part of my Java 101 introduction to datastructures and algorithms, you will learn how arrays are understood and used in Java programming. I introduce the concept of an array and how arrays are represented in the Java language. Then you’ll learn about one-dimensional arrays and the three ways that you can introduce them to your Java programs. Finally, we’ll explore five algorithms … Read the rest

An Oracle-developed, low-latency Java garbage collector geared to large heaps could move to the open source community, if a proposal to do so gets community approval. Votes are due by November 8.

Called the Z Garbage Collector (ZGC), the project is designed to support multiterabyte heaps, have pause times not exceeding 10 milliseconds, and offer no more than a 15 percent application reduction throughput compared to the G1 garbage collector.

But ZGC’s developers don’t see these goals as “hard requirements” … Read the rest

When it comes to which languages developers like and dislike, Stack Overflow has some insight. Based on the languages developers tagged as those they would not like to work with in their Stack Overflow Jobs profiles, the company has found that Perl, Delphi, Visual Basic for Applications (VBA), and PHP are the most disliked programming languages, while R, Kotlin, TypeScript, and Rust are the least disliked.

Stack Overflow, which provides an online community for developers, studied the popularity of languages Read the rest

With the release of Java 9 in late September, Java went modular, to improve scalability and performance and to let developers assemble custom configurations with just the functionality needed by an application. But the new Java Platform Module System features need development tools to really take advantage of them.

Here is where several key Java development tools stand in their modularity support.

Apache Ant: Ready for Java modularity

A Java library and command line tool used in building Java … Read the rest

Kotlin is on its way to overtaking Java on that mobile platform, claims mobile database maker Realm.

Realm performed an anonymized assessment of 100,000 developers using its database and which languages they were using, determined by developers’ selection of SDKs. Realm found that 20 percent of apps built with Java before Google’s May endorsement of Kotlin are now being built in Kotlin.

Read the rest

The Eclipse Foundation’s MicroProfile project to add microservices to enterprise Java has released MicroProfile 1.2, which adds capabilities for fault tolerance and security.

New features in MicroProfile 1.2

A fault-tolerance API in MicroProfile 1.2 provides a way for applications to deal with the unavailability of a microservice, said IBM Distinguished Engineer Ian Robinson, who has worked on MicroProfile. When old-style monolithic applications fail, they bring down the entire application. But applications composed of microservices continue to operate if a specific … Read the rest

As part of the change in ownership of Java EE (Enterprise Edition) from Oracle to the Eclipse Foundation, how Java EE works and is managed are starting to change.

For one, Oracle is making the Java EE technology compatibility kits (TCK), which ascertain if an implementation is compliant with Java, available via open source. Eclipse Executive Director Milinkovich called this “a very fundamental change to the dynamics of this ecosystem.”

Under the open-sourcing of the TCKs, users themselves can … Read the rest

Microsoft has released a Java debugger for its free open source editor, Visual Studio Code. The newly minted extension is intended to work as a companion to the Language Support for Java extension provided by Red Hat.  

Whereas Red Hat’s Language Support for Java extension provides IntelliSense capabilities and Java project support, it does not include debugging capabilities. Microsoft’s Java Debug Extension works with previous Red Hat’s extension to provide them. Still in a preview mode, the Java Debug … Read the rest

Google has made the Java 8 runtime generally available on App Engine, the Google Cloud Platform’s development platform service. Google said the upgrade removes performance limitations Java developers have had to deal with when using the Java 7 runtime. Java 7 remains a supported option. 

“Unfortunately, using Java 7 on App Engine standard environment also required compromises, including limited Java classes, unusual thread execution, and slower performance because of sandboxing overhead,” said Amir Rouzrokh, Google product manager.

These … Read the rest

Parts 1 through 3 of this four-part series on developing Web services in Java SE first presented an overview of Web services and Java SE’s support for developing them. The series then focused on developing SOAP-based and RESTful Web services via this support. Part 4 wraps up this series by focusing on advanced topics.

This article first introduces Java SE’s SAAJ API for working with SOAP-based Web services at a lower level. It then discusses how to create a JAX-WS … Read the rest