Java Language

Java language news, information, and how-to advice

steamy java

Autoboxing, Unboxing, and NoSuchMethodError

The Java NoSuchMethodError sometimes arises when pre-Java 5 classes are compiled with classes that include autoboxing and unboxing syntax. Find out why and learn how to work around it in this post....


bstroustrup

Stroustrup: Why the 35-year-old C++ still dominates 'real' dev

C++ inventor details the language's latest changes and assesses the strengths and weaknesses of its competitors....

java gears

Shipilёv on writing good benchmarks -- Java vs Scala

Writing good benchmarks begins and ends with the relentless drive to understand why your system is behaving as it does. Once you've got that down, optimization naturally follows....

java union

Get real: Oracle is strengthening -- not killing -- Java

Oracle has made its share of bungles, but technologically it has put Java on a progressive track....

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....

steamy java

Oracle hasn't killed Java -- but there's still time

While Oracle fiddles with fixes and lawsuits big ideas are happening elsewhere in big data, cloud computing, and mobile. Where's the leadership that made Java great?...

marx books

Books that have most influenced my software development career

Dustin Marx names 9 books that have earned a permanent place in his bookshelf, and maybe yours....

scripting

Why one developer switched from Java to Google Go

Pivotal's Matt Stine, who was raised on Java, has become an advocate for the Google-built Go language. Find out why one developer chooses Go for building system-level software....

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. ...

Python bumps off Java as top learning language

Python's simpler syntax and ability to scale up for enterprise development have made it the preferred language choice for learning to code. ...

Custom Cassandra data types

Learn to create and then use custom Cassandra Query Language data types in this quick tutorial from Dustin Marx....

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 Q&A: The ultimate superclass, Part 3

This post completes a three-part series in which I present and answer questions about Object and its methods....

elipse ide

Eclipse Luna picks up Java 8, PHP, C/C++ support

Eclipse IDE's annual release adds Java 8 support, enhanced C/C++ and PHP tools, and support for the Paho platform....

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....

Can TDD factions agree to disagree?

The #isTDDDead debate might be over but history suggests the fallout has just begun. Or at least that's what Uncle Bob says. ...

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....

project coin

Java 101: The next generation: The essential Java language features tour, Part 4

Project Coin was the Java 7 language update that emphasized small changes with a big impact. Get a primer on automatic resource management with try-with-resources, then zip through three more JDK 7 updates: switch-on-string,...

Java 8 StampedLocks vs. ReadWriteLocks and Synchronized

StampedLock, new in JDK 8, employs a set of algorithms and memory fencing features that are meant make this read-write lock faster and more robust than ever. Does it deliver on its promise?...

Load More