Category Archives: Java SE 6

PHPHOST BLOG

Web Hosting Related Articles You May Need

A Plethora of Java Developments in February 2012

There are several sites (Java.net, JavaWorld, JavaLobby/DZone, Java reddit, and Java Code Geeks) that I like to browse for the latest Java news. These sites are great and bring the best from around the web from the wider Java community. A nice compleme… Continue reading

Posted in Java (General), Java SE 6, Java SE 7, Java SE 8, JavaFX, Syndicated | Leave a comment

Generating XML Schema with schemagen and Groovy

I have previously blogged on several utilitarian tools that are provided with the Java SE 6 HotSpot SDK such as jstack, javap, and so forth. I focus on another tool in the same $JAVA_HOME/bin (or %JAVA_HOME%\bin directory: schemagen. Although schemagen… Continue reading

Posted in Groovy, Java (General), Java SE 6, Syndicated, XML | Leave a comment

Groovy, JMX, and the Attach API

One of the exciting new features of the (then Sun) HotSpot Java SE 6 release was support for the Attach API. The Attach API is “a Sun Microsystems extension that provides a mechanism to attach to a Java virtual machine.” Tools such as JConsole and Visu… Continue reading

Posted in Groovy, Java SE 6, JMX, Syndicated | Leave a comment

HotSpot JVM Options Displayed: -XX:+PrintFlagsInitial and -XX:+PrintFlagsFinal

Inspecting HotSpot JVM Options is a great post for those wishing to understand better the options provided by Oracle’s (formerly Sun’s) HotSpot Java Virtual Machine. In this thorough post, Zahid Qureshi discusses how to use the option -XX:+PrintFlagsFi… Continue reading

Posted in Java (General), Java SE 6, Syndicated | Leave a comment

Reproducing “too many constants” Problem in Java

In my previous blog post, I blogged on the “code too large” problem and reproduced that error message. In this post, I look at the very similar “too many constants” error message (not the same thing as the question too many constants?) and demonstrate… Continue reading

Posted in Groovy, Java (General), Java SE 6, Syndicated | Leave a comment

Reproducing “code too large” Problem in Java

Code conventions and standard software development wisdom dictate that methods should not be too long because they become difficult to fully comprehend, they lose readability when they get too long, they are difficult to appropriately unit test, and t… Continue reading

Posted in Groovy, Java (General), Java SE 6, Syndicated | Leave a comment

Firefox 3.6 Requires Java SE 6 Update 10

Java SE 6 Update 10 was a significant release despite its version numbering indicating a minor release. Among other advancements, Java SE 6 Update 10 introduced the Next-Generation Java Plug-in for a better Java applet experience. It has now been ann… Continue reading

Posted in firefox, Java SE 6, Syndicated | Leave a comment

Java SourceVersion and Character

The SourceVersion class provides information on Java source versions and can provide some interesting details, including demonstration of terminology covered in the Java Language Specification. In this blog posting, I look briefly at some of the more … Continue reading

Posted in Java (General), Java SE 6, Syndicated | Leave a comment

Java Arrays: Copying, String Representations, and Collections

Since the introduction of the Java Collections Framework with JDK 1.2, I have used Java arrays significantly less frequently than I used to. However, I still use arrays occasionally, often because a library or API I am using makes heavy use of arrays…. Continue reading

Posted in Java (General), Java SE 6, Syndicated | Leave a comment