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. |
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. |
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. |
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. |
JavaWorld December 5, 2003 Borislav Iordanov |
Dynamic server includes with local runtime context This article shows how to achieve true black-box reuse of frontend logic in the form of JSP pages or Java servlets, by wrapping the servlet request object and effectively creating a local runtime context for an included resource. |
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 October 2001 Michael Ball |
Dispatcher eases workflow implementation This article explains how to use an Extensible Stylesheet Language (XSL)-based application employing the Dispatcher design pattern to create simple workflows and a reusable API... |
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 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 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... |
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 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... |
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. |
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 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... |
JavaWorld February 2001 Steven Gould |
Servlets in Apache Tomcat and BEA Systems' WebLogic Server This article reviews the steps involved in developing servlets, then describes how to take the servlet and create a Web application -- in both expanded format and as a WAR. He illustrates how to deploy the Web application in Apache Tomcat -- a widely used, freeware servlet container... |
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 October 2002 Tarak Modi |
J2SE 1.4 breathes new life into the CORBA community, Part 3 This hands-on article shows you how to use the Portable Object Adapter to create enterprise-level applications. |
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... |
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 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 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... |
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 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 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 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 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 June 2001 Brian R.J. Heumann |
Personalize your Website with skins You can give your users control over your Website's look and feel by exploiting user profiles and factoring out key visual design elements into skins. This article demonstrates a basic skin server and shows how you can use that server to begin personalizing your JSP-based Website. (1,000 words) |
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 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 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... |
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... |
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. |
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. |
D-Lib Jan/Feb 2010 Reilly & Tupelo-Schneck |
Digital Object Repository Server: A Component of the Digital Object Architecture This paper introduces the Digital Object Repository Server, the most recent instantiation of the Corporation for National Research Initiatives' repository work. |
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. |
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 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 September 2001 Kevin Pauli |
Pattern your way to automated regression testing In complex systems, the results of one unit test can alter the expected results of another. By applying well-established design patterns to your architecture, you can seamlessly unit test code that accesses databases... |
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... |
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 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... |
D-Lib Jul/Aug 2000 Thornton Staples & Ross Wayland |
Virginia Dons FEDORA: A Prototype for a Digital Object Repository After shopping for a digital library system unsuccessfully, in 1999 we created a digital library research and development group and set about creating the system that we need. |
JavaWorld February 2003 Steve Small |
JSP Standard Tag Library eases Webpage development The release of JavaServer Pages Standard Tag Library is a significant development for JSP/servlet developers. With an expression language and a set of four powerful, easy-to-learn standard tag libraries, JSTL is likely to soon become the dominant approach for implementing dynamic, Java-based Websites. |
JavaWorld December 2001 Geir Magnusson Jr. |
Start up the Velocity Template Engine The Velocity Template Engine lets you render data from within applications and servlets. This article introduces the Velocity Template Language (VTL) and provides examples of how to use the Velocity engine, including how to generate Web content in a Java servlet environment... |
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 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. |
D-Lib May/Jun 2007 Saidis & Delis |
Type-consistent Digital Objects This article provides an overview of the Digital Object Prototype framework and highlights its type-conformance capabilities and shows how heterogeneous digital material can be treated in a uniform manner without resorting to custom developments. |
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... |
JavaWorld September 2002 David Geary |
A look at the Composite design pattern The Composite design pattern lets you treat primitive and composite objects exactly the same. This article explores how to implement the Composite pattern and how to use it with the Tiles tag library from the Apache Struts application framework. |