Java SE

Java SE | News, how-tos, features, reviews, and videos

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.

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.

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.

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.

What will Java 8 do to your code?

Java 8 is here -- so let's start kicking the tires and find out how it really works.

Java 8 officially arrives at last

Oracle's long-anticipated update includes addition of lambda expressions and shift to functional programming language.

4-5-6 hopscotch

Java 101: The essential Java language features tour, Part 3

Get introduced to the last but not least of new features that have improved Java's productivity since JDK 5: Autoboxing and unboxing, the enhanced for loop, static imports, varargs, and covariant return types.

java heart

Survey: Developers eager for Java 8

Lambda capabilities are the most anticipated new feature, while JavaScript addition lags far behind in popularity.

Everything about Java 8

Back in September 2013, developer M. Hixson took the JDK 8 Developer Preview for a test drive. His commentary about important changes coming in Java 8 is still worth a read.

Serializing Java objects with non-serializable attributes

Use custom serialization as an alternative to transience for non-serializable attributes in your Java objects.

Java 8 will likely strip out Stripped Implementations

With just over one month to Java 8's release, Java platform Chief Architect Mark Reinhold has proposed dropping Stripped Implementations in order to maintain backward compatibility.

Uses and limitations of the Stream API in Java 8

The Stream API is one of the more noteworthy additions coming in Java 8. Get a short demo of Stream's impact on your everyday for-loop, then consider some of the features you might yet wish it had.

ObjectStreamClass: Peeking at a Java Object's Serialization

Learn a few tricks for using an ObjectStreamClass to analyze the serialization characteristics of a serialized class loaded in the JVM.

Java's encrypted communications no panacea for security problems

Java 8's Transport Level Security won't resolve Java's security vulnerabilities: older versions of Java remain a key point of entry for malicious code.

Java programming with lambda expressions

The major new features in Java 8 center around lambda expressions, a functional programming construct that simplifies certain types of programming problems. John Moore demonstrates the power of lambdas by contrasting several...

1-3-4 hopscotch child game chalk

Java 101: The essential Java language features tour, Part 2

Learn how to use typesafe enums in switch statements, then get started with Java annotations and meta-annotations types like Target, which can clarify the meaning of annotations in your Java code.

Load More