Category Archives: Java SE 7

PHPHOST BLOG

Web Hosting Related Articles You May Need

Java SE 7 Brings Better File Handling than Ever to Groovy

There have always been multiple reasons to avoid Java for writing scripts. It was not surprising that Java was not the most appropriate language for scripting because it was never intended to be a scripting language. In addition, the Write Once Run Any… Continue reading

Posted in Groovy, Java SE 7, Syndicated | Comments Off on Java SE 7 Brings Better File Handling than Ever to Groovy

Software Development Posts of Interest – 2 July 2011

There have been numerous blog posts on software development that I have found to be well worth the time invested in reading them in recent weeks. In this post, I summarize and link to some of these. Topics include Oracle’s Java 7 kick-off, Scala, Devop… Continue reading

Posted in General Development, Java (General), Java SE 7, Syndicated | Comments Off on Software Development Posts of Interest – 2 July 2011

Java 7 Objects-Powered Compact Equals

Obi Ezechukwu’s blog High-Octane Java recently featured the post Compact Equals, which compares an implementation of a Java class’s overridden equals method in traditional form versus one implemented using arrays of the class’s fields and then invoking… Continue reading

Posted in Java SE 7, Syndicated | Comments Off on Java 7 Objects-Powered Compact Equals

New Java SE 7 Javadoc API Documentation Appearance

In my last post, I briefly referenced the Jonathan Gibbons’s post What’s Up, JavaDoc? that describes some recent changes to Javadoc, including changes that allow a CSS stylesheet to be applied to the documentation. Mark Reinhold’s post JDK 7: Are we th… Continue reading

Posted in Java (General), Java SE 7, Syndicated | Comments Off on New Java SE 7 Javadoc API Documentation Appearance

Responding to Recent Java 7 Blog Post Comments

There have been several interesting comments posted on my blog in response to recent blog postings on Java 7 that I more fully want to address in this post. I tried to quickly respond to the comments close to the time they were made, but want to use th… Continue reading

Posted in Groovy, Java SE 7, NetBeans, Syndicated | Comments Off on Responding to Recent Java 7 Blog Post Comments

JDK 7: New Interfaces, Classes, Enums, and Methods

There are numerous new classes, enums, methods, and interfaces being added to JDK 7 that may not get significant coverage in the blogs and articles on Java 7. In this post, I list and describe some of these. Note that several of these are not really “m… Continue reading

Posted in Groovy, Java SE 7, Syndicated | Comments Off on JDK 7: New Interfaces, Classes, Enums, and Methods

JDK 7: Reflection Exception Handling with ReflectiveOperationException and Multi-Catch

Java 7 adds a new exception class called ReflectiveOperationException. The Javadoc documentation describes this class as a “Common superclass of exceptions thrown by reflective operations in core reflection.” I look at this new exception class and disc… Continue reading

Posted in Java SE 7, Syndicated | Comments Off on JDK 7: Reflection Exception Handling with ReflectiveOperationException and Multi-Catch

JDK 7: The New Objects Class

It was announced approximately 18 months ago that JDK 7 would include a new java.util.Objects class that would “hold commonly-written utility methods.” As part of this announcement, Joe Darcy asked the community, “What other utility methods would have … Continue reading

Posted in Java SE 7, NetBeans, Syndicated | Comments Off on JDK 7: The New Objects Class

JDK 7: The Diamond Operator

Project Coin provides numerous “small language enhancements” as a subset of the new JDK 7 features. I recently blogged on Project Coin’s switching on Strings and in this post I write about the new Diamond Operator (<>).

The Diamond Operator redu… Continue reading

Posted in Java SE 7, Syndicated | Comments Off on JDK 7: The Diamond Operator

JDK 7: Java Switching on Strings Is Here

I have previously blogged on how Groovy and ActionScript provide demonstrations of switching on Strings functionality that has not been available in Java. JDK 7 changes this for Java by introducing the ability to switch on Strings. Specifically, Projec… Continue reading

Posted in Java SE 7, Syndicated | Comments Off on JDK 7: Java Switching on Strings Is Here