Using the Strategy Design Pattern for Sorting POJOs 07 Apr 2005 04:00 GMTYou have some plain ol' Java objects and you want to sort them. By what field? Well, by which ever one the user wants. But that implies different kinds of search logic, and how will you keep it straight? Olexiy Prohorenko shows how the Strategy design pattern is perfectly suited to solve this problem.
Source: Java.net Build Your First BlackBerry Java App 07 Apr 2005 01:38 GMTLearn how to use the freely available BlackBerry JDE to develop, debug, and test BlackBerry applications. Follow this demonstration to create a simple HelloWorld application that exploits some of BlackBerry's own APIs.
Source: DevX Form Your Own Design Pattern Study Group 06 Apr 2005 04:00 GMTLike most complex subjects, design patterns are best learned over a period of time, not in a few sittings. Eric Freeman and Elisabeth Freeman, coauthors of
Head First Design Patterns, suggest one way to ease the learning curve (and have some fun along the way): form a study group, using their book. If you're ready to get your engineering team together, the Freemans get you started in this article with a plan to follow and chapter-by-chapter questions to help generate discussion.
Source: O'Reilly Book Excerpt: Murach's Beginning Java 2, JDK 5 06 Apr 2005 02:07 GMTNew to Java? Any good programmer will tell you that the quickest way to learn something is to do it. Chapter 2 of this book allows you to do just that, walking you through the basics of Java programming. Create a simple application that gets user input, performs a calculation, and displays the results.
Source: JavaBoutique Building Easy Java GUIs with Thinlet, Part 2 06 Apr 2005 02:07 GMTSwing may be ubiquitous, but it can also be far too complex for many simpler tasks. Luckily, there's a tool called Thinlet that simplifies GUI development by defining GUIs in XML files. Part 2 of this series explores some of Thinlet's more advanced features--like menus, dialogs, tabbed panes, and trees.
Source: JavaBoutique Add Rich Media Content to Your J2EE Apps with Enterprise Media Beans 06 Apr 2005 02:07 GMTToday's users demand animated images, interactive movies, high-quality sound videos, and much more from their application experience. Thankfully, the EMB specification proposes a simple, lightweight media framework you can use to integrate rich media content into your J2EE applications.
Source: JavaBoutique Review: dotJ Custom Tag Library 2.0 06 Apr 2005 02:07 GMTWhile JSP custom tags allow you for the reuse of code snippets, many developers never look futher than the standard tag library. Find out how the dotJ Custom Tag Library can help you to build better applications in less time.
Source: JavaBoutique Assertion Extensions for JUnit 06 Apr 2005 02:07 GMTJUnit lets you test software code units by making assertions that the intended requirements are met, but these assertions are limited to primitive operations. IBM Software Engineer Tony Morris fills the gap by introducing Assertion Extensions for JUnit, which provides a set of complex assertions that execute within the JUnit framework. Follow along as the author shows you how using this new package from alphaWorks can increase the reliability and robustness of your Java software.
Source: IBM developerWorks JSF for nonbelievers: The JSF application lifecycle 06 Apr 2005 02:07 GMTIn this second article of his four-part "JSF for nonbelievers" series, Rick Hightower introduces the major phases of the JSF request processing lifecycle. Using a sample application, Rick walks you through the five phases of a request process. Along the way, he shows you how to combine JSF with JavaScript for immediate event handling and completes your introduction to the JSF component model, with a first look at many of the components that ship with JSF.
Source: IBM developerWorks Test your tests with Jester 06 Apr 2005 02:07 GMTA comprehensive unit-test suite is a necessity for a robust program. But how can you be sure that your test suite is testing everything it should? Jester, Ivan Moore's JUnit test tester, excels at finding test-suite problems and provides unique insights into the structure of a code base. Elliotte Rusty Harold introduces Jester and shows how to use it for best results.
Source: IBM developerWorks