|
|
Server-side Java: Internationalize JSP-based Websites
Merchants can no longer afford to have English-only versions of
their ecommerce sites. Every Web surfer turned away by a site's
English-centric nature is a potential customer lost. Consequently,
the issue of internationalizing Websites has become a fairly hot
topic in recent months. In this article, Govind Seshadri discusses
the development of global JSP pages. By making use of certain
classes provided by the Java 2 Software Development Kit (SDK), you
can develop Web applications that can dynamically change their
display, thus adapting themselves to different languages and
countries where they may be viewed. This article assumes the reader
is familiar with the fundamentals of JSP programming. (3,000
words)
Govind Seshadri,
March 2000
Server-Side Java: Using XML and JSP together
XML and JSP are two of the hottest buzzwords these days. This
article shows how you can use these two technologies together to
make a dynamic Website. You also get a look at code examples for
DOM, XPath, XSL, and other Java-XML techniques.
Alex Chaffee,
March 2000
Server-side Java: Patterns for flexible initialization, Part 2
Java reflection is a great tool for decoupling implementation
detail between application subsystems. In Part 2 of this series on
patterns for system initialization, a general setup target pattern
uses reflection to call the proper launcher method, named in a
configuration file.
Lennart Jorelid,
March 2000
Server-side Java: Advanced form processing using JSP
Processing HTML forms using servlets, or more often, CGI scripts,
is one of the most common operations performed on the Web today.
However, that JavaServer Pages (JSPs) can play a significant role
in sophisticated form processing is a little-known secret. In
certain instances, JSP even excels the capabilities of servlets and
Perl scripts in handling HTML forms. In this article, Govind
examines the processing of a user registration form using JSP and
JavaBeans while implementing the Memento design pattern. It is
assumed that the reader is familiar with basic JSP syntax.
Govind Seshadri,
March 2000
Server-side Java: Patterns for flexible initialization, Part 1
Java reflection is a great tool for decoupling implementation
detail between application subsystems. In this first article on
patterns for system initialization, Lennart Jorelid shows you
how a general ObjectFactory uses reflection to
instantiate an object of a class named in a configuration file. By
using reflection for parameter-type inspection, any existing
constructor in the target class may be called to instantiate the
target object. (2,500 words)
Lennart Jorelid,
March 2000
Server-side Java: Use JDBC for industrial-strength performance, Part 2
Although you can create complex applications using the simple and
easy-to-use design patterns of the JDBC API, you may gain better
performance by allowing a single statement to return multiple
ResultSets. In this article, Lennart Jorelid
explores the methods of using batch-oriented techniques to acquire
multiple ResultSet objects. (2,000 words)
Lennart Jorelid,
February 2000
Server-side Java: Build distributed applications with Java and XML
XML is a popular way to represent data in a portable,
vendor-neutral, readable format. But what if you need to send XML
data across a process boundary in a distributed application? Bruce
Martin examines three approaches to accomplishing that in Java.
(3,000 words)
Bruce Martin,
February 2000
Server-side Java: Use JDBC for industrial-strength performance, Part 1
The JDBC API provides three principal methods for calling a
database to extract information. System performance and ease of
maintenance depend on the usage scenario you choose. Integrating a
Java server application with a legacy database system is a
nontrivial task; evaluating system-usage scenarios and server-side
patterns is important for creating fast, robust application
systems. By using better server-side Java patterns for data mining,
you can lighten the burden on system data storage. In this first
article in a series, Lennart Jörelid discusses server-side
Java patterns with JDBC. The reader is assumed to be familiar with
the JDBC API. (3,000 words)
Lennart Jorelid,
January 2000
Server-side Java: Counting tiers - one, two, or n?
One, two, three, or more: how many tiers does your architecture
need? In this article, Alex Chaffee discusses the advantages and
disadvantages of each level of tiered architecture. Avoid blindly
buying into the hype and choosing an architecture based on product
fact sheets; Alex gives you concrete facts that help you cut
through the buzzwords and choose the right
architecture for the job. (3,600 words)
Alex Chaffee,
January 2000
Server-side Java: Create forward-compatible beans in EJB, Part 2
In the first part of this series, Richard Monson-Haefel covered the
environment-naming context and implementation of an abstraction
that hides the differences between EJB 1.0 and EJB 1.1 when
accessing bean properties, Java Database Connectivity (JDBC), and
other beans. This second installment addresses security issues,
changes specific to entity beans, and changes to the deployment
descriptor. (3,200 words)
Richard Monson-haefel,
January 2000
Create forward-compatible beans in EJB, Part 1
Enterprise JavaBeans has undergone several changes in its new 1.1
version. Many of the changes hinder the forward compatibility of
beans originally developed for EJB 1.0 containers. In other words,
beans developed for EJB 1.0 will not work in EJB 1.1 containers.
This article is the first in a two-part series that provides
strategies to ease such forward compatibility and ensure that your
beans port smoothly to the EJB 1.1 platform. (2,700 words)
Richard Monson-haefel,
December 1999
Understanding JavaServer Pages Model 2 architecture
By developing a familiar Web-based shopping cart, you'll learn how
to utilize the Model-View-Controller (MVC) design pattern and truly
separate presentation from content when using JavaServer Pages.
Govind Seshadri shows you out how easy it can be. (2,000
words)
Govind Seshadri,
December 1999
Welcome to the server-side Java series
Are you jumping onto the server-side Java bandwagon and not 100
percent sure that you should be? The software gurus at the MageLang
Institute's jGuru.com are introducing a new JavaWorld
section on server-side Java computing. Read on to find out what's
in store. (500 words)
John Zukowski,
December 1999