is struts the ideal choice

Hi

We are into the design of a new web application.

Looking into different ways of doing it ,struts was one of the model that is in interest.

I have read in threads in this forum that the struts core development has stopped and the developers have moved over.

So , is struts still a good choice to follow

Any thoughts

[357 byte] By [am_newa] at [2007-10-2 8:52:49]
# 1

define "ideal".

here's one man's list:

http://www.manageability.org/blog/stuff/how-many-java-web-frameworks/view

if you've evaluated all these, and struts is still your choice, why not?

it's true that there's no more struts development, but that can be a sign of maturity. if it does what you want, go for it.

i wouldn't go with struts, because i think the design of Action classes can lead to too-tight coupling between your application and the web tier. With some care, even this problem can be worked around. A service layer that doesn't depend on HttpRequest or HttpResponse will decouple them. right now, I prefer Spring MVC. But the central idea is unchanged: a front controller servlet, an XML configuration that maps pages and events to actions and responses.

%

duffymoa at 2007-7-16 22:56:32 > top of Java-index,Other Topics,Patterns & OO Design...
# 2

We're actually in the same pickle. RIght now, everything is Struts. There is a smattering of a lot of different control-view methodologies right now in the code. These include having Servlets directly create dynamic markup (worst), JSP's in MVC model-1 (not as bad), JSP's calling Servlets in MVC model-2 (at least somewhat maintainable) and finally Struts.

We have that rare opportunity to actually change directions at the beginning of the new year. Right now, it seems like the following are in vogue:

> JSF/MyFaces

> Spring MVC

> Tapestry

> Struts

Personally, I have never liked Struts. Spring MVC has design elegance that I truly appreciate. However, very few people have done it. Moving to JSF or MyFaces might require a radical redesign. Don't have many thoughts on Tapestry, but it seems to have good press.It seems to me the main advantage Struts has is that there are lots of developers out there who are familiar with it.

Anyone have any experiences, war stories, horror stories with any of the other frrameworks?

- Saish

Saisha at 2007-7-16 22:56:32 > top of Java-index,Other Topics,Patterns & OO Design...
# 3
here's matt raible's take:https://equinox.dev.java.net/framework-comparison/WebFrameworks.pdf%
duffymoa at 2007-7-16 22:56:32 > top of Java-index,Other Topics,Patterns & OO Design...
# 4
If it's Raible, I'll definitely give it a perusal. Thanks Duffy!- Saish
Saisha at 2007-7-16 22:56:32 > top of Java-index,Other Topics,Patterns & OO Design...
# 5

Just finished that article. Very thorough. I like how he broke down the desired characteristics of a framework (in terms of coding ease and behavior available in a browser) into so many categories. I'm a bit leary of just how much an advantage Struts has over the other frameworks (especially that eye-popping "Struts is the shizzle" bar graph). But it was a great read. Made me think of a whole host of additional issues. Many thanks Duffy!

- Saish

Saisha at 2007-7-16 22:56:32 > top of Java-index,Other Topics,Patterns & OO Design...
# 6
Yes definitely that presentation was a goodoneThanks Duffymo
am_newa at 2007-7-16 22:56:32 > top of Java-index,Other Topics,Patterns & OO Design...
# 7

> Just finished that article. Very thorough. I like

> how he broke down the desired characteristics of a

> framework (in terms of coding ease and behavior

> available in a browser) into so many categories.

Yes, I liked it very much, too. Matt Raible is a technical guy who can really sling the bullsh*t when he must. 8) (I mean that as a compliment. He's no "lock him in a closet" coder.) He presents very well.

> I'm

> a bit leary of just how much an advantage Struts has

> over the other frameworks (especially that

> eye-popping "Struts is the shizzle" bar graph).

The graph shows the number of jobs asking for Struts at dice.com, so it's not an architectural commentary. Two points to note:

(1) The best architecture doesn't always win. (Betamax versus VHS; Apple OS versus Windows.)

(2) Spring demand is growing VERY fast.

> But

> it was a great read. Made me think of a whole host

> of additional issues. Many thanks Duffy!

>

> - Saish

Thank Google, Saish. They're the ones that found it. 8)

%

duffymoa at 2007-7-16 22:56:32 > top of Java-index,Other Topics,Patterns & OO Design...
# 8

> The graph shows the number of jobs asking for Struts

> at dice.com, so it's not an architectural commentary.

> Two points to note:

>

I noticed that after the fact as well. Phew!

> (1) The best architecture doesn't always win.

> (Betamax versus VHS; Apple OS versus Windows.)

>

Motorolla versus Intel. Ah the list sadly goes on too long. :^)

> (2) Spring demand is growing VERY fast.

>

And unlike Struts, there is still activity there.

> > But

> > it was a great read. Made me think of a whole

> host

> > of additional issues. Many thanks Duffy!

> >

> > - Saish

>

> Thank Google, Saish. They're the ones that found it.

> 8)

>

> %

My thanks anyway and again.

- Saish

Saisha at 2007-7-16 22:56:32 > top of Java-index,Other Topics,Patterns & OO Design...
# 9

> And unlike Struts, there is still activity there.

It seems that the above statement might not be entirely true.

Webwork has recently (November) announced a "merger" between webwork and struts.

What does this mean? Only time will tell.

Heres the link:

http://blogs.opensymphony.com/webwork/2005/11/webwork_joining_struts.html

kl

Liggya at 2007-7-16 22:56:32 > top of Java-index,Other Topics,Patterns & OO Design...
# 10
But they're not going to change Struts, it'll incorporate the WebWork stuff into Struts. Little or no change to the Struts codebase that I can see.%
duffymoa at 2007-7-16 22:56:32 > top of Java-index,Other Topics,Patterns & OO Design...