|
From: Rob B. <rob...@ve...> - 2003-08-28 02:29:40
|
I sent this out earlier, but it bounced so I don't know if anyone saw it. So I am sending it out again. If you already got a copy of this message you can just ignore it. Check out: http://jakarta.apache.org/struts/proposals/struts-faces.html Specifically read the section "How does this affect Struts?" As you see JSF can sit on top of Struts. Obviously struts has an advantage as the JSF spec lead, Craig, is also the Struts lead. But I think it would be VERY useful if there was a JSF implementation that sat on top of Spring. I haven't yet finished Rod's book, or had the time / opportunity to use spring yet. So I may not know what I am talking about, but the major feature of Spring MVC web framework is how it will automatically convert web input strings to the appropriate Java data types for the bean. This is a HUGE feature over Struts as far as I am concerned. So it would be nice if there were a JSF layer built on top of Spring that allowed JSF to be used, but also provided the advantage of the automatic type conversion that spring has. (I don't think the JSF will offer type conversion as a feature, but I haven't read the full spec so I am not sure yet.) Thoughts? Later Rob ----- Original Message ----- From: "jürgen höller [werk3AT]" <jue...@we...> To: "Rob Butler" <rob...@ve...>; <spr...@li...> Sent: Wednesday, August 27, 2003 7:10 AM Subject: RE: [Springframework-developer] Java Server Faces & Spring Rob, Good question. Of course, JSF has to make it into standard J2EE first ;-) I wonder how Struts will "support" JSF, when JSF is effectively a full web application framework with its own action dispatching and view component mechanisms, targeted at tool support. Could it be that such a Struts/JSF "integration" is more a marketing term than anything else, to avoid making people worry about exisiting investments in Struts? From my point of view, JSF is a full web tier technology, an alternative to Spring's own web MVC, Struts, WebWork, Tapestry, etc. There should be a simple way to access a Spring root application context from any such web tier. The WebApplicationContextUtils.getWebApplicationContext helper method just needs a reference to the current ServletContext. People are already doing that for all mentioned web frameworks. Should be straightforward for JSF too. This is the nice thing about Spring: We provide such a wealth of support for all layers that other frameworks just compete with certain parts of Spring. It makes sense to combine Spring and other web frameworks to be able to leverage merits of the latter but also Spring's middle tier services. Spring's web MVC is just an option (of course, a good one IMO), not a necessity. Juergen -----Original Message----- From: Rob Butler [mailto:rob...@ve...] Sent: Wednesday, August 27, 2003 1:20 AM To: spr...@li... Subject: [Springframework-developer] Java Server Faces & Spring Hello all, I was just wondering what impact (if any) Java Server Faces will have on Spring? Will a JSF "adapter" be developed for spring? Since JSF will be part of the J2EE standard managers will start to expect everyone to use / know JSF, or the existing / entrenched Struts framework. Spring may have an uphill battle if it doesn't support JSF, when it appears Struts will. Thoughts / opinions. Later Rob ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Springframework-developer mailing list Spr...@li... https://lists.sourceforge.net/lists/listinfo/springframework-developer |