On 12/19/06, Don Brown <[EMAIL PROTECTED]> wrote:
It isn't an either/or question. You can use JSF actions, components, and configuration in a Struts 2 app, using the Struts 2 JSF Plugin. If you prefer an action-centric design, but want to use JSF components, then it is worth looking into. If you want a pure JSF approach, especially if you have your eye on the JSF tools, then MyFaces or Shale would be worth looking at. See also: http://cwiki.apache.org/WW/javaserver-faces.html
As Don mentions, you can use JSF components with Struts2 pretty easily, and that can be a good avenue if you primarily want JSF for the visual components part, and don't need/want the managed beans and lifecycle controller parts. If a "framework on top of JSF" is what you are after (which is a reasonable thing for an application developer to want -- JSF focuses on the component APIs and the foundations for application needs), you can definitely look towards Shale[1] (we're putting the finishing touches on what we hope will be a GA release) or Seam[2] (just released 1.1 ). If you like tooling assistance around your development efforts, you might also want to take a look at what support your favorite IDE provides. If you happen to be in the NetBeans camp, the Visual Web Pack plugin is totally focused around visual drag-and-drop, and includes a built in framework with a lot of similarity to the "view controller" function in Shale, plus there is pretty nice non-visual support for straight JSF coding (including code generation for CRUD apps). You'll also see great support for JSF in Oracle's JDeveloper, and "basic but getting there" support in Eclipse. I can't speak to Idea's support for JSF, but wouldn't be surprised if it is comparable. Don Craig [1] http://shale.apache.org/ [2] http://jboss.com/products/seam/ On 12/19/06, Piero Sartini <[EMAIL PROTECTED]> wrote:
> Hello list, > > the last days I've read a lot about web frameworks in java. And the more I > read, the more questions I have. Just writing this down, maybe someone has > some thoughts that can help me. > > My problem is simple, or lets say it should be simple: What webframework is a > good choice to start a new web application? > > After all, JSF seams to be popular, it is supported by big vendors and it is a > standard. My problem with JSF is that its way too basic in my eyes. It does > not give me best practices, its just there and says: "use me". But it does > not give me an idea how it is used best. But maybe I missed that. My feeling > is that its a core technology like jsp ... someone should build a framework > with it ... > > I am missing this "framework" around JSF that does speed up development. Is > shale meant to be this framework? It matured a lot since I last looked at it. > But for me, it looks like its not really accepted - maybe I am wrong. Is > shale what I am searching for? > > There is JBoss Seam. I don't want to use jboss AS and not sure if its the best > choice.. > > I looked at struts2 and it "feels" like it could be what I searched for. There > is good documentation, many examples, an maven archetype, lots of users and > the possibility to use third party technologies like freemarker. But my > problem is that I am not sure if its not better to use JSF to be compatible > with future technologies. There are a lot of ajax-components for example, and > we can wait that a lot of third party libraries and tools will be > available... > > Is there a simple answer? > > > Regards, > Piero > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]