• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Junilu Lacar
Sheriffs:
  • Rob Spoor
  • Liutauras Vilda
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Piet Souris
  • Tim Holloway
  • Jj Roberts
  • Stephan van Hulst
Bartenders:
  • Himai Minh
  • Carey Brown
  • Frits Walraven

Struts Popularity and Framework Mystery Uncovered

 
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
How popular is struts now, in the world of live applications deployed by businesses?

I have heard a lot of reasons to use struts...but sometimes the frameworks have too much below it and when you need customization done, and the hooks for it has not yet be defined....it gets really frustrating....

on the other hand, if you write your own web application processing code using one controller servlet and various view objects for jsp...it's much easier to do customization as the in and outs are all there

well, this is of course assuming that the person struggling to use struts
already has a strong background with http, servlet, and jsp processing...

any comments...
 
author & internet detective
Posts: 40685
827
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Melody,
Struts is pretty popular in industry. We use it and I know of many other places that do as well. JSF and other frameworks are gaining in popularity.

Struts is actually easy to customize. And it has the advantage of being standard. Then you have less training for new members to the team. A hand rolled framework gives you extra work and lots of extrta maintenance.
 
author
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Melody,

Thanks for the great post! You've made some excellent observations.

For better or for worse, at the moment, Struts is the dominant web app framework for corporate J2EE projects. I agree with you that it can be quite frustrating to deal with its idiosyncracies, and that it can be quite difficult to extend, depending on what you're trying to do. (Sorry to disagree with Jeanne there.)

However, in spite of many drawbacks, there is a great deal of value in things like the RequestProcessor, as well as in the integration with commons-beanutils, which is almost certainly something you wouldn't want to write yourself. There's also a lot of value in the tremendous amount of testing that the Struts codebase has been through, as thousands of developers have been pounding on the code for several years now.

Another advantage that Struts has over custom frameworks is the availability of documentation and training. It can be costly to provide sufficient documentation and knowledge transfer for a proprietary framework that necessarily has a limited audience. Also, I've noticed that developers are often resistant to working on projects based on custom frameworks because they don't want to put effort into gaining knowledge that they won't be able to leverage on other projects. Plus, many developers want to be able to add things to their resume that they feel will be valuable from a career standpoint.

On the flip side, most managers want to use technologies that are well known, because it's easier for them to find developers that have relevant experience, and to get training for staff members when needed. They also feel more comfortable knowing that there are established guidelines and best practices.

What I've found to be a reasonable compromise has been creating a custom framework that sits on top of Struts, so that I can try to make things easier for developers while still taking advantage of the benefits that Struts has to offer. You might want to take a look at the open source project I've been working on (http://strutslive.dev.java.net) to see if this approach might be workable for you.
 
Ranch Hand
Posts: 225
IBM DB2 Eclipse IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi even like u guys i am astonished of hearing that ll corporates using STruts even of our prjt we are using struts frame work.. since we were dealing with Financial s/w ,so we badly in need od front end as well as b;logic manuplation.
We are using Vaidator framework (struts) so that our framework stops is any errors occurs in rather than passing each and every Req to Appl server which badly disturb's our n/w traffic ...

grgowtham_cse@yahoo.com
gowtham@capricornsys-global.com
 
I'm a lumberjack and I'm okay, I sleep all night and work all day. Lumberjack ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
reply
    Bookmark Topic Watch Topic
  • New Topic