rakesh kankavlikar wrote:
I have cretaed a simple application without struts I found that it is better not to use struts in this simple example.
That's easy. Now create another application. And another. And another. You'll find that you keep writing the same code over and over again. Smart people have taken the code you keep writing over and over and made it generic enough to copy into your app and use. For example, the code that the user triggers when they do something has become Struts and Stripes and Spring Webflow. That SQL code and database access code has become Hibernate and EJBs.
The great thing about a framework is that they've taken care of the dull repetitive stuff and left you to concentrate on your business problem AND there's a large community around each framework working out the bugs and constantly improving them. No need to track down that copy and paste error you made when you copied the SQL code out of your last app.
If you aren't learning and using frameworks, you are wasting a lot of your time.