You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Rivka Shisman <ri...@nite.org.il> on 2006/01/23 12:08:19 UTC

Struts vs JSF decision

Hello Friends,

 

I've been working with Struts for some months now and I really like the
framework and I especially like the people that participate in the
mailing lists.

Today I spoke with a project manager from IBM (consulting team)
regarding consulting services for developing our web J2EE applications
with Websphere Application Server.

The specialist said he doesn't have development experience with Struts,
but he strongly recommended using JSF. He said that JSF is J2EE standard
and is more comfortable and flexible to work with.

 

I don't have experience with JSF and I really need to get your opinion
on this:

 

1.	Do JSF and struts complete each or replace each other?
2.	For new applications (that are written from scratch) - is it
wise to use Struts or maybe move to JSF?

 

Thanks

Rivka

Re: Struts vs JSF decision

Posted by "Frank W. Zammetti" <fz...@omnytex.com>.
On Mon, January 23, 2006 6:08 am, Rivka Shisman said:
> The specialist said he doesn't have development experience with Struts,
> but he strongly recommended using JSF. He said that JSF is J2EE standard
> and is more comfortable and flexible to work with.

This is exactly the kind of opinion I would *not* trust... here's someone
who admits to not having much experience with Struts and yet he can say
that JSF is to be highly recommended?  That's like me saying "well, I like
beef more than pork, I eat beef all the time, but I've only had pork once
or twice".  Doesn't make much sense, does it? :)

Plus, IMO, you shouldn't put as much weight in anynoes' opinion that says
you should use *anything* simply because it is a "standard".  That's a
reason to give something due consideration, and maybe that's the final
weight that tips the scales in its favor, but especially if it's the
*first* reason he states, there is a priority issue there IMO.

> I don't have experience with JSF and I really need to get your opinion
> on this:

And I have only some experience myself, so you shouldn't put a tremendous
amount of weight in my opinion either :)

> 1.	Do JSF and struts complete each or replace each other?

Depends on who you ask... some are very hard-lined and believe JSF is
*the* future of Java web development.  Others are more reasonable and will
tell you that you should decide which fits your needs better after some
diligent research and perhaps trials (and there are those that say JSF is
crap and should never be used, which is pretty ridiculous too).  My advice
echoes those who say you should decide for yourself.  JSF seems to suit
some people and some projects very well, others feel Struts is much better
for them.  Make up your own mind :)

> 2.	For new applications (that are written from scratch) - is it
> wise to use Struts or maybe move to JSF?

Again, depends on your needs.  Struts isn't going anywhere for a long
time.  Some have taken to calling it "old technology" or saying it's "past
its prime" or such things.  I find those to be ridiculous claims.  Struts
(in some form) and JSF will likely coexist for a long time.  In fact, that
might always be the case...

Whether JSF is a standard or not, there is *no* guarantee that anyone will
be using it five years from now.  There is *no* guarantee that it will
dominate the landscape.  It still has to prove itself to a great many
people.  Struts OTOH has already done his, and for all its supposed flaws,
people continue to use it with great success.  JSF may well be the future,
but it's not a guarantee simply because it's a standard or because it's
got the marketing behind it.

I would hope there is always a choice frankly.  Otherwise, we might as
well all jump to .NET :)  JSF has its pluses and minuses, so does Struts. 
And so does every other framework out there that you could alternatively
choose.  Decide which to use on the merits of your situation, not what
some consultant or marketing drone says.

> Thanks
>
> Rivka

Frank


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: Struts vs JSF decision

Posted by Sheshadri Patel <me...@gmail.com>.
On 1/23/06, Rivka Shisman <ri...@nite.org.il> wrote:
>
> Hello Friends,
>
>
>
> I've been working with Struts for some months now and I really like the
> framework and I especially like the people that participate in the
> mailing lists.
>
> Today I spoke with a project manager from IBM (consulting team)
> regarding consulting services for developing our web J2EE applications
> with Websphere Application Server.
>
> The specialist said he doesn't have development experience with Struts,
> but he strongly recommended using JSF. He said that JSF is J2EE standard
> and is more comfortable and flexible to work with.
>
>
>
> I don't have experience with JSF and I really need to get your opinion
> on this:
>
>
>
> 1.      Do JSF and struts complete each or replace each other?


Struts and JSF are entirely different.JavaServer Faces technology simplifies
building user interfaces for JavaServer applications,where as Struts Action
is the original request-based framework.

2.      For new applications (that are written from scratch) - is it
> wise to use Struts or maybe move to JSF?


As I said JSF is different from Struts.
If u want to use JSF use Struts Shale.Bcoz The two frameworks are the *Struts
Action Framework* and the *Struts Shale Framework *different..

*Struts Action *is the original request-based framework.

*Struts Shale *.is a component-based framework based on JavaServer Faces.
For more information use http://struts.apache.org/


Thanks
>
> Sheshadri Patel.
>