Xueming Shen explains how peeking into the Jar source code (after many years) turned up an opportunity to rev the look-up operation.[
Read More]
Sun engineer Xueming Shen talks about why the UTF-8 charset implementation in JDK 7 now rejects non-shortest-form UF-8 byte sequences, and why you should embrace the change. Two words:
security and
performance.[
Read More]
Sun engineer Michael McMahon describes the new close() method in URLClassLoader, It effectively invalidates the loader, so that no new classes can be loaded from it. It also closes any JAR files that were opened by the loader. [
Read More]
In this tip, you'll learn how to use Swing's progress indicator support
to monitor and report on the progress of long-running operations. [
Read More]
In this tip, you'll learn how JAXB's binding customization features can facilitate XML processing for the recipient of data as well as for the sender. [
Read More]
In this tip, you'll learn how to to use the Java Architecture for XML Binding (JAXB) in Java SE 6 to exchange XML data between systems without having to delve into the specifics of XML processing. [
Read More]
What things have state? What things have values that can change? When and how can they change? Can the changes be observed? Who needs to observe changes in state? Read about these questions in this blog. [
Read More]
Learn how to distribute a Java Web Start Application via a CD-ROM. [
Read More]
Here I deal with the technique for
invoking Java programs from an ASM process through a demo
application that calls a Java method from assembly language code.[
Read More]
This article shows how to implement a Java agent, which
transparently adds entry and exit logging to all methods in all
your classes with the standard Java Logging API. Additionally, the article demonstrates how to make the
original Hello World program behave like the logging Hello World by
manipulating the byte code when it is loaded.[
Read More]
In this article, you'll explore the features of each of these APIs
and go on to develop a simple demo application that verifies
certain Java coding rules on a set of source code files supplied as
input.[
Read More]
Discover the changes and improvements included in Nimbus in the Java SE 6 Update 10.[
Read More]
Learn how you can change any of the three
defaults in JSlider: the direction of the scrollbar, and whether tick marks should
appear, and what to show next to them.[
Read More]
Learn how to use generics with Wildcards and Extends.[
Read More]
Learn how and when to use the BoxLayout manager, plus how to make use of the Box struts and glue components.[
Read More]