Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Drawbacks of Strcuts !!

 
Praveen Kumar
Ranch Hand
Posts: 133
  • Mark post as helpful
  • send pies
  • 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.
 
Joe Ess
Bartender
Pie
Posts: 9266
10
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • 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
  • 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
Pie
Posts: 9266
10
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • 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
  • Quote
  • Report post to moderator
I mean performance wise and scalability like ...
 
Joe Ess
Bartender
Pie
Posts: 9266
10
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • 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
  • Quote
  • Report post to moderator
Thanks a lot for your prompt replies !!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic