Printing an Object in Java 31 Jan 2006 22:34 GMTWhen you use System.out.println( ) by passing an object as an argument, the JRE invokes its toString( ) method by default. This results in some very uninformative output.
Source: DevX A Console Terminal for JARs 31 Jan 2006 05:00 GMTThe "standard I/O" streams--
System.out,
System.err, and
System.in--are critically important for many Java developers. But put your Java app in a JAR file and data sent to these streams is lost forever. Sanjay Dasgupta introduces a project to provide a GUI terminal for these streams in JAR-launched applications.
Source: Java.net Avoid Excessive Subclassing with the Decorator Design Pattern 28 Jan 2006 01:06 GMTEver have a fairly simple application become so complex over time that you found yourself dealing with class names like "AdminstrativeAssistantAndBloodDriveCanvasser"? Find out how proper use of the Decorator design pattern provides your apps with a more complex model without overcomplicating your coding.
Source: JavaBoutique Object Generation: A Better Approach to Hibernate Integration 26 Jan 2006 18:36 GMTIf you're using Hibernate, your business objects may be littered with unnecessary code. Learn a different, proven approach that challenges conventional wisdom and promises more streamlined integration with less code.
Source: DevX Server-Side Typed Event Distributors 26 Jan 2006 05:00 GMTEvent processing isn't just for GUIs and enterprise messaging systems anymore. Even an HTTP server can be seen as processing a series of events, and it can be advantageous to wire up one or more handlers to each event. Satya Komatineni shows how to build an event distribution framework and what it can do for you.
Source: Java.net Sun's New Wireless Toolkit Keeps Up with the Mobile Joneses 26 Jan 2006 04:05 GMTAs devices grow more capable, so too must our development and emulation testing environments grow. Find out how this first of two anticipated beta releases of the newly renamed Wireless Toolkit from Sun addresses many J2ME developer needs as well as adding support for new APIs.
Source: DevX Twelve Best Practices For Spring XML Configurations 25 Jan 2006 05:00 GMTSpring is powerful and popular, but in practice, the configuration files it needs for beans, dependencies, and services can quickly become confusing and hard to maintain. Jason Zhicheng Li offers some real-world advice on how to keep control of your configs.
Source: O'Reilly An Introduction to BlackBerry J2ME Applications 24 Jan 2006 05:00 GMTOne thing most people don't realize about the BlackBerry is that it offers a capable J2ME environment. By using RIM's development tools, you can use some of the BlackBerry's unique features, like its scroll wheel, to deliver quality mobile apps. In this article, Edward Lineberry shows you how to get started.
Source: Java.net WebWork Validation 19 Jan 2006 05:00 GMTWebWork is a web application framework designed for simplicity and productivity. In this introduction, Zarar Siddiqi introduces the options for validating web forms in WebWork, including using its built-in validators and defining your own.
Source: Java.net