MagPortal.com   Clustify - document clustering
 Home  |  Newsletter  |  My Articles  |  My Account  |  Help 
Similar Articles
JavaWorld
January 2001
Brian Goetz
Design for performance, Part 1: Interfaces matter 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... mark for My Articles similar articles
JavaWorld
March 2001
Brian Goetz
Design for performance, Part 3: Remote interfaces 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. This article examines performance issues specific to remote applications... 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
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
November 2000
Brian Goetz
Tweak your IO performance for faster runtime Although poor performance claims have plagued Java for some time, Java programs can run just as quickly as programs written in C and C++ if developers pay attention to performance issues throughout the development cycle, especially in IO... mark for My Articles 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
April 2001
Piet Jonas
Secure type-safe collections A framework that overcomes the standard Java Collections Framework's main problem: its containers lack the ability to restrict themselves to storing objects of a specific type. The solution uses reflection, wrapper classes, and a collection of static factory methods... 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 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
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
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
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
April 2002
Jeff Friesen
Exceptions to the programming rules, Part 2 Learn about Java's exceptions class hierarchy, how to extend those classes, how to throw objects created from exception classes, how to catch thrown objects and handle the exceptions they represent, and how to clean your code... mark for My Articles similar articles
JavaWorld
September 5, 2003
Allen Holub
Why getter and setter methods are evil The getter/setter idiom is a commonplace feature of many Java programs. The use of accessors violates the basic object-oriented principle of encapsulation, so you should avoid using them. This article discusses getter/setter cons and offers an alternative design methodology. 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 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
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
August 2002
Guy Gur-Ari
Empower RMI with TRMI Transparent Remote Method Invocation (TRMI) extends RMI to simplify the creation of distributed applications by allowing centralized RemoteException handling and by allowing any interface to be used remotely. This article tours TRMI's inner workings. 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
November 2000
M. Jeff Wilson
Get smart with proxies and RMI RMI enables developers to either get a remote reference to a distributed object, in which all method calls are forwarded to the server object, or get a copy of the remote object and invoke on it locally. You can combine these approaches in a way that is transparent to the client code... mark for My Articles similar articles
JavaWorld
December 2001
Jeff Friesen
Trash talk, Part 1 One feature that distinguishes Java from other computer languages is its garbage collection abilities. In this article, This article introduces garbage collection and shows how Java's optional support for it affects your programs... 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
September 2001
Ashok Mathew & Mark Roulo
Accelerate your RMI programming Beginning with JDK 1.1, serialization and Remote Method Invocation (RMI) were added to the Java platform. RMI usually runs slower than equivalent CORBA or remote procedure call (RPC) solutions. Fortunately, RMI was designed so that you could apply hand optimizations... 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
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
May 2002
Ryan Daigle
Eliminate JDBC overhead Most J2EE and other types of Java applications interact in some way with information persisted in a database. Interfacing with that database involves several iterations of SQL statements, connection management, transaction lifecycles, result processing, and exception handling. The many parts of this ritualistic dance are common in all contexts; however, this replication doesn't have to exist. This article outlines a flexible framework that remedies the repetition of interacting with a JDBC-compliant database. 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
August 1, 2003
Allen Holub
Why extends is evil Improve your code by replacing concrete base classes with interfaces mark for My Articles similar articles
JavaWorld
May 2001
Markus Dorn
Reading objects is easy with SAX By following some simple rules when mapping objects to XML, you can easily read object structures, even complex ones, from XML. See how you can use SAX to eliminate that complexity... 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 2002
Jeff Friesen
Trash talk, Part 2 This article explores the Reference Objects API, an API that allows your programs to interact with the garbage collector in limited ways... mark for My Articles similar articles
JavaWorld
July 2001
Michael Cymerman
Device programming with MIDP, Part 3 This article explores the methods of communication between the MIDlet and the world at large. Using the APIs contained in Java 2, Micro Edition's Mobile Information Device Profile (MIDP), developers can interact with external systems... mark for My Articles similar articles
JavaWorld
November 2001
Kurt Jacobs
Subscribe now for rapid prototyping Developers often find themselves reengineering an API to meet the demand of evolving requirements. By providing a framework for a more flexible system, the Publisher-Subscriber pattern can help you overcome some problems associated with object dependencies... 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
January 2001
Jean-Pierre Dube
Printing in Java, Part 3 Part 3 of our series on Java printing introduces you to the print framework. Working on top of the Java Print API, the framework will make printing pages much easier by providing such features as a print-preview facility, a portable page-setup dialog, and graphics primitives... 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 2, 2003
Jeff Friesen
Datastructures and algorithms, Part 1 After presenting basic datastructure and algorithm concepts, this article focuses on the array datastructure and associated algorithms. The article concludes with the assertion that Java's arrays are objects. mark for My Articles similar articles
JavaWorld
December 2002
Alex Blewitt
Sort it out A common requirement for applications that display lists or tables of data is the ability for users to sort those results. In this article, Alex Blewitt shows how to sort data in Java using the Comparable and Comparator interfaces, and how a generic bean-sorting utility sorts JavaBeans displayed in a graphical user interface. 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
June 2002
Dirk Laessig
Score big with JSR 77, the J2EE Management Specification The specification's core is based on the model of managed objects, explained in this article. JSR 77 also defines an Enterprise JavaBeans (EJB) component for easily accessing these managed objects. 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 2002
Letters to the Editor Which getResource() strategy should you use with an obfuscator? How do you use CachedRowSet with multiusers? Can you declare a type-safe collection in C#? 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
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
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
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
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 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
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
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