You make some good comments. After using Struts for the better
part of a year, I am confident that it strikes a good balance between
function and complexity. When you use Struts, you are saying that
you want the Struts action Servlet to handle the plumbing between
HTTP requests and your Java Beans. It is a lot like using DDS in
an RPG program rather than calling the Dynamic Screen APIs.

As far as being to strict, we had some things we wanted to do
differently (store messages for the display) and simply extended
the Struts Class that provides that support. There are lots of hooks
built in so you have quite a bit of control over what you do. The
only limitation I ran into was related more to the HTTP protocol than
Struts. In that case I wanted to be able to redirect to a JSP page
without changing the URL. It may be possible to do that but I haven't
figured out how.

As far as being lightweight, I felt pretty productive after about three

months. And after about 8 months I am still learning but I feel I know

what to do in most cases. A lot of my time has been spent building
prototypes for our group. I think those prototypes helped them pick
up on Stuts more quickly. Overall, I think Struts is pretty close to
complexity of DDS and all of its options. In addition to Struts a good

working knowledge of Java, HTTP, JSP, and Servlets is helpful.

I guess I covered this, but Struts is a Servlet and builds on the
and JSP architectures from Sun. So you are right there is a lot of
overlap. One of the chief architects of Struts works for Sun and is
also one of Tomcat's chief architects. In general building a system
with EJBs is much more complex. Some tasks are simplified, but the
overall structure is much harder to develop.

David Morris

>>> 01/05/02 11:09AM >>>
From: "David Morris" <>
> To add to Joe's comments, a lot of the infrastructure is done
> if you are working in a Sevlet environment. We use an open-source
> framework called Struts (

The Struts link branches to a large number of resources.  I reviewed
FAQ, user's guide, java docs, and followed several of the resource

> Struts helps to enforce what Joe is talking about. Struts is
> to supply a Model - View - Controller (MVC).

Although I firmly believe in dividing interactive applications into
view, and controller components, I'm a little distrustful of frameworks
"enforce" it.  The interfaces supplied to enforce a particular design
translate to unforseen restrictions in the implentation of a
function.  Have you run into that problem with Struts?

> Overall, Struts is lightweight. If you need something more
> Expresso would be a good bet. Beyond this, you get into EJBs,
> which simplify some operations, but complicate the overall design.

There seems to be a huge difference between what ILE programmers and
programmers consider to be "lightweight".  I think I counted 185
classes in
the java doc.  Most classes exposed numerous constructors, properties,
methods.  I'd consider Struts to be a "huge" framework.

It looked like there was a great deal of overlap between Struts and
servlet, JSP, EJB framework already defined by Sun.  How do you decide
to use a Struts class vs. a standard Java class?

Nathan M. Andelin

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.