| Similar Articles |
 |
JavaWorld August 29, 2003 David Geary |
Follow the Chain of Responsibility The Chain of Responsibility (CoR) pattern decouples the sender and receiver of a request by interposing a chain of objects between them. This article discusses the CoR pattern and two implementations of that pattern in the Java APIs -- one from client-side Java and the other from server-side.  |
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.  |
JavaWorld May 2002 Steve Ditlinger |
Mix protocols transparently in Struts This article builds on the solution for transparently mixing HTTP and HTTPS protocols presented in "Mix Protocols Transparently in Web Applications", showing how to extend Struts to incorporate that solution...  |
JavaWorld November 14, 2003 David Geary |
JavaServer Faces, redux JavaServer Faces, poised to become the preeminent Java Web application framework, has undergone many changes since it was introduced as an early access release in September 2002. In this article, a JavaServer Faces expert group member David Geary explores JSF's EA4 release.  |
JavaWorld November 2002 David Geary |
A first look at JavaServer Faces, Part 1 JavaServer Faces, with a well-defined request processing lifecycle and a rich component hierarchy, will profoundly affect the development of Java 2 Platform, Enterprise Edition (J2EE) applications. Part 1 of this series introduces JavaServer Faces and explores its fundamental concepts.  |
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 February 2002 Steve Ditlinger |
Mix protocols transparently in Web applications To maintain the security of sensitive data as it travels over the Internet to or from the browser, Web applications often rely on Secure Sockets Layer. The secure Webpages and processes that transmit sensitive data utilize HTTP over SSL (HTTPS) rather than the usual HTTP. Integrating SSL into a Web application should prove seamless and simple to implement as well as maintain. This article explores typical SSL implementations and develops an SSL solution using the J2EE servlet redirect mechanism to protect sensitive data transmission. It also develops an overall solution combining JavaServer Pages custom tags and an application-specific servlet base class.  |
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...  |
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 April 18, 2003 Coen & Nanduri |
Jump the hurdles of Struts development Building and maintaining enterprise applications is very difficult. Designing elegant and easily maintainable user interfaces for these applications can be the most daunting task of all.  |
JavaWorld December 2002 Ben Hui |
Big designs for small devices This article describes four design patterns, Cascading Menu, Wizard Dialog, Pagination, and Slide Show, which make interactive content creation for mobile devices with J2ME easier. These design patterns are simple to understand and apply to your projects.  |
JavaWorld February 2002 Julien Mercay & Gilbert Bouzeid |
Boost Struts with XSLT and XML Struts is an innovative server-side Java framework designed to build Web applications. This article introduces the processing model underlying Struts, describes the Struts framework itself, and presents Model 2X, which enhances Struts...  |
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.  |
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...  |
New Architect January 2003 Paul Sholtz |
Instant Update Making your data and spreadsheets Web viewable through MVC: The Model-View-Controller (MVC) pattern is an established and well-understood software design method.  |
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 August 2000 Simon Brown |
Encapsulate reusable functionality in JSP tags JavaServer Pages (JSP) are a great mechanism for delivering dynamic Web-based content. This article will show how easy it is to build, deploy, and use your own custom JSP tag, using the Servlet/JSP reference implementation, Tomcat.  |
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 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 October 2001 Ilirjan Ostrovica |
Facilitate form processing with the Form Processing API 2.0 This introduction to the Form Processing API's newest version explores its most significant improvements: form design in XML format, support for clients other than HTML, enhanced support for various presentation techniques, and validation in field groups. He illustrates those features through an application example implemented with two different presentation techniques -- JSP and XML-XSLT-HTML in a Servlet 2.3 filter.  |
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 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 July 25, 2003 Dustin Marx |
More JSP best practices Advancements in the JavaServer Pages specification have eased the development of highly maintainable and standardized JSP-based Web applications. This article discusses key advancements and how each of them enables easier development of robust JSP Web applications.  |
Linux Journal July 2001 Reuven M. Lerner |
Custom JSP Actions Learning shorthand for complicated Java code....  |
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 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 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 December 2000 Thor Kristmundsson |
Strut your stuff with JSP tags Learn how to use the custom tags from the open source Struts library and create extensions that ease the coding of properties associated with field values and user input validation...  |
JavaWorld June 2000 Thomas E. Davis |
Use Microsoft's Internet Information Server as a Java servlet engine Are you a Java fanatic trapped in a Microsoft-only shop? Using just Microsoft's Internet Information Server and pure Java, you can run Java servlets without the help of any third-party products.  |
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 March 2001 Jeremy Roschelle |
Doclet your servlet! In many projects, some team members will write servlets while other team members write the Webpages that invoke those servlets. So how can a servlet coder easily produce documentation for a Web designer?  |
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 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 August 2001 Bin Yang |
E++: A pattern language for J2EE applications, Part 2 E++, a pattern-based Java 2, Enterprise Edition application framework, promotes modularity, reusability, extensibility, portability, inversion of control, consistence, and scalability. The framework architecture captures reusable patterns and design experiences on the J2EE platform...  |
JavaWorld May 23, 2003 Andrei Cioroianu |
Call JavaBean methods from JSP 2.0 pages JavaServer Pages (JSP) 2.0 introduced many new features that will change the way you develop Java Web applications. This article walks you through three examples that show how to separate the JSP/HTML markup from the Java code using the new expression language (EL) and developing custom tags with dynamic attributes.  |
JavaWorld January 2001 Jason Hunter |
Servlet 2.3: New features exposed In October 2000, Sun released the 'Proposed Final Draft' specification for Servlet API 2.3. This article explains the differences between Servlet API 2.2 and 2.3, discusses the reasons for the changes, and shows you how to write servlets (and now filters!) using 2.3...  |
JavaWorld January 2001 Milan Adamovic |
Process JSPs effectively with JavaBeans The JavaServer Pages Model II concept is well known. The basic idea is that the presentation should be separated from the processing code. This article offers an effective, reusable design for moving the dynamic content, processing, and validation from a JavaServer Page to a corresponding JavaBean...  |
JavaWorld November 2001 Dustin Marx |
JSP best practices This article discusses simple approaches and best practices that, when used correctly, facilitate JavaServer Pages (JSPs) development. These tips ensure reusable and easily maintainable JSPs, JSPs that allow developers to focus on their programming strengths...  |
JavaWorld August 29, 2003 |
Letters to the Editor JavaWorld authors discuss byte code encryption; jEdit's attractive features; method synchronization; and more.  |
JavaWorld June 2001 Jason Hunter |
Filter code with Servlet 2.3 model An in-depth look at the new servlet filter model with an examination of several freely available filters. You'll learn how these filters work and what you can do with them...  |
JavaWorld December 2001 |
Letters to the Editor In this month's letters, David Geary expounds further on the Decorator pattern, Humphrey Sheil defends EJB performance, and Jeff Friesen talks more trash...  |
JavaWorld March 2003 Jason Hunter |
Servlet 2.4: What's in store On March 7, 2003, Sun Microsystems released the "Proposed Final Draft 2" specification for Servlet 2.4. This article explains the differences between Servlet 2.3 and 2.4, discusses the reasons for the changes, and explains how you can take advantage of the new features in 2.4.  |
JavaWorld November 2000 Thomas E. Davis, Craig Walker |
Take control of the servlet environment, Part 1 The ever-popular servlet cleanly and simply develops and deploys Web-based applications. However, although Java is platform independent, the Web as a whole is not. The language and the servlet API do not provide such niceties as optional session-persistence schemas (i.e., store in memory, in a database, or in a cookie), and they don't easily accommodate ad hoc solutions to shortcomings in cookie handling. To handle such issues, Thomas Davis and Craig Walker have developed an unobtrusive framework, an invisible layer between your servlets and the servlet engine, that gives you greater control over the environment.  |
JavaWorld April 2001 Bin Yang |
E++: A pattern language for J2EE applications, Part 1 E++, an Alexandrian pattern language, describes the process for creating a J2EE framework. Compared with a loose pattern collection, E++ provides rules for design patterns to work together in solving a set of related problems...  |
JavaWorld April 2002 |
Letters to the Editor How does PreparedStatement perform? How do you compile Java code dynamically? Does ChainedException preserve the original exception? How do you combine a sorting Decorator with a filtering Decorator? JavaWorld authors answer these questions and more...  |
JavaWorld January 2001 Vincent DiBartolo |
FreeMarker: An open alternative to JSP You can place FreeMarker tags in text files of any format and are not married to any server-side architecture or solution. FreeMarker is easily extensible, and you can quickly build a library of reusable custom objects that will live longer than the technology solutions that utilize them...  |
JavaWorld February 2002 |
Letters to the Editor Readers and authors debate the fine points of programming languages, the security of redirecting to HTTPS, whether you should sacrifice performance for reusability in JSP (JavaServer Pages) development, and the benefits of templates over JSPs...  |
JavaWorld April 25, 2003 |
Letters to the Editor JavaWorld authors discuss the advantages of a JavaServer Pages-based communication layer, the Subscriber Identity Module, the Cascading Menu pattern, and more.  |
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.  |
D-Lib Nov/Dec 2009 Cristina & Daniel Tofan |
A Low Cost, Low Memory Footprint, SQL and Servlet-based Solution for Searching Archived Images and Documents in Digital Collections A simple, elegant solution to digitizing special collections documents to meet the needs of the institution without additional monetary commitments.  |