| 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 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 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.  |
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 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 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 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 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 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 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 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 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 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 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 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 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 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 March 2002 Dennis M. Sosnoski |
XML documents on the run, Part 2 Frameworks for event-driven programming simplify working with complex document structures in SAX2 (Simple API for XML). This article extends the handling approach introduced in Part 1 by making it fully modular and easily extensible for nested document components...  |
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 August 2001 Rinaldo Di Giorgio |
Serve clients' specific protocol requirements with Brazil, Part 5 How to use Brazil to process content from diverse Websites, tailor the content to reflect a user's desires, and provide the content as a Web service -- and how to use Brazil to integrate new technologies with legacy Web applications that aren't XML-enabled...  |
Linux Journal July 2001 Reuven M. Lerner |
Custom JSP Actions Learning shorthand for complicated Java code....  |
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 February 2002 Dennis M. Sosnoski |
XML documents on the run, Part 1 Event-driven XML document processing with SAX (Simple API for XML) and SAX2 can greatly improve performance and can avoid document size limits associated with in-memory representations such as DOM (Document Object Model) or JDOM...  |
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 19, 2003 Brian Connolly |
Client quality reporting for J2EE Web services This article implements a general-purpose architecture for recording client response times for J2EE Web services. The sample implementation was built using the Sun ONE Application Server and IDE, but the general approach can be easily adapted to other J2EE implementations.  |
JavaWorld March 2001 Michael C. Daconta |
Dodge the traps hiding in the URLConnection class This article focuses on problems with posting to an HTTP URL and the bane of new Java programmers, the NoClassDefFoundError...  |
JavaWorld April 25, 2003 Anthony Karre |
A do-it-yourself framework for grid computing Large-scale grid computing frameworks can be successfully used to build computational grid infrastructures, but their sophistication can also be a barrier for software designers experimenting with entry-level grid computing.  |
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 December 2000 Michael C. Daconta |
When Runtime.exec() won't This installment of Java Traps discusses one new pitfall and revisits another from the previous column. Originating in the java.lang package, the pitfall specifically involves problems with the Runtime.exec() method.  |
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 July 2002 Nelson Minar |
Test networked code the easy way Networked code proves difficult to test thoroughly because test suites work best as standalone processes unreliant on other servers. In this article, the author describes two techniques for unit testing network code.  |
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 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 August 2000 Samudra Gupta |
JDK 1.2 breaks the Java sound barrier This article shows how to implement high-quality audio formats through applets and presents the communication possibilities between JavaScript and Java 2 applets...  |
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 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.  |
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 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 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 June 2000 Paul Corazza |
Using the if-then-else framework, Part 3 In this final part of a three-part series, Paul Corazza analyzes the if-then-else framework's performance and shows you how to optimize algorithms and implementation choices and minimize the risks involved in using the framework in larger-scale projects. The final product is a sleek, industry-ready upgrade of the prototype presented in previous articles, complete with new user options, a performance test harness, and automated safety features capable of handling thousands of conditions and rules.  |
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 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...  |
JavaWorld May 2000 Michael T. Nygard & Tracie Karsjens |
Test infect your Enterprise JavaBeans Software can never be tested sufficiently, and testing usually starts too late, particularly for J2EE applications. This article presents unit testing techniques and how to apply unit testing to Enterprise JavaBeans (EJBs).  |
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 July 2000 Patrick Sean Neville |
Crafting Metadata Like a classic plot retold in a new setting, software applications have extended lifetimes when decoupled from their contextual details. This article exposes how traditional configuration files, XML-based properties, and cryptography help keep such details out of code.  |
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.  |
JavaWorld October 2000 Robert Hustead |
Mapping XML to Java, Part 2 This article develops a SAX API-based class library that is easily extended to create XML-to-Java mapping code. First, we explore the important ideas that drive the need for the class library. Then we develop a basic approach for implementing the library as well as a few samples that demonstrate some more advanced topics on parsing XML with the SAX API...  |
JavaWorld December 2001 David Geary |
Web application components made easy with Composite View If you want to develop flexible and reusable JSP-based Web applications, you must separate presentation logic from business logic. Beyond that, you can extend that flexibility and reusability by separating content from layout...  |
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 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...  |