• 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
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Drawbacks of Strcuts !!

 
Ranch Hand
Posts: 133
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Struts Gurus,

Could any one tell me what is the -ve side of struts technically ?


I have seen some pages which are very general like Big Learning curve,
Less Transparent, Less Documentation and Rigid approach....

I hope there are some more disadvantages in struts framework ??...


Thanks In Advance.
 
Bartender
Posts: 9626
16
Mac OS X Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Praveen Kumar:
-ve



Please Use Real Words. I don't know what this means.

Struts does have some criticisms, look here for a prior discussion. As for the criticism you cite:
- Big Learning curve
Really? I picked up Struts in a day or two. Try deciphering the Win32 API some time.
- Less Transparent
Than what? A home built framework? Another nameless framework? I'd say it's more transparent because it forces the developer into a pattern which can be easily picked apart.
- Less Documentation
There's probably more documentation for Struts 1 than any other Java subject other than the core API. 15 million hits on Google (For comparison, Java Server Faces returns less than 1 million). Struts 2 is lagging behind because it's newer and there's more competition between frameworks now.
- Rigid approach
This is probably fair. Struts 1 forces you to generate a lot of code just for the framework (FormBeans *shakes fist*). Struts 2 is much more flexible.
 
Praveen Kumar
Ranch Hand
Posts: 133
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Joe Ess , Thanks for reply.

I am looking for disadvantages which are related to techinical.

please update me on this.
 
Joe Ess
Bartender
Posts: 9626
16
Mac OS X Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I don't know what you mean by "techincal" drawback.
 
Praveen Kumar
Ranch Hand
Posts: 133
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I mean performance wise and scalability like ...
 
Joe Ess
Bartender
Posts: 9626
16
Mac OS X Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Struts is a front controller for the most part. Probably 99%* of the load of an application exists elsewhere (network overhead, database access, business logic processing and so on). If you did not use Struts you would either have to implement its functionality yourself or use some other framework to act as controller. Therefore I conclude that there is no drawback to using Struts performance-wise.

*completely made-up statistic
 
Praveen Kumar
Ranch Hand
Posts: 133
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks a lot for your prompt replies !!
 
reply
    Bookmark Topic Watch Topic
  • New Topic