MagPortal.com   Clustify - document clustering
 Home  |  Newsletter  |  My Articles  |  My Account  |  Help 
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
August 2001
Ray Djajadinata
Sir, what is your preference? J2SE 1.4 offers a number of new APIs to make your Java development life easier. This article discusses one of those APIs: Preferences. It explains how Preferences solves typical problems in managing our applications' preferences, while still being simple and easy to use. mark for My Articles similar articles
JavaWorld
June 13, 2003
Jeff Friesen
Datastructures and algorithms, Part 2 This article concludes a two-part series that explores two important computer science topics: datastructures and algorithms. 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
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
March 2001
Michael C. Daconta
Dodge the traps hiding in the URLConnection class This article focuses on problems with posting to an HTTP URL and the bane of new Java programmers, the NoClassDefFoundError... mark for My Articles similar articles
JavaWorld
January 2002
Jason Cai
Combine the Session Facade pattern with XML This article explores the benefits and advantages of using the Session Facade pattern. The author discusses when to use the pattern with value objects, and when to use it with XML. He also provides a detailed implementation of the Session Facade pattern integrated with XML... mark for My Articles similar articles
JavaWorld
September 2000
Andre Tost
XML document processing in Java using XPath and XSLT The XSLT and XPath standards provide a way of handling certain problems that is more elegant and efficient than simply using the DOM API. In fact, using DOM, XSLT, and XPath together, applying each to different problems, will lead to the best code... mark for My Articles similar articles
JavaWorld
July 25, 2003
David Geary
Make your apps fly Allocating numerous objects can degrade your application's performance. This article shows how to implement the Flyweight design pattern to greatly reduce the number of objects your application creates, which decreases your app's memory footprint and increases performance. 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
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
November 14, 2003
Allen Holub
Create client-side user interfaces in HTML, Part 2 This "Create Client-Side User Interfaces in HTML" series continues by examining the HTMLPane sources. Part 2 offers examples of how to customize the JEditorPane to support custom tags and also provides an extended description of the Factory Method design pattern. 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
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
October 2000
Robert Hustead
Mapping XML to Java, Part 2 This article develops a SAX API-based class library that is easily extended to create XML-to-Java mapping code. First, we explore the important ideas that drive the need for the class library. Then we develop a basic approach for implementing the library as well as a few samples that demonstrate some more advanced topics on parsing XML with the SAX API... 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
July 2000
Jason Hunter & Brett McLaughlin
Easy Java/XML integration with JDOM, Part 2 JDOM is a new API for reading, writing, and manipulating XML from within Java code. In Part 1 of this series, Hunter and McLaughlin explained how to use JDOM to read XML from an existing source. In this final part, they focus on how you can use JDOM to create and mutate XML. 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
January 2, 2004
Allen Holub
More on getters and setters This article provides one of several possible programmatic solutions to the get/set-elimination problem. In particular, it demonstrates how to construct both Web-based and client-side user interfaces without exposing your object's implementation to the entire program. mark for My Articles similar articles
JavaWorld
December 2000
Victor Okunev
Validation with pure Java The importance of employing a good data-validation framework cannot be overestimated. The core Java API has everything you need to solve this problem in the most elegant way. mark for My Articles similar articles
JavaWorld
December 2002
David Geary
A first look at JavaServer Faces, Part 2 JavaServer Faces, with a well-defined request processing lifecycle and a rich component hierarchy, will profoundly affect the development of J2EE applications. Part 1 of this two-part series introduced JavaServer Faces and explored its fundamental concepts. Part 2 examines more advanced concepts such as custom validation, internationalization, and custom component implementation. 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 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
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
October 2000
Michael Koch
Leverage legacy systems with a blend of XML, XSL, and Java As e-commerce becomes a focal point for companies scrambling to have a presence on the electronic frontier, incorporating those new ventures into the existing infrastructure becomes crucial. A few creative applications using XML and Java can give you a good solution... 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
November 2001
Jeff Friesen
Class and object initialization An exploration of class and object initialization, which introduces the strange concepts of the <clinit> and <init> methods... mark for My Articles similar articles
JavaWorld
April 2002
Ramnivas Laddad
I want my AOP!, Part 3 How to use AOP and AspectJ to solve real-world problems by modularizing crosscutting concerns... mark for My Articles similar articles
JavaWorld
December 2000
Robert Nielsen
Calculating Java dates Whether you are dealing with financial transactions or planning future activities, you need to know how to create, use, and display dates in a Java program. That requires more than simply looking up the appropriate class in the API reference: just one date can easily involve creating objects in three date-related classes. This tutorial shows what you need to know. 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
July 2000
Mark Johnson
Programming XML in Java, Part 3 An in-depth look at the Document Object Model (DOM), the most common alternative XML-processing mechanism. See how you can use DOM to manipulate the source code data in an illustrative example program... 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
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
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
March 2002
James Carman
Write once, persist anywhere Most J2EE applications strive to abstract the database tier by employing the Data Access Object design pattern. This article shows you a DAO pattern framework that you can reuse on all your projects, regardless of object type... mark for My Articles similar articles
JavaWorld
September 2000
Michael C. Daconta
Steer clear of Java pitfalls Avoiding Java programming problems can save you considerable time and frustration when developing programs. This month, Michael Daconta presents two API pitfalls and a long-standing bug. mark for My Articles similar articles
JavaWorld
January 2001
Gregg Sporar
Retrofit existing applications with RMI Partitioning an existing application so it is distributed across multiple CPUs is easy using Java's Remote Method Invocation (RMI). However, RMI must be carefully introduced into existing source code... 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
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
September 19, 2003
Brian Connolly
Client quality reporting for J2EE Web services This article implements a general-purpose architecture for recording client response times for J2EE Web services. The sample implementation was built using the Sun ONE Application Server and IDE, but the general approach can be easily adapted to other J2EE implementations. 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
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
September 2000
Todd Sundsted
Alternative deployment methods, Part 3: The code In Part 3 of his series on application deployment, Todd Sundsted looks at the code that supports the deployment tool he described in Part 2. This article explains the framework's operation, highlights its design features, and explores the challenges of building this type of application. mark for My Articles similar articles
JavaWorld
October 2001
Jeff Friesen
Object-oriented language basics, Part 7 This final installment of Java 101's object-oriented programming series explores Java's support for polymorphism and investigates how abstract classes accommodate generalities in class hierarchies. mark for My Articles similar articles
JavaWorld
February 2001
Wally Flint
Plant your data in a ternary search tree The ternary search tree (TST) provides a fast and flexible approach to storing data. This article shows you how to use the TST with Java to build an English dictionary that matches words and checks spelling, and how to use a TST to construct a database and an array that can assume any size or dimension on the fly. mark for My Articles similar articles
Linux Journal
April 1, 2007
Kamran Husain
Extract and Parse ODF Files with Python This article highlights the basic structure of ODF files, some internals of the underlying XML files and shows how to use Python to read the contents to perform a simple search for keywords. 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
April 25, 2003
Anthony Karre
A do-it-yourself framework for grid computing Large-scale grid computing frameworks can be successfully used to build computational grid infrastructures, but their sophistication can also be a barrier for software designers experimenting with entry-level grid computing. mark for My Articles similar articles
JavaWorld
September 2001
Wally Flint
Access control for partial exposure With Java's built-in access control, you can't expose fields and methods to some classes in a package, while hiding them from others in the same package... 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