AFMichael
01-30-2004, 08:12 PM
Hello,
Could anyone fill me in briefly as to what Struts Framework is and the difficulty level in installing it? I am viewing its website and trying to gather as much informatin as I can, but I wanted to see if anyone else uses it. Thanks.
stdunbar
01-31-2004, 03:01 AM
Struts helps to abstract the way pages on a site are interelated. The is especially helpful when using a "type 2" (MVC) model with JSP's and servlets. You don't want to hard code how your servlets do a response.sendRedirect() - it may vary depending on a bunch of different factors.
I use struts to assist designing sites with many pages and somewhat complicated page to page transitions.
Struts is pretty easy to install and use. It takes a little bit to come up to speed with the API but you can master some of the simpler stuff very easily. If you've done a decent amount of JSP/Servlet coding it shouldn't be too bad.
kckclass
01-31-2004, 03:54 AM
stdunbar... you amaze me... WHAT PIE HAVEN'T you stuck your finger in and why do you have a meager 66 posts. Ya ought to be teaching man...
Convergent
01-31-2004, 02:33 PM
Struts is pretty common stuff for enterprise level Java development... as was said using Model View Controller (MVC). I don't know that I'd categorize it as being easy to use. I guess if you are a pretty deep Java developer, it may be.
In simple terms, I would say its the "plumbing" code that you would need to code up if you were doing an application from scratch and didn't use a framework. I've seen projects done without a framework like this, and it ends up getting to be a lot to maintain down the road if you do it all from scratch. The company I work for has a commercialized framework that builds on Struts and some other framework components.