This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I am starting a new project, and am trying to decide on what framework to use. Most of my experience is with Struts implementations. However, I am reluctant to start a new project on an old technology. I was leaning towards struts 2, since it seems very familiar to me, and provides Dojo integration.
Could you please give me some feedback/opinions on these frameworks?
There's no substitute for comparing your particular application's requirements to the feature sets offered by various frameworks, I'm afraid. Matt Raible gives several presentations on comparing and choosing a framework. His advice boils down to: choose 2-3 frameworks that best fits your requirements and prototype. No framework is a silver bullet, but if you have some features you can't do without, that will drive the framework you use.
I am starting a new project, and am trying to decide on what framework to use. Most of my experience is with Struts implementations. However, I am reluctant to start a new project on an old technology.
Your first step should be to identify what is required. What is the project based on? Learning "what" will make deciding "how" much easier. Struts is only a framework for the presentation component of an application. Your focus at this point should be defining the business requirements of the application. And then, defining the presentation requirements.
If you have Struts programming experience, then you should stay with it. However, if you have time to study and learn, integrating Struts2 and Java Server Faces should be a good learning experience. Either way, there is a lot of learning, new tag libraries, etc. This can distract you and take up your time making you neglect the real important aspects of building the business application component.
Business logic should be implemented with either POJO or Enterprise JavaBeans. [ October 10, 2008: Message edited by: James Clark ]