On Thu, 17 Jul 2003, Erik Price wrote:

> Date: Thu, 17 Jul 2003 08:35:46 -0400
> From: Erik Price <[EMAIL PROTECTED]>
> Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]>
> To: Struts Users Mailing List <[EMAIL PROTECTED]>
> Subject: Re: Struts and JSF?
>
>
>
> Christian Cryder wrote:
>
> > to me, JSF looks like a souped up version of Struts. It
> > seems like its taking an awful long time to deliver anything. Its not going
> > to be open source when its finally released either (has this changed?).
>
> Are you referring to the RI?  If so, that's unfortunate.
>

Sun has no current plans to open source the RI.  However, once it goes
final the RI will be usable and commercially redistributable.

> > In
> > short, I think most of the "problems" I see with Struts still apply to JSF,
> > and I'm not at all sure why someone who is already using Struts would go to
> > the effort of migrating to JSF
>
> Perhaps I am misunderstanding but I thought that JSF provided a means to
> generate HTML in a fashion more akin to Swing components than direct
> JSP/HTML tags?
>

There are two levels to the API -- you can access components directly at
the Java API level, and each combination of component+renderer is also
available to a JSP page author as a tag -- in that respect, using
components in a JSP page is very similar to using Struts HTML tags to
create your user interface.

> (Something I am fearful of, considering that many HTML generators
> [FrontPage, Dreamweaver, Fireworks, etc] generate horrible HTML and
> JavaScript output.  But I guess that all depends on the implementation.)

JavaServer Faces is a lot of things, one of which is support for rendering
standard HTML components so that it's usable out of the box (but
components are not tied to ONLY render HTML -- that's up to which renderer
you choose to use).  The best way to prevent horrible HTML (there isn't
any now, IMHO :-), is to download the EA release, check out the HTML it
generates, and send feedback if you see something you don't like.

The current (Early Access 4) release is bundled with version 1.2 of the
Java Web Services Developer Pack, available by starting at:

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

>
>
>
> Erik

Craig

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

Reply via email to