Re: [friday] Re: Struts2 vs JSF

2008-02-29 Thread Ray Clough

Yes, but only for those pages which use S2 view components.  We have some
pure S2 pages, also some pure JSF pages (but not with S2 Controller fcns),
also pure S1 pages, and all pages use Tiles.  Quite a complex deployment
descriptor, as you might imagine.

- Ray C.



mgainty wrote:
> 
> interesting ...can you implement ajax functionality such as theme='ajax'
> from dojo?
> 
> Martin-
> - Original Message -
> From: "Ray Clough" <[EMAIL PROTECTED]>
> To: "Struts Users Mailing List" 
> Sent: Friday, February 29, 2008 6:08 PM
> Subject: Re: [friday] Re: Struts2 vs JSF
> 
> 
> I have quite a lot of experience with S2 and JSF which I'd like to share.
> Although on many levels the technologies are different, we have managed to
> make them work together with profound benefits to each.
> 
> First a caveat:  our use of JSF as served from S2 is in a limited fashion.
> There are things we haven't tried because we haven't needed them.  There
> may
> be things which wouldn't work with this technique.  Our use is primarily
> as
> a reporting engine.  We use S2 to manage all the 'control' functions of
> the
> MVC cycle.  There are no beans or navigation rules in the faces-config
> file.
> We have produced a clear separation of the Model functionality from the
> Struts functions, with Struts merely retrieving the model objects and
> placing them into Session storage.  Then the model objects are queried
> from
> a JSP page, which causes the model to 'export' itself to JSF components.
> The model components have zero getters/setters, except a method
> 'getData()'
> which triggers the export process, and returns a jsf 'UIComponent'.  The
> export process consists of creating the JSF 'UIComponent' in code, very
> similarly to the way you'd make pages in Swing (assuming that you are not
> using a totally lame graphic page generator).  Then the completed
> component
> is rendered by a single jsf tag on the page.  Any submittals, which in JSF
> are to some funky url, are redirected by javascript to the correct S2 url.
> This was the main problem until we figured out how to fix it.
> 
> When I started designing the app I envisioned using standard JSP
> functionality to produce the pages, including the use of the S2 tags.
> However I really hated the S2 tags (I still believe that they are somewhat
> below horrible in the panoply of functionality).  A co-worker suggested
> working around this with JSF, and as a result the app is much stronger
> than
> I ever envisioned.
> 
> The app does not use the struts-jsf plugin, and also uses tiles, again not
> using the struts-tiles plugin.  We have found that the use of these
> plugins
> is really limiting, and we are much better off with independent
> installations of both these functions in our app.  It would be nice to
> have
> a good struts-jsf function, but my impression is that there is not much
> being done with the plugin lately (I could be wrong, of course).  As it
> works out, the configuration of all the services is quite demanding, but
> perfectly straightforward once you have figured things out.
> 
> In short, we have had excellent results with JSF with S2.  We use the JSF
> components from Trinidad, and they are first rate - with built in table
> sorting, paging, etc all using Ajax behind the scenes.  S2 is a superior
> 'Control' component, but not really great at 'View'.  With the proper
> approach, they are perfectly compatible.  (Too bad Shale seems moribund).
> 
> - Ray Clough
> [EMAIL PROTECTED]
> 
>> - Original Message -
>> From: "Dave Newton" <[EMAIL PROTECTED]>
>> To: "Struts Users Mailing List" 
>> Subject: Re: [friday] Re: Struts2 vs JSF
>> Date: Fri, 29 Feb 2008 14:24:26 -0800 (PST)
>>
>>
>> --- Musachy Barroso <[EMAIL PROTECTED]> wrote:
>> > Search for "Snatch fight" in youtube, and you will get a felling of
>> > what Struts 2 would do to JSF in a fight :)
>>
>> I was *really* scared to see what that would bring up ("snatch", in the
> US,
>> is a somewhat derogatory term for... uh... female parts).
>>
>> Turns out it was just a scene from the movie "Snatch", so it was all
>> okay.
>>
>> Dave
>>
>>
>> -
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>>
> 
> 
> 
> - Ray Clough
> [EMAIL PROTECTED]
> 
> 
> 
> --

Re: [friday] Re: Struts2 vs JSF

2008-02-29 Thread Martin Gainty
interesting ...can you implement ajax functionality such as theme='ajax'
from dojo?

Martin-
- Original Message -
From: "Ray Clough" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" 
Sent: Friday, February 29, 2008 6:08 PM
Subject: Re: [friday] Re: Struts2 vs JSF


I have quite a lot of experience with S2 and JSF which I'd like to share.
Although on many levels the technologies are different, we have managed to
make them work together with profound benefits to each.

First a caveat:  our use of JSF as served from S2 is in a limited fashion.
There are things we haven't tried because we haven't needed them.  There may
be things which wouldn't work with this technique.  Our use is primarily as
a reporting engine.  We use S2 to manage all the 'control' functions of the
MVC cycle.  There are no beans or navigation rules in the faces-config file.
We have produced a clear separation of the Model functionality from the
Struts functions, with Struts merely retrieving the model objects and
placing them into Session storage.  Then the model objects are queried from
a JSP page, which causes the model to 'export' itself to JSF components.
The model components have zero getters/setters, except a method 'getData()'
which triggers the export process, and returns a jsf 'UIComponent'.  The
export process consists of creating the JSF 'UIComponent' in code, very
similarly to the way you'd make pages in Swing (assuming that you are not
using a totally lame graphic page generator).  Then the completed component
is rendered by a single jsf tag on the page.  Any submittals, which in JSF
are to some funky url, are redirected by javascript to the correct S2 url.
This was the main problem until we figured out how to fix it.

When I started designing the app I envisioned using standard JSP
functionality to produce the pages, including the use of the S2 tags.
However I really hated the S2 tags (I still believe that they are somewhat
below horrible in the panoply of functionality).  A co-worker suggested
working around this with JSF, and as a result the app is much stronger than
I ever envisioned.

The app does not use the struts-jsf plugin, and also uses tiles, again not
using the struts-tiles plugin.  We have found that the use of these plugins
is really limiting, and we are much better off with independent
installations of both these functions in our app.  It would be nice to have
a good struts-jsf function, but my impression is that there is not much
being done with the plugin lately (I could be wrong, of course).  As it
works out, the configuration of all the services is quite demanding, but
perfectly straightforward once you have figured things out.

In short, we have had excellent results with JSF with S2.  We use the JSF
components from Trinidad, and they are first rate - with built in table
sorting, paging, etc all using Ajax behind the scenes.  S2 is a superior
'Control' component, but not really great at 'View'.  With the proper
approach, they are perfectly compatible.  (Too bad Shale seems moribund).

- Ray Clough
[EMAIL PROTECTED]

> - Original Message -
> From: "Dave Newton" <[EMAIL PROTECTED]>
> To: "Struts Users Mailing List" 
> Subject: Re: [friday] Re: Struts2 vs JSF
> Date: Fri, 29 Feb 2008 14:24:26 -0800 (PST)
>
>
> --- Musachy Barroso <[EMAIL PROTECTED]> wrote:
> > Search for "Snatch fight" in youtube, and you will get a felling of
> > what Struts 2 would do to JSF in a fight :)
>
> I was *really* scared to see what that would bring up ("snatch", in the
US,
> is a somewhat derogatory term for... uh... female parts).
>
> Turns out it was just a scene from the movie "Snatch", so it was all okay.
>
> Dave
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

>



- Ray Clough
[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]



Re: [friday] Re: Struts2 vs JSF

2008-02-29 Thread Ray Clough
I have quite a lot of experience with S2 and JSF which I'd like to share.  
Although on many levels the technologies are different, we have managed to make 
them work together with profound benefits to each.  

First a caveat:  our use of JSF as served from S2 is in a limited fashion.  
There are things we haven't tried because we haven't needed them.  There may be 
things which wouldn't work with this technique.  Our use is primarily as a 
reporting engine.  We use S2 to manage all the 'control' functions of the MVC 
cycle.  There are no beans or navigation rules in the faces-config file.  We 
have produced a clear separation of the Model functionality from the Struts 
functions, with Struts merely retrieving the model objects and placing them 
into Session storage.  Then the model objects are queried from a JSP page, 
which causes the model to 'export' itself to JSF components.  The model 
components have zero getters/setters, except a method 'getData()' which 
triggers the export process, and returns a jsf 'UIComponent'.  The export 
process consists of creating the JSF 'UIComponent' in code, very similarly to 
the way you'd make pages in Swing (assuming that you are not using a totally 
lame graphic page generator).  Then the completed component is rendered by a 
single jsf tag on the page.  Any submittals, which in JSF are to some funky 
url, are redirected by javascript to the correct S2 url.  This was the main 
problem until we figured out how to fix it.

When I started designing the app I envisioned using standard JSP functionality 
to produce the pages, including the use of the S2 tags.  However I really hated 
the S2 tags (I still believe that they are somewhat below horrible in the 
panoply of functionality).  A co-worker suggested working around this with JSF, 
and as a result the app is much stronger than I ever envisioned.

The app does not use the struts-jsf plugin, and also uses tiles, again not 
using the struts-tiles plugin.  We have found that the use of these plugins is 
really limiting, and we are much better off with independent installations of 
both these functions in our app.  It would be nice to have a good struts-jsf 
function, but my impression is that there is not much being done with the 
plugin lately (I could be wrong, of course).  As it works out, the 
configuration of all the services is quite demanding, but perfectly 
straightforward once you have figured things out.

In short, we have had excellent results with JSF with S2.  We use the JSF 
components from Trinidad, and they are first rate - with built in table 
sorting, paging, etc all using Ajax behind the scenes.  S2 is a superior 
'Control' component, but not really great at 'View'.  With the proper approach, 
they are perfectly compatible.  (Too bad Shale seems moribund).

- Ray Clough
[EMAIL PROTECTED]

> - Original Message -
> From: "Dave Newton" <[EMAIL PROTECTED]>
> To: "Struts Users Mailing List" 
> Subject: Re: [friday] Re: Struts2 vs JSF
> Date: Fri, 29 Feb 2008 14:24:26 -0800 (PST)
> 
> 
> --- Musachy Barroso <[EMAIL PROTECTED]> wrote:
> > Search for "Snatch fight" in youtube, and you will get a felling of
> > what Struts 2 would do to JSF in a fight :)
> 
> I was *really* scared to see what that would bring up ("snatch", in the US,
> is a somewhat derogatory term for... uh... female parts).
> 
> Turns out it was just a scene from the movie "Snatch", so it was all okay.
> 
> Dave
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

>



- Ray Clough
[EMAIL PROTECTED]



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



Re: [friday] Re: Struts2 vs JSF

2008-02-29 Thread Dave Newton
--- Musachy Barroso <[EMAIL PROTECTED]> wrote:
> Search for "Snatch fight" in youtube, and you will get a felling of
> what Struts 2 would do to JSF in a fight :)

I was *really* scared to see what that would bring up ("snatch", in the US,
is a somewhat derogatory term for... uh... female parts).

Turns out it was just a scene from the movie "Snatch", so it was all okay.

Dave


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



Re: [friday] Re: Struts2 vs JSF

2008-02-29 Thread Frans Thamura
On Sat, Mar 1, 2008 at 5:12 AM, Musachy Barroso <[EMAIL PROTECTED]> wrote:

> Search for "Snatch fight" in youtube, and you will get a felling of
> what Struts 2 would do to JSF in a fight :)
>
>

cannot get it


[friday] Re: Struts2 vs JSF

2008-02-29 Thread Musachy Barroso
Search for "Snatch fight" in youtube, and you will get a felling of
what Struts 2 would do to JSF in a fight :)

musachy

On Fri, Feb 29, 2008 at 5:00 PM, Frans Thamura <[EMAIL PROTECTED]> wrote:
> hi there
>
>  i am a webwork user, and now because WW become S2, so i am part of this
>  community, and honestly i am blank of S1 :)
>
>  and i got Matt's comparison here, and i think that will be awesome if we can
>  share it here.
>
>  I found that like it or not, JSF have a lot of promotion esp from Sun and
>  Oracle and RedHat/JBoss
>
>  they bet very big in JSF, and we know S2 is a different tech with S1, and we
>  see that most of the IDE not support S2, which we can find in S1 world, all
>  IDE = S1 IDE.
>
>
>  Several of fellow of Java here, try to move to JSF, and object S2, esp
>  because IDE integration.
>
>
>  anyone have idea of this JSF vs Struts2 discussion?
>
>
>  i have around 5-6 project and power of S2, under our opensource umbrella and
>  in several client, and we glad S2 is easy to learn, but i dont have a lot of
>  believe to compete with, i feel a small community in Java Web world.
>
>  can help guys? give me the believe.
>
>  Frans
>



-- 
"Hey you! Would you help me to carry the stone?" Pink Floyd

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



Re: Struts2 vs JSF

2008-02-29 Thread Nils-Helge Garli Hegvik
There was a pretty long conversation about this earlier [1]. Maybe you
can find some useful information there.

[1] - 
http://www.nabble.com/Is-Struts-still-a-better-choice-over-JSF-as-on-today---to11801750.html

On Fri, Feb 29, 2008 at 11:00 PM, Frans Thamura <[EMAIL PROTECTED]> wrote:
> hi there
>
>  i am a webwork user, and now because WW become S2, so i am part of this
>  community, and honestly i am blank of S1 :)
>
>  and i got Matt's comparison here, and i think that will be awesome if we can
>  share it here.
>
>  I found that like it or not, JSF have a lot of promotion esp from Sun and
>  Oracle and RedHat/JBoss
>
>  they bet very big in JSF, and we know S2 is a different tech with S1, and we
>  see that most of the IDE not support S2, which we can find in S1 world, all
>  IDE = S1 IDE.
>
>
>  Several of fellow of Java here, try to move to JSF, and object S2, esp
>  because IDE integration.
>
>
>  anyone have idea of this JSF vs Struts2 discussion?
>
>
>  i have around 5-6 project and power of S2, under our opensource umbrella and
>  in several client, and we glad S2 is easy to learn, but i dont have a lot of
>  believe to compete with, i feel a small community in Java Web world.
>
>  can help guys? give me the believe.
>
>  Frans
>

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



Struts2 vs JSF

2008-02-29 Thread Frans Thamura
hi there

i am a webwork user, and now because WW become S2, so i am part of this
community, and honestly i am blank of S1 :)

and i got Matt's comparison here, and i think that will be awesome if we can
share it here.

I found that like it or not, JSF have a lot of promotion esp from Sun and
Oracle and RedHat/JBoss

they bet very big in JSF, and we know S2 is a different tech with S1, and we
see that most of the IDE not support S2, which we can find in S1 world, all
IDE = S1 IDE.


Several of fellow of Java here, try to move to JSF, and object S2, esp
because IDE integration.


anyone have idea of this JSF vs Struts2 discussion?


i have around 5-6 project and power of S2, under our opensource umbrella and
in several client, and we glad S2 is easy to learn, but i dont have a lot of
believe to compete with, i feel a small community in Java Web world.

can help guys? give me the believe.

Frans


Re: struts2 vs jsf?

2007-05-17 Thread Laurie Harper

אלחנן מעין wrote:
first of all , i know it's not all or nothing, i know that struts2 has a 
plug-in for jsf, my question ism why? what does JSF connection to 
struts2 gives me?  i know that struts2 tags give me automatic validation 
messages atttached to each control, automatic layout (too restrictive) 
ajax connection, why should i use jsf with struts2 instead it's own tags?


Because you want to migrate from JSF to Struts2, or from Struts2 to JSF? 
Because you want to take advantage of the many UI component libraries 
built on JSF within your S2 app? There are probably many reasons people 
choose to combine these technologies but if you don't see a benefit for 
your application, you don't have to do so.


L.


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



struts2 vs jsf?

2007-05-16 Thread אלחנן מעין
first of all , i know it's not all or nothing, i know that struts2 has a 
plug-in for jsf, my question ism why? what does JSF connection to struts2 
gives me?  i know that struts2 tags give me automatic validation messages 
atttached to each control, automatic layout (too restrictive) ajax 
connection, why should i use jsf with struts2 instead it's own tags?


_
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/



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



Re: Struts2 vs JSF

2006-11-15 Thread James Mitchell

That's obviously an outdated article.

I don't know of any direct WW or Struts 2 comparison with JSF, but if  
there is, I'd like to see it.



--
James Mitchell
678.910.8017




On Nov 15, 2006, at 4:34 PM, frankiestd168 wrote:



There is a lot of comparison between Strusts 1.x and JSF,

for example, this article.. http://websphere.sys-con.com/read/ 
46516.htm

Some of the developers prefer to use JSF more. (component oriented..)

Surely, now Struts2 has a lot more improvement + Webwork2,
Is there any comparison between Strusts2 and JSF?

--
View this message in context: http://www.nabble.com/Struts2-vs-JSF- 
tf2639117.html#a7366959

Sent from the Struts - User mailing list archive at Nabble.com.


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



RE: Struts2 vs JSF

2006-11-15 Thread shibing.chen
Interesting!

-Original Message-
From: frankiestd168 [mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 16, 2006 5:35 AM
To: user@struts.apache.org
Subject: Struts2 vs JSF


There is a lot of comparison between Strusts 1.x and JSF,

for example, this article.. http://websphere.sys-con.com/read/46516.htm
Some of the developers prefer to use JSF more. (component oriented..)

Surely, now Struts2 has a lot more improvement + Webwork2, 
Is there any comparison between Strusts2 and JSF?

-- 
View this message in context:
http://www.nabble.com/Struts2-vs-JSF-tf2639117.html#a7366959
Sent from the Struts - User mailing list archive at Nabble.com.


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



Struts2 vs JSF

2006-11-15 Thread frankiestd168

There is a lot of comparison between Strusts 1.x and JSF,

for example, this article.. http://websphere.sys-con.com/read/46516.htm
Some of the developers prefer to use JSF more. (component oriented..)

Surely, now Struts2 has a lot more improvement + Webwork2, 
Is there any comparison between Strusts2 and JSF?

-- 
View this message in context: 
http://www.nabble.com/Struts2-vs-JSF-tf2639117.html#a7366959
Sent from the Struts - User mailing list archive at Nabble.com.


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