| 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...  |
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.  |
JavaWorld September 2000 Frank Sommers |
Activatable Jini services, Part 1: Implement RMI activation Jini services must be long-lived and resilient, and must efficiently manage their computational resources with little user intervention. This article shows how to use RMI activation to manage computational resources and increase the availability of Jini services...  |
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...  |
JavaWorld July 2001 Tarak Modi |
Clean up your wire protocol with SOAP, Part 4 Here's a framework based on the dynamic proxy classes in the Java 2 Platform, Version 1.3. This framework will make creating SOAP clients just as easy and intuitive as creating SOAP services...  |
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...  |
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...  |
JavaWorld December 19, 2003 Frank Sommers |
Call on extensible RMI Remote Method Invocation (RMI) has become a standard communication mechanism between remote Java objects. The latest RMI framework, Jini Extensible Remote Invocation features a powerful, highly configurable RMI security mechanism.  |
JavaWorld September 2000 Tony Loton |
The smart approach to distributed performance monitoring with Java Smart stubs provide a lightweight, noninvasive mechanism for distributed performance monitoring and performance improvement through local caching. Although present in many commercial CORBA object request brokers, smart stubs are not standard in RMI or Java IDL. Read on to find out what you've been missing.  |
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...  |
JavaWorld October 3, 2003 Dawid Weiss |
Discover new dimensions of scripted Java This article presents an extension to BeanShell that turns scripts into real Java classes that support inheritance, Java reflection, method overriding, and so on. The extension is designed to be fully transparent to the Java application using it.  |
JavaWorld November 2000 Jeremy Blosser |
Explore the Dynamic Proxy API In Java 1.3, Sun introduced the Dynamic Proxy API, which can basically mimic any interface. Add that to an abstract data model, and you can conform any loosely typed data to a strongly typed interface. This article discusses some of the Dynamic Proxy API's many benefits...  |
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...  |
JavaWorld August 2002 Tarak Modi |
J2SE 1.4 breathes new life into the CORBA community, Part 1 The new CORBA features in J2SE (Java 2 Platform, Standard Edition) 1.4, and how you can use them to create highly scalable and robust applications. Includes a brief tutorial on creating a simple CORBA-based application using J2SE 1.4.  |
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...  |
JavaWorld March 2001 Jeffrey Peden |
Browse user interfaces for Jini services The ServiceUI specification developed by the Jini.org community defines a suggested procedure for attaching user interfaces to Jini services...  |
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...  |
JavaWorld December 2000 Martijn Res |
Reduce EJB network traffic with astral clones Because of the numerous remote set methods that have to be called when working with EJBs, even the simplest data-entry screens produce performance problems. Working with a client-side astral clone of a bean implementation provides an elegant and nearly transparent approach to resolve these problems...  |
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...  |
JavaWorld October 2000 Frank Sommers |
Activatable Jini services, Part 2: Patterns of use This article concentrates on the consequences of activation in the Jini context. Sommers exponds on the issue of deactivating objects, then considers the implications of deactivation for well-designed Jini services and how the Jini helper services introduced in the 1.1 beta version of the JSK can contribute...  |
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...  |
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...  |
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.  |
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...  |
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.  |
JavaWorld October 2001 |
Java 101 study hall Brush up on Java terms, learn tips and cautions, and enter the first Java 101 reader challenge  |
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.  |
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...  |
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...  |
JavaWorld April 2001 Kelly Davis & Robert Di Marco |
Manage distributed sessions Using RMI and the Proxy API introduced in JDK 1.3, this article describes a technique that allows one or more servlet servers to maintain session information on one or more session servers. By adopting this architecture, no single point of failure will exist for session management...  |
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...  |
JavaWorld April 2001 Nate Sammons |
Robust event logging with Syslog Because event logging is often an afterthought, Java developers often ignore this task while programming. However, logging allows developers to instrument their code so the operations staff can deal with any problems that arise...  |
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...  |
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.  |
JavaWorld February 2002 Anders Eliasson |
Implement Design by Contract for Java using dynamic proxies The Design by Contract (DBC) theory can dramatically raise software quality and reusability levels by forcing you to think in terms of contracts. Contracts formally specify the responsibility relationship between a client (class user) and a supplier (class). Additionally, DBC clearly separates specification (what) from implementation (how). This article explains DBC's importance in object-oriented development and describes a DBCProxy framework that achieves DBC transparently in Java using dynamic proxy classes.  |
JavaWorld November 2001 Bishop & Warren |
Jini-like discovery for RMI Not yet on the Jini bandwagon? Despite its powerful mechanisms, Jini has yet to be accepted in mainstream Java development. Until that happens, developers need to find better Remote Method Invocation (RMI) solutions. This article walks you through a Jini-like discovery mechanism for your RMI development.  |
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...  |
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...  |
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)...  |
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...  |
JavaWorld December 2000 Jeremy Roschelle |
Untangle your servlet code with reflection You can enlist the Reflection API to unravel an all-too-common problem in servlet development: doGet() and doPost() methods that grow long, complex, and hard to extend and debug. The use of reflection described here is fairly lightweight...  |
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...  |
JavaWorld March 2002 |
Letters to the Editor JavaWorld readers warn about synchronization; present a Servlet 2.2-compliant solution for mixing protocols in Web apps; suggest using the Data Object Access design pattern with the Value Object design pattern... etc.  |
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...  |
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...  |
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...  |
JavaWorld December 2000 Thomas E. Davis, Craig Walker |
Take control of the servlet environment, Part 2 Implement a wrapper that gives you greater control over session management. Session state can be stored in the browser, in the server's memory, or in the database. You can have all three solutions at your fingertips, painlessly interchangeable...  |
JavaWorld August 2002 |
Letters to the Editor How do you handle an invalid service on the client side? Can TRMI (Transparent Remote Method Invocation) help with serializable objects? How does JAR work with third-party libraries? JavaWorld authors answer those questions and more.  |
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...  |
JavaWorld January 2001 Wm. Paul Rogers |
Thanks type and gentle class Confusing the concepts of object and class deserves an askance look. Failing to distinguish between type and class, however, typically goes unnoticed. Yet the battle to separate implementation and interface concerns requires type-oriented thinking...  |