Menke, John wrote:

He seems to infer that Struts and JSF will not be compatable... this is not
true right???


"Sadly, JSF is not backward compatible with Struts."


It's a little bit too simplistic to try to answer this as a true/false question.

I seem to remember Craig stating that Struts and JSF will be able to
coexist.


There is indeed a library already in existence that lets you use JavaServer Faces components in a Struts-based app (replacing the Struts HTML tags):

http://archive.apache.org/dist/jakarta/struts/old/release/struts-faces/

Version 0.4 of this library works with the EA4 version of JavaServer Faces that is part of the Java Web Services Developer Pack 1.2 release from:

http://java.sun.com/webservices/webservicespack/

The interface library is not done yet, but it illustrates the direction we're going on integration. The proof of concept was to take the standard Struts example app, convert the JSP pages (one at a time) to use JavaServer Faces tags instead of Struts tags -- with a few simple tweaks to the struts-config.xml file and ZERO changes to the back end logic (form beans and actions).

Taking this approach, you'd still be using the Struts controller capabilities, rather than those provided by JavaServer Faces. But it's the *perfect* way for an existing Struts based app to be able to take advantage of the new technology, and for people with large investments in Struts applications and expertise to be able to continue leveraging that investment.

If you're just starting out, or have an application requirement that isn't going to be deployed for a while yet, you owe it to yourself to examine JavaServer Faces as a standalone framework as well -- but many folks will find that the combination of JavaServer Faces and Struts will be the right answer. That lets you take advantage of the component libraries and tools support that is going to become available for JavaServer Faces, and use Struts-specific features like the Validator Framework and Tiles, at the same time.

-jm


Craig

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 01, 2003 10:09 AM
To: Struts Users Mailing List
Subject: Editorial on Struts' Long Term Future







You may find this editorial on J2EE/JSF/Struts interesting.
http://www.sdtimes.com/opinions/guestview_087.htm


--------------------------------------------------------------------- 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]





--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to