Subject: Re: JavaServerFaces (JSF) replacement for Struts? From: Vic Cekvenich <[EMAIL PROTECTED]> === The way it was explained to me, by HE who explains everything (Craig), is the other way around. I hope I got it right:
Struts can incorporate Java Faces (not JavaFaces incorporate Struts). Java Faces will require Servlet 2.4 (So some time from now before containers support it) and help render things like "components". Tile will still be needed for Layout and you will still need MVC framework (ex: Struts) to get to the point of rendering components. So instead of <html:text we might use a "better" version of an html:textbox. Struts 1.1 is 2.2 based. The intermediate step is for Struts to go 2.3, and then be able to use the Standard Tags (that would replace and upgrade logic and bean tag, but not HTML tag). Struts is a lot more than tags, it is an MVC implementation. Even the standard Tags are a bit to hard work with yet. So Struts "future" if I may looks like this: Struts 1.1 with Portal Tiles, Validation, DynaBeans (ie-not need for getters and setters), etc. lots there. Then some version that uses Standard Tags. once Struts does 2.3 (and Action controller becomes a filter) (If you have 2.3 container, you could start experimenting with Standard Tags.) Then some version that can use JavaFaces, but after 2.4. In summary, Struts will incorporate and co-exist with new future technologies, and not be replaced by them. Vic Galbreath, Mark wrote: > JSF was introduced at last year's JavaOne at the Monday PM Keynote. It's > simply Sun's strategy for a comprehensive integrated application development > environment built with frameworks. I'm sure Struts will be incorporated > into JSF (as will most other Java technologies, like J2ME and J2EE), but it > will not lose its identity anytime soon. > > Mark > > -----Original Message----- > From: Bryan Field-Elliot [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, April 02, 2002 9:23 PM > To: Struts Users Mailing List > Subject: RE: JavaServerFaces (JSF) replacement for Struts? > > > I, for one, am excited to see JSF (based upon what paltry info I have > read about it). I've done several hellishly complicated pages in JSP, > doing all kinds of crazy stuff like generating dynamic JavaScript for > the client, and invoking Struts actions (with different parameters) > depending upon what the user clicked on. It sounds like JSF is made for > building those kinds of pages (so I hope). And for it to fit well with > Struts is a bonus. > > Bryan > > > On Tue, 2002-04-02 at 19:11, Sandeep Takhar wrote: > > I went to the BOF following this session where Craig > McLanahan was the main speaker. > > He basically finished off by saying that we will use > whatever we want to from JSF. Just as there are > pieces we use from the Servlet & JSP specification. > > He is part of the expert group and is keen on making > the jsf framework work for whichever frameworks are > out there and specifically struts. > > He mentioned he had a working model with Struts & JSF. > > I think that maybe there will be some releases of > struts that incorporate JSF. Maybe there will be some > that take advantage of jsp 1.2 & servlet 2.3... I > guess this is more a discussion for the dev group. > > I wouldn't count on JSF being a silver bullet. I > think it has a long way to go and Struts will still be > around and just end up incorporating the new JSF > stuff. > > Craig said it -- and it is the truth: It is up to > us... > > Sandeep > --- Bryan Field-Elliot <[EMAIL PROTECTED]> > wrote: > > I imagine that it would be a relatively simple task, > > to write an adaptor > > of some sort to map the JSF event model onto Struts > > actions. > > > > Bryan > > > > > > On Tue, 2002-04-02 at 12:41, Robert wrote: > > > > I went to the JSF session at JavaOne and the > > most asked question for the > > JSR group was "What about Struts?". Their answer > > is that JSF will be > > flexible enough to work with whatever framework > > you want, including > > struts. JSF has an event model as well as the > > widgets, but you don't > > have to use them (events), so in that scenario, > > JSF HTML widgets would > > be a front-end for the Struts controller, > > effectively > > replacing/complimenting the Struts taglibs for > > presentation. > > > > Their idea was to have a flexible UI framework > > that could stand on its > > own with the event model, or work with whatever > > controller you wanted. > > > > Having said that, JSF is also supposed to have > > support for other client > > types, such as PDAs and phones, supplying a > > different widget set for > > each. They had a nice demo of using Dreamweaver > > to build the JSF > > portion, much like there is a Struts extension > > out there. > > > > - Robert > > > > -----Original Message----- > > From: Melanie Harris > > [mailto:[EMAIL PROTECTED]] > > Sent: Tuesday, April 02, 2002 1:37 PM > > To: [EMAIL PROTECTED] > > Subject: JavaServerFaces (JSF) replacement for > > Struts? > > > > > > Hi All, > > > > Out on > > > > > http://www.javaworld.com/javaworld/jw-03-2002/j1-02-grapevine2.html > > today there is mention of the following: > > > > JavaServer Faces > > Sun Microsystems' Senior Software Engineer Roger > > Kitain from the JSF > > team outlined the one project I really hoped > > would release a > > specification and RI this week. JSF's > > functionality, layered on top of > > the JSP specification, includes change listeners > > on client-side widgets > > and a standard tag library (including a > > tree-view control). I'm working > > on a project in which such features would come > > in handy, so if you're > > listening guys, please release the RI as soon as > > you can! > > > > This sounds to me like JSF might be something > > that would be similar to > > Struts with added client-side widgets. I'd > > like to know what others > > think of JSF and if you think it might > > eventually become a preferred > > framework over struts, etc... ? > > > > Thanks in advance for your comments. > > > > -mel h > > > > > > > > > > > > --------------------------------- > > Do You Yahoo!? > > Yahoo! Tax Center - online filing with TurboTax > > > > > > -- > > To unsubscribe, e-mail: > > <mailto:[EMAIL PROTECTED]> > > For additional commands, e-mail: > > <mailto:[EMAIL PROTECTED]> > > > > > > > > > __________________________________________________ > Do You Yahoo!? > Yahoo! Tax Center - online filing with TurboTax > http://taxes.yahoo.com/ > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

