Category Archives: Java SE 7

PHPHOST BLOG

Web Hosting Related Articles You May Need

More Reasons to Update to Java 7

In Java SE 7 Update 21 Release and more, Tori Wieldt pointed out that “Oracle has released three updates to Java” this past week: Java 6 Update 45, Java 7 Update 21, and Java SE Embedded 7 Update 21. This The Java Source blog post briefly focuses on “n… Continue reading

Posted in Java (General), Java SE 7, Syndicated | Comments Off on More Reasons to Update to Java 7

JavaFX 2 XYCharts and Java 7 Features

One of my favorite features of JavaFX 2 is the standard charts it provides in its javafx.scene.chart package. This package provides several different types of charts out-of-the-box. All but one of these (the PieChart) are “2 axis charts” (specific impl… Continue reading

Posted in Java SE 7, JavaFX, Syndicated | Comments Off on JavaFX 2 XYCharts and Java 7 Features

Java Zero Day Vulnerability Exploits JMX and MethodHandles

I recently identified software security issues (#2), especially related to Java, as one of the most significant software development themes of 2012. Not even a month into 2013, a news story receiving a lot of press is the U.S. Department of Homeland Se… Continue reading

Posted in Java SE 7, Security, Syndicated | Comments Off on Java Zero Day Vulnerability Exploits JMX and MethodHandles

Portable Logger Names with Java 7 Method Handles

Java 7 introduced the Method Handles with the java.lang.invoke.MethodHandle and java.lang.invoke.MethodHandles classes. The Well-Grounded Java Developer (which I have previously reviewed) covers method handles in Chapter 5 (Section 5.2) and concludes w… Continue reading

Posted in Java SE 7, Syndicated | Comments Off on Portable Logger Names with Java 7 Method Handles

JavaOne 2012: Diagnosing Your Application on the JVM

It was worth attending Staffan Larsen’s (Oracle Java Serviceability Architect) presentation “Diagnosing Your Application on the JVM” (Hilton Plaza A/B) just for learning of the new jcmd command-line tool provided with Oracle’s JVM 7. The rest of the pr… Continue reading

Posted in Java SE 7, JavaOne 2012, Syndicated | Comments Off on JavaOne 2012: Diagnosing Your Application on the JVM

Recent Java News – Mid-August 2012

Oracle has released significant announcements regarding Java in recent weeks. I summarize some of these in this post.

Java SE 6 End of Life Extended to 2013

Henrik Stahl announced in the post Java 6 End of Public Updates extended to February 2013 tha… Continue reading

Posted in Java SE 6, Java SE 7, JavaOne 2012, Syndicated | Comments Off on Recent Java News – Mid-August 2012

Book Review: The Well-Grounded Java Developer

Java-related books are perhaps the most widely available books in terms of diverse selections of any programming language. Even so, most Java books seem to fall into one of two categories: they are either introductory/general level books or they are hi… Continue reading

Posted in Book Review, Java (General), Java SE 7, Syndicated | Comments Off on Book Review: The Well-Grounded Java Developer

Java 7’s Support for Suppressed Exceptions

A new constructor and two new methods were added to the Throwable class (parent of Exception and Error classes) in JDK 7. The new constructor and two new methods were added to support “suppressed exceptions” (not to be confused with the bad practice of… Continue reading

Posted in Java SE 7, Syndicated | Comments Off on Java 7’s Support for Suppressed Exceptions

JDK 7 Additions to Currency Class

The java.util.Currency class has been available since JDK 1.4, but JDK 7 has provided some useful new methods at the class and instance level. I look at these new methods in this post.

The Currency class represents worldwide currencies as “identified … Continue reading

Posted in Groovy, Java SE 7, Syndicated | Comments Off on JDK 7 Additions to Currency Class

Seven NetBeans Hints for Modernizing Java Code

In the post Seven Indispensable NetBeans Java Hints, I talked about using NetBeans hints in general and then focused on seven hints in particular. The seven hints emphasized in that post are listed next:

Suspicious Method Call
Comparing Strings Using … Continue reading

Posted in Java SE 7, NetBeans, Syndicated | Comments Off on Seven NetBeans Hints for Modernizing Java Code