wood burning stoves 2.0*
The moose likes Struts and the fly likes Drawbacks of Strcuts !! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Drawbacks of Strcuts !!" Watch "Drawbacks of Strcuts !!" New topic
Author

Drawbacks of Strcuts !!

Praveen Kumar
Ranch Hand

Joined: Nov 06, 2006
Posts: 133
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

Joined: Oct 29, 2001
Posts: 8710
    
    6

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.


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
Praveen Kumar
Ranch Hand

Joined: Nov 06, 2006
Posts: 133
Joe Ess , Thanks for reply.

I am looking for disadvantages which are related to techinical.

please update me on this.
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8710
    
    6

I don't know what you mean by "techincal" drawback.
Praveen Kumar
Ranch Hand

Joined: Nov 06, 2006
Posts: 133
I mean performance wise and scalability like ...
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8710
    
    6

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

Joined: Nov 06, 2006
Posts: 133
Thanks a lot for your prompt replies !!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Drawbacks of Strcuts !!
 
Similar Threads
Authentication against Microsoft Acess
JSF 0R JSTL 0R STRUTS???
Authentication against Microsoft Acess
Struts 2.0 Display tag implementation
Can you use Spring Framework and Hibernate in project?