Breaking the Last Dependency 14 Apr 2005 04:00 GMTAll of the factory patterns "encapsulate" the instantiation of concrete classes and help to minimize (as well as localize) the dependencies your code has on those concrete classes. This articles explains what "breaking the last dependency" means, how it relates to the Factory pattern, and why you should care.
Source: Java.net Hibernate 3 Adds XML-Relational Persistence 13 Apr 2005 20:43 GMTThanks to the XML persistence features in the recently released Hibernate 3, Java developers now have a framework that provides an efficient and consistent method for effortless OR and XML persistence.
Source: DevX Book Review: Head First Java, 2nd Edition 13 Apr 2005 11:16 GMTThrough mind-stretching exercises, memorable analogies, humorous pictures, and casual language, Head First Java, 2nd Edition encourages readers to think like a Java programmer.
Source: Sun Managing Component Dependencies Using ClassLoaders 13 Apr 2005 04:00 GMTUse of the
Class-Path entry within a JAR file's manifest can help you manage external dependencies--to a point. Once you start using multiple JARs that need incompatible versions of external JARs, problems quickly ensue. As Don Schwarz shows, you can get out of this problem by using your own class loader to manage the dependencies.
Source: O'Reilly Print the Stack Trace of the Exception to a String 12 Apr 2005 03:13 GMTWhen an exception occurs, this code snippet will print the stack trace of the exception to a string. This way, the exception stack trace at runtime can be recorded in log file.
Source: DevX SOA: Refactoring Mainframe Applications into Dynamic Web Applications, Part 2 11 Apr 2005 19:22 GMTBy refactoring your mainframe applications into Web services, you separate presentation from logic, and gain the ability to reuse mainframe data in Web applications. The second part of this two-part article completes the refactoring by showing you how to build a browser front-end that uses the XMLHttpRequest object to query the mainframe services exposed through the new Web interface described in Part 1.
Source: DevX Java Tech: Acquire Images with TWAIN and SANE, Part 3 11 Apr 2005 04:00 GMTTWAIN is the standard for image acquisition from scanners and digital cameras, but its GUI assumptions make it ill-suited for Linux and other *nix operating systems. In part three of his series looking at image acquisition in Java, Jeff Friesen looks at the SANE alternative, and how to use it with Java.
Source: Java.net IDE Wars: Has NetBeans 4.1 Eclipsed Eclipse? 08 Apr 2005 23:46 GMTWord on the street is that the latest NetBeans release surpasses Eclipse--in terms of both performance and functionality. Drew Falkman investigates.
Source: JavaBoutique