Java SE APIs

Java SE APIs news, information, and how-to advice

Invokedynamic 101

What do you need to know about using invokedynamic and the java.lang.invoke API package in Java 7 and Java 8?

holiday lights neurons network stream

Java extension mechanism loads all JARs

Although the Java extension mechanism and the classpath mechanism are both used in Java class loading, there are some important differences between them. Unpack the Java extension mechanism and get tips for working around its pitfalls....

Google asks Supreme Court to decide Android copyright case

The Supreme Court might weigh in on the extent to which APIs can be protected by copyright.

9 proposed Java 9 features devs will love

Popular updates like Project Jigsaw and the new JSON API get the hype, but Java 9 promises a goldmine of new features for developers who know where to look.

javaone

Oracle exec: Java shortcomings will be addressed by Project Jigsaw

Java's chief architect discusses the long-term impact of Project Jigsaw and lays out a roadmap for the upcoming Java EE 8.

openjdk java

OpenJDK project opens up Java 9 to collaboration, experimentation

The new 'sandbox forest' will enable developers to work on ongoing enhancements before finalizing and contributing them to Java 9.

ChoiceFormat: Numeric range formatting

Learn how to use ChoiceFormat and its patterns to customize the formatting of numeric ranges in your Java programs.

Big Java news in late summer 2014

Java modularity and updated JVM performance options spark developer interest in Java EE 8 and Java 9.

steamy java

Why developers should get excited about Java 9

The next generation of the enterprise development platform will feature major improvements, including modularity and API updates.

java snazzy

Iterating over collections in Java 8

Get an overview of Java iterators and how each version of Java handles them differently, including what you can do with the new forEach() method and Stream API features in Java 8.

Oracle to release 115 security patches

Oracle plans to release 115 security patches on Tuesday, for vulnerabilities affecting a wide array of its products, including its flagship database, Java SE, Fusion Middleware and business applications.

Next generation Project Valhalla proposed

Proposed by Brian Goetz, Project Valhalla would provide long-term structure and support for evolving the Java language and platform. Voting by current OpenJDK members closes on July 7.

Java incubator to explore technologies for Java 10 and beyond

Proposed by Brian Goetz on the openjdk mailing list, Project Valhalla would explore and incubate long-term improvements to the Java language.

java gears

Project Panama builds a bridge between Java and C/C++

Project Panama would provide a native interconnect between code managed by the JVM and APIs for non-Java libraries, including C, C++, Windows, Linux, and Solaris APIs.

scripting

One now, two later: Groovy updates add Java 8 support

New Groovy 2.3 release supports Java 8, but developers must wait for the functional interfaces that will support lambda expressions in Groovy 3.0.

java

Do more with less: Lambda expressions in Java 8

Decide for yourself whether Java 8's new functional syntax is worth learning, with this quick primer on using lambda expressions to iterate through, filter, and extract data in Java Collections.

Abstract class versus interface in the JDK 8 era

The difference between abstract classes and interfaces has long vexed Java developers. Find out how Java 8's default methods introduce both new complexity and new options to that familiar programming conundrum.

Video: Functions as first-class values in Java 8

Java 8 treats methods as first-class citizens, which makes Java programming both more flexible and more functional. Get a quick video introduction to programming with first-class methods and using lambdas to express behaviors from the...

Reality check: Java 8 finally catches a multicore break

Java 8's lambda expressions make building multicore applications a reality for Java programmers, who can now access multicore support directly from the JDK libraries. The change may be late in coming, but better late than never.

Load More