Write Adaptive, Dynamic Code Using Reflection 31 Mar 2005 23:22 GMTJava's Reflection API allows you to write code that adapts to runtime conditions. And you don't have to be working in a large-scale application to reap its benefits, either. Find out how reflection can allow your applications to be more robust and flexible.
Source: DevX Eclipse Plugins Exposed, Part 2: Simple GUI Elements 30 Mar 2005 05:00 GMTEclipse is largely composed of plugins, but you can't just write any arbitrary code and have Eclipse magically incorporate it. In part two of his series on Eclipse, Emmanuel Proulx introduces Eclipse's "extension points" by showing how to create toolbar buttons, menu items, and dialogs.
Source: O'Reilly WS-Security in the Enterprise, Part 2: The Framework 30 Mar 2005 05:00 GMTDenis Pilupchuk continues his series on developing a WS-Security toolkit by developing a general framework to match the needs identified in part one and by starting to map WSSE features to Java objects.
Source: O'Reilly Web Wizard Component, Part 2: The View 29 Mar 2005 05:00 GMTA GUI wizard is something that's surprisingly tricky to get right in a web application. In the conclusion of this series, Michael Jouravlev takes the model from part one and builds out the user interface with Struts, addressing some interesting web usability problems along the way.
Source: Java.net Boxing Conversion in J2SE 5.0 24 Mar 2005 05:00 GMTJ2SE 5.0's autoboxing feature liberates you from the hassle of bundling your primitives into wrapper objects in various situations (like putting them in collections), but autoboxing doesn't always behave as you might expect. Krishna Srinivasan has details on how this milestone feature really works.
Source: Java.net Flexible Event Delivery with Executors 23 Mar 2005 05:00 GMTEvent-handling is critical to any GUI application, and many developers know the hazards of making a method call to unknown or poorly behaved code from the event-dispatch thread. J2SE 5.0's concurrency utilities offer more fine-grained control over how code executes. Andrew Thompson applies that to offer better ways to handle events.
Source: O'Reilly Java Component Development: A Conceptual Framework 23 Mar 2005 05:00 GMTIn general terms, a component is one or more classes with an external API that satisfy some requirement. But how do you build components that are really practical--that handle configuration changes or third-party integration well? Palash Ghosh has some ideas about the concepts behind components.
Source: O'Reilly