| Similar Articles |
 |
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 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 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 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 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.  |
Linux Journal July 2001 Reuven M. Lerner |
Custom JSP Actions Learning shorthand for complicated Java code....  |
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.  |
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 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 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 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 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 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 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 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 June 2001 Todd Bowker |
Superior app management with JMX Ever heard of JMX? If you think it's just a sideline framework, think again. Java Management Extensions (JMX) is becoming a core part of application development and management. Read on for an introduction to JMX, followed by a hands-on example for using it with JSP...  |
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 February 2002 Victor Okunev |
Generate JavaBean classes dynamically with XSLT For some projects, you need a more flexible business object structure. This article lays a foundation for a simple framework to build truly adaptive systems, saving you hours of routine programming...  |
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 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 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 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 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.  |
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 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 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 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 August 29, 2003 |
Letters to the Editor JavaWorld authors discuss byte code encryption; jEdit's attractive features; method synchronization; and more.  |
JavaWorld January 2002 Yuan & Long |
Build database-powered mobile applications on the Java platform This article explains how to create mobile database applications using the Java 2 Platform, Micro Edition/Mobile Information Device Profile (J2ME/MIDP) and the Java 2 Platform, Enterprise Edition (J2EE). The authors introduce an architecture that uses JavaServer Pages (JSPs) as middleware between a MIDP frontend and a database backend. They also explain specific design decisions and implementation issues, such as persistent storage, network connection, session management, and data communication. Their discussion focuses on the integration between the client and server-side Java applications.  |
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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 September 2000 David Geary |
JSP templates This article presents a template mechanism for JSP that allows layout to be encapsulated and reused. JSP templates minimize the impact of layout changes and encourage modular design...  |
JavaWorld October 2002 Abulsorour & Visveswaran |
Business process automation made easy with Java, Part 2 Design options for rule engine integration, data synchronization considerations, workflow engine integration, and some best-practice quality-of-service considerations. Also, emerging data interchange standards that enable a more flexible solution  |
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?  |
Linux Journal November 2001 Michael Yuan |
Linux in Education: Implementing a Research Knowledge Base Keeping up with large volumes of research requires a system both flexible and intuitive...  |
JavaWorld November 2000 Brett McLaughlin |
Validation with Java and XML schema, Part 3 Taking validation beyond simple if-then-else structures, XML schemas can provide a better way to validate data in Java applications. You'll learn to parse the XML schema, build up Java representations of the schema's constraints, and apply those constraints to an application's data...  |
D-Lib Jul/Aug 2002 Mairead Martin |
Federated Digital Rights Management A proposed drm solution for research and education.  |