MagPortal.com   Clustify - document clustering
 Home  |  Newsletter  |  My Articles  |  My Account  |  Help 
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
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
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
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 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
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 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
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
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
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
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
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
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
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
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
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
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
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
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 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 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
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
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
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
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
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
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 2001
Java 101 study hall Brush up on Java terms, learn tips and cautions, and enter the first Java 101 reader challenge 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
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
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
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
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
November 2000
Abhilash Koneri
Eliminate tedious programming: Recover data with XML and Reflection The parsing of ResultSets forms one of the most significant tasks involved in retrieving data from a database. But, as a repetitious and uninteresting assignment, it is not a favorite among developers. How to supplant ResultSet parsing in the data access objects... 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
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
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
February 2003
Jeff Friesen
Regular expressions simplify pattern-matching code To help you write simpler pattern-matching code, Java provides regular expressions. After introducing you to terminology and the java.util.regex package, the author explores many regular expression constructs supported by that package's Pattern class. 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
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
December 2001
Brian Goetz
Exceptional practices, Part 3 Exceptions provide a powerful mechanism for handling error conditions in Java programs. Part 3 covers message catalogs, a technique you can use to simplify the process of localizing your application for foreign markets. The use of message catalogs has additional benefits beyond localization -- they make it practical for documentation writers and human interface designers, rather than developers, to control the error messages. mark for My Articles similar articles
JavaWorld
July 18, 2003
James Carman
Get down to business In this article, you will learn how to structure your applications such that modifications to the business object implementation do not require changes to the user interface using a simple framework for accessing your business objects. 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
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
December 2000
Raghavan N. Srinivas
Java security evolution and concepts, Part 3: Applet security This article will take a look at the challenges of security for, and the deployment of, applets... 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
Home Toys
August 2004
Gary Drake
Using a Low Cost Personal Computer to Create a Web Enabled Monitoring System With a little care, free software and Automation from BroadbandSentry your old desktop computer can be converted to monitor the Status of your home or office. mark for My Articles similar articles
JavaWorld
August 2001
Bill W. Davis
Dynamically extend Java applications Do you want to write programs that can be extended without source code changes? The techniques described in this article show you how to use interfaces and dynamic class loading to create highly extensible systems... mark for My Articles similar articles