|
|
Page 1 of 32 articles
|
|
Comparing webapp frameworks : Struts
Struts is the grandaddy of Java webapp frameworks so it's fitting that we start our tour here. I think it's probably safe to say that Struts was the first model 2 (web MVC) framework to gain widespread adoption in the Java arena and to this day it's still used by many people.
|
An Introduction to using Jakarta Struts for Web Application Development
In the J2EE world, model components are implemented with EJBs while view components are implemented with JSPs. Struts is the missing link that provides the controller functionality that glues the components together while de coupling them from each other at the same time. The navigational control layer provided by Struts is extremely flexible as it requires a change only in the Struts configuration file and does not mandate that the whole application be recompiled. Struts has gained wide acceptance in the industry and, being open source, it encourages developers enterprise wide to use a reliable and tested framework instead of creating their own and producing "islands of obfuscating code" between development teams. Struts provides a standard and uniform way to create applications that are dynamic, reusable, and understandable. Struts applications can be conveniently adapted to any locale by creating message bundles thus avoiding exorbitant overheads and costs to make a successful world-wide application deployment.
|
Stepping through the Struts 1.1 Validator
With the Struts 1.1 release, developers have a new set of options to create their view objects, based around DynaBeans. See how DynaBeans (and the Struts implementation, Dynaforms) work.
|
Form Validation and Action Mapping
XDoclet is a tool worth considering when employing automated generation in your Struts development. Whether you work with Struts, see XDoclet's versatility firsthand.
|
Getting the Most Out of the Struts Tag Libraries
The popularity of JSP Custom Tags has been rapidly growing since they were first introduced in the JSP 1.1 specification. The Struts framework, which was introduced in 2000, includes a set of Tag libraries that are instrumental in harvesting the fruits of the Struts framework. This article looks at some of the ways to get more out of those tags and helps make sense out of a few of the more complicated tasks.
|
What's New In Struts 1.1
James Turner discusses what has changed and what is coming over the horizon as Struts enters the new world of JSTL and JSF.
|
|
|
Complete the MVC Puzzle with Struts
In this article, we’ll take a brief trip into the world of the Model-View-Controller (MVC) design pattern, and, in particular, we’ll look at how it is implemented using the Struts framework. We will start by describing the MVC pattern at a theoretical level, then move on to describe how we might ‘roll-our-own’ MVC framework. Once we’ve looked at this, we’ll describe Struts and show how this technology helps us quickly and simply build MVC-based Web applications.
|
Professional Jakarta Struts: Advanced Action Classes
This book chapter discusses the built-in Action classes that come with the Jakarta Struts Java development framework. Get a basic understanding of these actions and how to use them to make application design easier.
|
Using the Validator Framework with Struts
Like any good framework, the Validator provides a solid foundation from which you can extend or customize the behavior to fit your specific needs. The overriding benefit of using a framework like the Validator is that it has already been built, has been tested by many, and is being actively and successfully used. Don't reinvent the wheel when you don't have to; save your energy for solving your core business problem, not one that is peripheral to your core business.
|
Implementing Templates with Struts
The article covers some basic templating ideas in relation to portals, explains templating support in Struts, and rounds up with a discussion of Struts Template tags vs. Tiles, another templating mechanism.
|
|
Next>> |