Re: Reasons for using Struts

2003-09-28 Thread Christian Bollmeyer
Am Samstag, 27. September 2003 06:53 schrieb Martin Gainty:

To sum it up in short, as this issue has already been
dicussed numerous times, and considering you've already
been given the appropriate links: the actual question would
be whether to use an MVC approach or not. So it's about
architecture, not implementation. And then, it makes very
much sense to use the MVC design pattern for your web
applications. It's not necessary to use Struts in particular,
you could also use another framework or code your own.
Struts itself uses an action-driven approach and is closely
tied to the request-response model of HTTP. Other solutions,
like Jakarta Tapestry or Apple WebObjects, for example,
are event-driven and emphasize more on (abstract) OO
design concepts. As always, both approaches have certain
advantages and disadvantages. It's a matter of choice how
to deal best with the web tier, after all, and note that the
problem domain is limited to that issue in all cases.
Then, if you think the action approach is the better
solution for your everyday work (which most developers
I know of do, too), it would be really hard to code
something as powerful and flexible as Struts on
your own. In theory, you could roll your own web
framework, of course, using plain JSPs and Servlets,
if you like, but the real question behind all this is
primarily an architectural decision. It would be
quite hard to come up with something better than
the MVC2 idiom or 'beat' the now time-tested
and widely accepted Struts framework in this
direction.

-- Chris
 
 What are the reasons for using Struts?
 That is what are the Reasons for which Struts would be a more
 suitable choice than say plain JSP/Servlet?

 Thanks,

 Martin


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Reasons for using Struts

2003-09-28 Thread Ted Husted
Martin Gainty wrote:
 What are the reasons for using Struts?
 That is what are the Reasons for which Struts would be a more suitable
 choice than say plain JSP/Servlet?
In terms of to Model 2 or not to Model 2, here are some oldies but goodies:

http://www.servlets.com/soapbox/problems-jsp.html

http://www.javaworld.com/javaworld/jw-12-1999/jw-12-ssj-jspmvc.html

It's really a question of whether you're writing a simple throwaway 
application or a complex enterprise application that needs to maintained 
over time. Or, to use a simile, do you need a Walkman or a surround 
sound stereo system?

As mentioned, there are several MVC/Model 2 frameworks. There's a nice 
round up here:

http://barracudamvc.org/Barracuda/docs/landscape.html

And there is also the WAFER project:

http://www.waferproject.org/index.html

-Ted.



--
Ted Husted,
  Junit in Action  - http://www.manning.com/massol/,
  Struts in Action - http://husted.com/struts/book.html,
  JSP Site Design  - http://www.amazon.com/exec/obidos/ISBN=1861005512.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Reasons for using Struts

2003-09-28 Thread Martin Gainty
My ultimate goal is to explore reasons to re-architect existing JSP/Servlet
to MVC (Struts)
One of the issues the current site is experiencing is poor performance
I will check out the links supplied here
Many thanks to Christian and Ted for their insight into MVC

Thanks,
Vielen Dank,

Martin
- Original Message - 
From: Ted Husted [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Sunday, September 28, 2003 8:08 AM
Subject: Re: Reasons for using Struts


 Martin Gainty wrote:
   What are the reasons for using Struts?
   That is what are the Reasons for which Struts would be a more suitable
   choice than say plain JSP/Servlet?

 In terms of to Model 2 or not to Model 2, here are some oldies but
goodies:

 http://www.servlets.com/soapbox/problems-jsp.html

 http://www.javaworld.com/javaworld/jw-12-1999/jw-12-ssj-jspmvc.html

 It's really a question of whether you're writing a simple throwaway
 application or a complex enterprise application that needs to maintained
 over time. Or, to use a simile, do you need a Walkman or a surround
 sound stereo system?

 As mentioned, there are several MVC/Model 2 frameworks. There's a nice
 round up here:

 http://barracudamvc.org/Barracuda/docs/landscape.html

 And there is also the WAFER project:

 http://www.waferproject.org/index.html

 -Ted.



 -- 
 Ted Husted,
Junit in Action  - http://www.manning.com/massol/,
Struts in Action - http://husted.com/struts/book.html,
JSP Site Design  - http://www.amazon.com/exec/obidos/ISBN=1861005512.



 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Reasons for using Struts

2003-09-28 Thread Steve Armstrong
Hi,

This is a good place to start:

http://nagoya.apache.org/wiki/apachewiki.cgi?StrutsBenefits

Cheers,
-Steve

-Original Message-
From: Martin Gainty [mailto:[EMAIL PROTECTED]
Sent: Saturday, September 27, 2003 12:53 AM
To: [EMAIL PROTECTED]
Subject: Reasons for using Struts


What are the reasons for using Struts?
That is what are the Reasons for which Struts would be a more suitable
choice than say plain JSP/Servlet?

Thanks,

Martin


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Reasons for using Struts

2003-09-28 Thread Bryan Hanks
I use it because it is much easier to maintain. 

If the front-end (JSP) needs to be updated only,
I can do that without accidentally messing with
the underlying business logic.

Conversely, if the business rules change (and
they always do...), I can change them without
worrying about having to change the front end.

Recently, It Was Decided that we would all move
to MS-SQL as the standard DB. This will be 
relatively easy, because the DB-accessing code
is isolated from the display and control.

Cheers,
Bryan

-Original Message-
From: Martin Gainty [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 26, 2003 11:53 PM
To: [EMAIL PROTECTED]
Subject: Reasons for using Struts


What are the reasons for using Struts?
That is what are the Reasons for which Struts would be a more suitable
choice than say plain JSP/Servlet?

Thanks,

Martin


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Reasons for using Struts

2003-09-28 Thread Martin Gainty
Agreed..modifying one layer while leaving the others in a reliable state is
well worth the refactoring effort..
Thanks,
-Martin

- Original Message - 
From: Bryan Hanks [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, September 28, 2003 8:36 PM
Subject: RE: Reasons for using Struts


 I use it because it is much easier to maintain.

 If the front-end (JSP) needs to be updated only,
 I can do that without accidentally messing with
 the underlying business logic.

 Conversely, if the business rules change (and
 they always do...), I can change them without
 worrying about having to change the front end.

 Recently, It Was Decided that we would all move
 to MS-SQL as the standard DB. This will be
 relatively easy, because the DB-accessing code
 is isolated from the display and control.

 Cheers,
 Bryan

 -Original Message-
 From: Martin Gainty [mailto:[EMAIL PROTECTED]
 Sent: Friday, September 26, 2003 11:53 PM
 To: [EMAIL PROTECTED]
 Subject: Reasons for using Struts


 What are the reasons for using Struts?
 That is what are the Reasons for which Struts would be a more suitable
 choice than say plain JSP/Servlet?

 Thanks,

 Martin


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Reasons for using Struts

2003-09-27 Thread Sgarlata Matt
http://jakarta.apache.org/struts/userGuide/introduction.html
- Original Message - 
From: Martin Gainty [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, September 27, 2003 12:53 AM
Subject: Reasons for using Struts


What are the reasons for using Struts?
That is what are the Reasons for which Struts would be a more suitable
choice than say plain JSP/Servlet?

Thanks,

Martin


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Reasons for using Struts

2003-09-27 Thread David Graham

--- Martin Gainty [EMAIL PROTECTED] wrote:
 What are the reasons for using Struts?
 That is what are the Reasons for which Struts would be a more suitable
 choice than say plain JSP/Servlet?
 

This has been discussed many times on the list so you can find a lot of
reasons in the archives.  You really can't create a good Java webapp
that's bigger than 5 pages without some kind of framework.  Struts is the
most popular one but there are others out there.

David

 Thanks,
 
 Martin


__
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]