The first benchmark of Mustang (JDK1.6) versus Tiger (JDK1.5) shows that Java users are up for an agreeable surprise. According to this JavaLobby discussion the virtual machine raw speed has improved significantly (40-100%). Although, the core library implementation (e.g. collections) could also benefit from some rework/optimizations.
"Putting your toys away when you are done is always a drag, but if you dont take the time to do it, you would have a huge mess over time. Garbage collection does an awful lot of the cleanup for us, and it simplifies development and eliminates entire categories of potential code errors, but some java resources still require explicit action on our part. This article discusses the limitations of garbage collection and identifies situations when you have to do your own housecleaning."
"The Java Native Interface lets developers mix Java code with C or C++ source code. It provides access to platform-specific features that Java does not provide, so that Java applications on Mac OS X can take advantage of the wide range of powerful Apple-only technologies to provide the best possible user experience. Using the JNI, your Java application can access a user's Address Book, make Spotlight queries, take advantage of Core Image and Core Video, and leverage many other rich features unique to Mac OS X. This step-by-step tutorial explains how to use the JNI to integrate Java and C code using a single Xcode project with multiple targets."
Jeff Langr's poker application has come a long way in the last few installments of this series. In this segment, he adds the first set of code for handling some of those specialized poker terms you've might recognize from TV: the flop, the turn, the river, and the blinds.
The Eclipse Communication Framework (ECF) is a new Eclipse project devoted to providing an open source framework supporting the creation of communications-based applications on the Eclipse platform. This article gives gives you a quick glimpse into ECF and an example that demonstrated one of the many capabilities the framework provides, and its future direction.
"Profiling is a technique for measuring where software programs consume resources, including CPU time and memory. In this article, software architect Andrew Wilcox explains the benefits of profiling and introduces some current profiling options and their shortcomings. He then shows you how to use the new Java 5 agent interface and simple aspect-oriented programming techniques to build your own profiler."
The beauty of Framework for Integrated Tests (FIT) is that it enables the customer or business side of an organization to get involved in the testing process early (i.e., during development). Whereas JUnit's strength lies in unit testing during the coding process. This article shows you how to combine the best of FIT and JUnit for better teamwork and effective end-to-end testing.
With the support mechanisms in place and well-tested, Jeff Langr's poker game seems to have reached the point that developers like best: banging out the code. But even at this point, he's careful to focus on test-driving classes into existence. Read more at InformIT's article.
"Real Interfaces Visualizer technology is an easy-to-use GUI multi-platform system for Java programmers to assemble and manage complex, interaction-enabled, three-dimensional user interfaces. Version 1.1 includes addition of support for nested matrices along with the capability of cell spanning in all three directions."
"We recently received an email asking for a 'What Is Java' entry on the O'Reilly Network What Is site. Who could possibly not know what Java is in 2006? After ten years of books, websites, and conferences, doesn't everyone know what Java is? Apparently not. After all, things have changed. For every dusty definition that speaks of applets and Just-In-Time compilers, there are new directions and new realities that have settled in, understood by many, yet not always completely documented."
"The Java programming language has had an unprecedented run of success for vendors, customers, and the industry at large. But no programming language is a perfect fit for every job. This article launches a new series by Bruce Tate that looks at ways other languages solve major problems and what those solutions mean to Java developers. He first explores Active Record, the persistence engine behind Ruby on Rails. Active Record bucks many Java conventions, from the typical configuration mechanisms to fundamental architectural choices. The result is a framework that embraces radical compromises and fosters radical productivity."
GNU Classpath 0.90 "A La Mort Subite" has been released. Some highlights of this release: JTables can be rearranged and resized. Free Swing text components support highlighting and clipboard. Much improved styled text. Fast event dispatching and lower memory consumption. Better support for mixing lightweight and heavyweight components in AWT containers. GNU Crypto and Jessie cryptographic algorithms have been added providing ssl3/tls1 and https support. Unicode 4.0.0 support. GIOP and RMI stub and tie source code tools. XML validaton support for RELAX NG and W3C XML schemas. New file backend for util.prefs. Updated gnu.regexp from POSIX to util.regex syntax.
"Why is there more than one Java GUI tool kit? The best answer is that one size does not fit all, nor is there a one-size-fits-all GUI tool kit to be invented soon. Each tool kit offers advantages and disadvantages that make selecting one more appropriate, given your needs and intended audience. Read descriptions of each tool kit's basic features, and the pros and cons of using each."
"Trying to combine JSF and JSP is like trying to shoehorn a foot into a glove: it's possible, but it's really just a stopgap measure until something better comes along. In this article, JSF enthusiast Rick Hightower introduces you to what he likes best about Facelets: easy HTML-style templating and reusable composition components."
Java 5 generics provide information that's useful for many classworking applications. This article shows how the ASM Java bytecode manipulation framework offers flexible access to generics information without going through the Java classloading process. Along the way, It looks deeper into the representation of generics in the binary class format.
Handling exceptions may not be exciting, but it's a crucial part of writing your application. Instead of putting it off until the "fun stuff" is done, Jeff Langr advises a head-on approach: Drive exceptions through tests, like any other production code.
"RAVEN ('Rule-based Accessibility Validation Environment') is a suite of Eclipse plug-ins used to inspect and validate the accessibility of Java-based, rich-client GUIs (Swing or SWT) and Eclipse plug-ins. RAVEN can be used to validate pre-existing Java GUI-based applications while the GUI is running."
"2006 Is going to be a banner year for Web services in general, and for Java Web services in particular. New third-generation frameworks are being unveiled, which offer much better support for doc/lit SOAP as well as potential performance improvements. This article looks at both the state of Web services today and the major changes coming in 2006, and get an overview of how the new frameworks and technologies relate and interact."
"A few months ago OSNews reported that the next version of Java (code name 'Mustang') will feature native GTK components for the Swing API. This got us excited since, quite frankly, Swing's GTK look and feel has always been quite dissapointing. We downloaded the latest release candidate of JDK 1.6 to see how well the Swing GTK look and feel looks, we were quite pleased with what we found."
"We are challenging you, the Java developer community, to find functional regressions between J2SE 5.0 (Tiger) and Java SE 6 (Mustang). The contest runs from Jan 31 through March 31, 2006, with prizes to be awarded in mid-April. You will find details on the contest home page and FAQ. The complete entry requirements are in the official legal rules governing the contest. You can enter the contest using the contest entry form. Prizes? There are five Ultra 20 workstations which will be awarded to the best regressions found during the contest. In addition all successful entrants, whose regression is entered into Suns internal database, will be given a t-shirt as our thanks to you for participating."