permaculture playing cards*
The moose likes Struts and the fly likes Is Struts a good choice for workflow UI app? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Is Struts a good choice for workflow UI app?" Watch "Is Struts a good choice for workflow UI app?" New topic
Author

Is Struts a good choice for workflow UI app?

Bill Compton
Ranch Hand

Joined: Aug 26, 2000
Posts: 186
We are adding a web UI to a workflow application that is internal to the company. The application uses WebLogic and will have about 10 users at first, growing to maybe 50-100 users eventually. Information to be shown is primarily job status information and relatively simple database queries. Some "drill-down" links will need to be included in the results of pages. Because the app is internal to the company, it will not need to have an extremely slick look; it just needs to look professional. There are no evident needs for client side automation.

For an application like this, is struts a good choice -- what are the advantages / disadvantages? What are the candidate alternatives -- "roll your own" JSP, other?

Thanks much!
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
I'd say Struts would fit quite well into this scenario, but then so would a number of other frameworks. As I see it, here are the pros and cons of using Struts:

Pros:
  • It's "Tried and True". Struts has been and is still being used in thousands of industrial strength web applications
  • The skill set is available. There are lots of good developers out there who know Struts and can use it effectively to create your application
  • It's relatively easy to pick up and use
  • It more or less forces you to follow an MVC pattern in developing your application
  • Cons:
  • It doesn't handle some of the newer techniques such as AJAX as well as some of the other frameworks
  • It's not part of the standard JEE Specification. Neither are most other frameworks, but JSF is.
  • It's showing its age. Struts is a bit out of fashion right now, and the developers who are looking for the next, sexy, big thing have long since moved on to something else
  • In short: If you're the type of person who wears a winter coat that's a few years old and is out of fashion, but fits, is comfortable and keeps you warm, then Struts is a good fit for you.


    Merrill
    Consultant, Sima Solutions
     
    Don't get me started about those stupid light bulbs.
     
    subject: Is Struts a good choice for workflow UI app?