MagPortal.com   Clustify - document clustering
 Home  |  Newsletter  |  My Articles  |  My Account  |  Help 
Similar Articles
JavaWorld
April 2002
David Geary
Strategy for success The Strategy design pattern embodies two fundamental tenets of object-oriented design: encapsulate the concept that varies and program to an interface, not an implementation. This article shows how to use the Strategy pattern to implement an extensible design... mark for My Articles similar articles
JavaWorld
March 2003
David Geary
An inside view of Observer The Observer pattern lets you build extensible software with pluggable objects by allowing communication between loosely coupled objects. The author explores the Observer pattern, how it's used throughout the Java 2 SDK, and how you can implement the pattern in your own code. mark for My Articles similar articles
JavaWorld
September 26, 2003
David Geary
Adopt Adapter Adapters let objects from unrelated software packages collaborate by adapting one interface to another. The Adapter design pattern can save you a lot of time and effort by combining disparate software systems. mark for My Articles similar articles
JavaWorld
February 2002
David Geary
Take control with the Proxy design pattern The Proxy design pattern in Java lets you substitute a proxy for an object. In that capacity, proxies prove useful in many situations, ranging from Web services to Swing icons... mark for My Articles similar articles
JavaWorld
May 30, 2003
David Geary
Facade clears complexity The Facade design pattern simplifies complex APIs by providing a simplified interface to a complex subsystem. This article explores a built-in Swing facade for creating dialog boxes and a custom facade for getting a Swing application off the ground. mark for My Articles similar articles
JavaWorld
December 2001
David Geary
Decorate your Java code The Decorator design pattern lets you attach responsibilities to objects at runtime. This pattern proves more flexible than inheritance, which is static... mark for My Articles similar articles
JavaWorld
February 2001
Brian Goetz
Design for performance, Part 2: Reduce object creation Many common Java performance problems stem from class design decisions made early in the design process, long before most developers even start thinking about performance. The author discusses some techniques for reducing temporary object creation... mark for My Articles similar articles
JavaWorld
October 2001
David Geary
Amaze your developer friends with design patterns Design patterns are proven techniques for implementing robust, malleable, reusable, and extensible object-oriented software. This article introduces design patterns to Java developers and explores Strategy, Composite, and Decorator -- three common, yet powerful, design patterns in the JDK... mark for My Articles similar articles
JavaWorld
June 2002
David Geary
Take command of your software How to use the Command pattern both in client-side Java to attach application-specific behavior to Swing menu items and in server-side Java to implement application-specific behavior with the Apache Struts application framework. mark for My Articles similar articles
JavaWorld
November 2000
Geoff Friesen
Applications, applets, and hybrids This article establishes our bearings and sets sail to the land of applications, applets, and hybrids (an unusual category of Java programs)... mark for My Articles similar articles
JavaWorld
August 29, 2003
David Geary
Follow the Chain of Responsibility The Chain of Responsibility (CoR) pattern decouples the sender and receiver of a request by interposing a chain of objects between them. This article discusses the CoR pattern and two implementations of that pattern in the Java APIs -- one from client-side Java and the other from server-side. mark for My Articles similar articles
JavaWorld
June 2001
Michael Daconta
An API's looks can be deceiving When you examine an API, your first impressions are often wrong. The author examines two cases where an intuitive model of how an API should work trips over the complexity of implementation details... mark for My Articles similar articles
JavaWorld
November 2001
Michael C. Daconta
Practice makes perfect One pitfall stumbled on while porting an Extensible User Interface Language (XUL) game to Java and two pitfalls sent in by readers... mark for My Articles similar articles
JavaWorld
May 2000
Jason Briggs
Dynamic user interface is only skin deep A skin is a collection of images and a definition file, which together describe an application interface. Here are ways to use skins to customize your applets... mark for My Articles similar articles
JavaWorld
November 2001
Tom Tessier
Create a scrollable virtual desktop in Swing The JScrollableDesktopPane class builds upon the Swing component classes JDesktopPane, JScrollPane, JToolBar, and JMenu to provide a virtual desktop environment replete with dynamic scroll bars, dynamic menus, and dynamic button shortcuts... mark for My Articles similar articles
JavaWorld
May 2001
Thierry Manfe
Embed Java code into your native apps Embedding Java code into a Unix application developed in C or C++ can create problems related to GUIs or threads synchronization. Here's a solution that relies on a good understanding of the Unix APIs and robust software architecture... mark for My Articles similar articles
JavaWorld
October 3, 2003
Allen Holub
Create client-side user interfaces in HTML This article presents a variant on Swing's JEditorPane that makes it possible to specify an entire screen of your client-side user interface (UI) in HTML. mark for My Articles similar articles
JavaWorld
October 2002
Jeff Friesen
Java's character and assorted string classes support text-processing Text-processing is one of the more frequent activities in which computer programs engage. Java supports that activity via the Character, String, StringBuffer, and StringTokenizer classes. This article explores each class and introduces you to an assortment of those classes' methods. mark for My Articles similar articles
JavaWorld
February 2001
Robert Nielsen
Learn Java from Ben Franklin While Benjamin Franklin never wrote a line of Java code, his techniques for better writing can be applied to writing Java. Anyone with at least a basic grasp of Java can use Franklin's learning methods... mark for My Articles similar articles
JavaWorld
July 2000
Todd M. Greanier
Flatten your objects The Java Serialization API is used by many other Java APIs (like RMI and JavaBeans) to persist objects beyond the duration of a running virtual machine. This article tries to demystify the secrets of the Java Serialization API. mark for My Articles similar articles
JavaWorld
June 2000
Letters to the Editor (June 23, 2000) Jason Hunter addresses a gripe with calling instanceof when using JDOM; Mark Johnson responds to feedback on his XML series; reader challenges Tony Sintes about whether it truly is impossible to write a swap method... mark for My Articles similar articles
JavaWorld
November 2001
John Chamberlain
Implement a J2EE-aware application console in Swing Learn the fundamentals of Swing while creating a command console to control complex enterprise applications. A console provides a window into a system's operation and allows operators to configure, monitor, and control the system in real time... mark for My Articles similar articles
JavaWorld
December 2000
Jean-Pierre Dube
Printing in Java, Part 2 How to print your first page, and how to use the more advanced classes of the Java Print API... mark for My Articles similar articles
JavaWorld
August 2001
Jeff Friesen
Object-oriented language basics, Part 5 Every Java class has a superclass. In the absence of an extends keyword, Object is that superclass. Object takes center stage as this article presents its 11 methods... mark for My Articles similar articles
JavaWorld
September 2001
Jeff Friesen
Object-oriented language basics, Part 6 Learn why Java's standard class library contains empty interfaces (such as Cloneable and Serializable). Also, examine the power of interfaces and learn why they provide more than a workaround for Java's lack of multiple implementation inheritance support... mark for My Articles similar articles
JavaWorld
July 2000
Jacob Weintraub
Learn how to store data in objects In this second installment of Java 101, Jacob Weintraub delves into storing data in Java and the various ways you can use that data. Specifically, he examines how objects store data and how you can pass data to objects in method calls... mark for My Articles similar articles
JavaWorld
September 2002
Jeff Friesen
Packages organize classes and interfaces Professional Java developers organize frequently used classes and interfaces in class libraries for later reuse. Learn what constitutes a package, how to create a package of classes and interfaces, how to import packaged classes and interfaces into a program, and more. mark for My Articles similar articles
JavaWorld
October 2000
Bruce Eckel
Everything is an object, Part 2 Eckel takes you through name visibility and using components from other libraries; the static keyword; and comments and embedded documentation. By the end, you should be able to build your first Java program... mark for My Articles similar articles
JavaWorld
February 2002
Jeff Friesen
Classes within classes As with fields and methods, Java allows classes to be members of other classes. This article explores Java's support for class nesting... mark for My Articles similar articles
JavaWorld
May 2001
Jeff Friesen
Object-oriented language basics, Part 2 In this article, you'll gain an understanding about fields, parameters, and local variables and learn to declare and access fields and methods... mark for My Articles similar articles
JavaWorld
February 2002
Dirk Reinshagen
Connect the enterprise with the JCA, Part 2 This article demonstrates a simple JCA (J2EE Connector Architecture) adapter implementation. After you read this article, you'll possess a good understanding of how to build your own JCA adapter... mark for My Articles similar articles
JavaWorld
August 2002
Greg Holling
Put Java in the fast lane This article presents some techniques for locating performance bottlenecks in Java applications and offers suggestions for improving Java performance. Along the way, you'll look at some of the classes in the new java.nio package. mark for My Articles similar articles
JavaWorld
April 2001
Geoff Friesen
Object-oriented language basics, Part 1 An introduction to object-oriented programming and how to declare classes and create objects from those classes... mark for My Articles similar articles
JavaWorld
December 2000
Mark Johnson
C#: A language alternative or just J--?, Part 2 Despite their enormous similarities, Java and C# differ greatly in many language details and also in their basic technical intent. This second article of a two-part series covers C# language constructs and concludes with some speculation on the idea of standardizing C#... mark for My Articles similar articles
JavaWorld
December 2001
Bill Pierce
Diagnose common runtime problems with hprof Ever been a few days from releasing an application when testing reveals a memory leak or something causing the CPU to spin out of control? Few people realize that the Java 2 JDK provides a useful profiling tool called hprof, which you can use to diagnose these behaviors with minimal fuss... mark for My Articles similar articles
JavaWorld
September 2000
Bruce Eckel
Everything is an object, Part 1 This two-part article, excerpted from Chapter 2 in Thinking in Java 2nd. ed., moves you to the point where you can write your first Java program. Bruce Eckel gives an overview of the essentials... mark for My Articles similar articles
JavaWorld
August 29, 2003
Letters to the Editor JavaWorld authors discuss byte code encryption; jEdit's attractive features; method synchronization; and more. mark for My Articles similar articles
JavaWorld
September 26, 2003
Sam Mefford
Overcome Java 1.3-1.4 incompatibilities API version incompatibilities that force you to maintain separate codebases for newer versions can exponentially increase your frustration level. This article demonstrates techniques for overcoming interface version incompatibilities, charting a course for a single codebase. mark for My Articles similar articles
JavaWorld
March 2002
Jeff Friesen
Exceptions to the programming rules, Part 1 Learn about exceptions and how to handle them in C, C++, and Java. Learning how to handle exceptions in various languages gives you an appreciation for why exception handling works the way it does in Java... mark for My Articles similar articles
JavaWorld
June 2001
Jeff Friesen
Object-oriented language basics, Part 3 The author explores composition and demonstrates its value in object-oriented programming. Composition and inheritance are design consepts related in a manner similar to both sides of the same coin... mark for My Articles similar articles
JavaWorld
December 2000
Michael C. Daconta
When Runtime.exec() won't This installment of Java Traps discusses one new pitfall and revisits another from the previous column. Originating in the java.lang package, the pitfall specifically involves problems with the Runtime.exec() method. mark for My Articles similar articles
JavaWorld
October 2001
Tony Loton
JavaMail quick start This article shows the first steps on the road to building Java-based email applications. If you fancy building your own email client to replace Microsoft Outlook, or a Web-based email system to rival Hotmail, this is the place to start... mark for My Articles similar articles
JavaWorld
September 2000
Tom Yager
Microsoft's C# public beta hits a high note Java's success, and Sun's control of it, has prompted Microsoft to respond with its C# initiative. C# in many ways is a blend of the power of C++ and Java's built-in protections. Java developers will be well served to learn about C#'s pros and cons -- and how the initiative could affect Java's future. mark for My Articles similar articles
JavaWorld
February 2003
Laurence Vanhelsuwe
Unwrap the package statement's potential The package statement is a very powerful Java language feature. Yet most Java programmers, even experienced ones, fail to correctly exploit this power. Intrigued? Read on and see how a simple language feature can have massive repercussions downstream. mark for My Articles similar articles
JavaWorld
September 2000
Tal Liron
Launching into Java Here's the vision: Instead of clunky Web applications, service providers will design full-blown Java applications with multiple windows, drag and drop, printing and database-query capabilities, directory access, and message queuing, all in a package that runs from users' desktops... mark for My Articles similar articles
JavaWorld
January 2, 2004
Humphrey Sheil
In pursuit of perfection If we could just address Java's weak points, we might make Java that mythical beast -- the perfect technology platform. So then, what are those changes? Is there such a thing as the perfect technology platform, and does Java have the potential to become it? mark for My Articles similar articles
JavaWorld
February 2001
Erwin Vervaet
Java: It's a good thing In response to Simson Garfinkel's article 'Java: Slow, Ugly, and Irrelevant', the author takes a more realistic look at Java's situation. Indeed, Java is far from perfect. But when you take the time to look beyond the flames and the hype, what is left is an exciting and competitive language... mark for My Articles similar articles