Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Is Struts still the way to go?

 
Mike London
Ranch Hand
Posts: 1290
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm evaluating frameworks for an upcoming Web project. From my research, it appears that Struts is sill the way to go.

Is creating tables with sortable columns "built-in" or can be done without a lot of programming?

Look forward to any replies.

- Mike
 
Michael Duffy
Ranch Hand
Posts: 163
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I'm evaluating frameworks for an upcoming Web project. From my research, it appears that Struts is sill the way to go.


Struts is one way to go, but I'd hardly say it was "The Way". There are a lot of choices out there, and some of them offer great advantages over Struts:

http://java-source.net/open-source/web-frameworks

Merging Struts with WebWork might give it some life, but I'd prefer Spring. Spring MVC is excellent, and there's lots more worthwhile stuff in the Spring toolbox.


Is creating tables with sortable columns "built-in" or can be done without a lot of programming?


"sortable columns"? What columns can't be sorted using ORDER BY? Maybe you mean "indexed". Or perhaps you're asking whether it's better to sort in the database or on the middle tier. I'd let the database do what it's good at and use ORDER BY clauses whenever I could.
 
Mike London
Ranch Hand
Posts: 1290
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey,

Thanks a lot for your reply.

Yes, 'order by' is fine. My comment really referred to more opaque frameworks like JSF where sorting requires you do (a lot) more work or use MyFaces (which isn't exactly "plug-and-play", to say the least, either <s> .

Judging by the reviews I've read for Struts and Spring, it seems that Struts still enjoys the most widespread usage and is probably the best framework to use to find programming talent out there. That may change if JSF really takes off. I've heard lots of good things about Spring too.

-- Mike
 
Gerardo Tasistro
Ranch Hand
Posts: 362
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I use Java Server Faces. Either Sun's or MyFaces. I think it has a more flexible navigation and logic schema than Struts. Still you can include Struts in the project and get the best of both worlds. For example keep the control in JSF and a lot of the view goodies made with Struts tags.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!