Similar Articles |
|
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 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 June 2002 David Geary |
Take command of your software How to use the Command pattern both in client-side Java to attach application-specific behavior to Swing menu items and in server-side Java to implement application-specific behavior with the Apache Struts application framework. |
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 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 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 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 2001 David Geary |
Decorate your Java code The Decorator design pattern lets you attach responsibilities to objects at runtime. This pattern proves more flexible than inheritance, which is static... |
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 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 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 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 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 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 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 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 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 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 July 2002 Rinaldo Di Giorgio |
Serve clients' specific protocol requirements with Brazil, Part 6 This article demonstrates how to use the following technologies with the Brazil toolkit: Jini, BeanShell, and the Java API for XML Messaging (JAXM), Xalan-Java, servlets, Velocity, and LDAP. It also discusses the larger purpose of this series: to demonstrate how to use Brazil to support new technologies and APIs in ways that API developers might not have considered. |
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 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 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 May 2002 John Chamberlain |
Master J2ME for live data delivery The biggest challenge in building J2ME applications is creating a workable architecture that can span the wide range of wireless devices and protocols. This is especially true of applications that need to push live data to the client. This article explains some key design points... |
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... |
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 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 |
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 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 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? |
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 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 January 2001 Thomas E. Davis & Craig Walker |
Take control of the servlet environment, Part 3 Browser cookies are wolves in sheep's clothing. Developers use these incredibly simple and useful mechanisms to create Web-based applications that rely on the persistence of sessions. However, cookies feature an odd little problem in relation to subdomains... |
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 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 March 2001 Sonal Bansal & Gaurav Pal |
Deliver cellular messages with SMS The growth in mobile communication devices has fueled demand for Internet-enabled services that those devices can readily access. This article details a practical server-side Java-based push solution that can provide information services to cell phones via SMS... |
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. |
JavaWorld May 2002 Nik Silver |
Jtrix: Web services beyond SOAP This article describes Jtrix, an open source Web services platform for secure, roving applications. It examines the limits of existing standards, Jtrix's core model, and how Jtrix enables you to create Web services in such areas as hosting, disk space, and CPU time... |
JavaWorld July 2000 Mario Apicella |
Secant keeps Web servers responsive Secant's Extreme Internet Server 3.5 Web server guarantees Website reliability by offering dynamic load balancing across multiple Java servlet and JSP engines. Although it lacks support for some popular scripting languages, it could be the answer to your Web server prayers. |