You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by webmeiker <in...@webmeiker.com> on 2010/12/02 21:15:43 UTC

best way to ajaxize a Struts2 application

Hi,

I want to ask to the Struts2 community what  technology do you recommend to
“ajaxize” a Struts2 web application?

(Dojo, Jquery, YUI, …)

What do you think are the newest tendencies?

Thanks in advance (and sorry if it has been asked thousands of times before
–I’am new in the mailing list-)


--

Re: Re : best way to ajaxize a Struts2 application

Posted by webmeiker <in...@webmeiker.com>.
After reading all your responses I think I'am going to use* JQuery*.
:-)

Thanks!!


2010/12/3 Maurizio Cucchiara <ma...@gmail.com>

> I've used Dojo and Dijit in the past and I've encountered problem with
> them.
> I personally prefer jquery, as it's the most intuitive and less intrusive.
> ExtJS is a good library, but you should consider sencha licence
> condition http://www.sencha.com/products/license.php
>
>
> 2010/12/2 François Rouxel <ro...@yahoo.com>:
>  > without hesitation
> > http://www.weinfreund.de/struts2-jquery-showcase/index.action
> >
> >  ____________________________________________
> > ____________________________________________
> >
> >
> >
> > ----- Message d'origine ----
> > De : Frank W. Zammetti <fz...@omnytex.com>
> > À : Struts Users Mailing List <us...@struts.apache.org>
> > Envoyé le : Jeu 2 décembre 2010, 15h 52min 18s
> > Objet : Re: best way to ajaxize a Struts2 application
> >
> > Depends very much on what your goals and requirements are.  Do you want
> to
> > just sprinkle in some AJAX calls to your server?  Pretty much any library
> > or plug-in will do the trick pretty well for you.
> >
> > Are you looking for a whole GUI toolkit?  If so I'd personally suggest
> > ExtJS as being the best, but others are more than worthy of being
> > considered (Dojo, YUI, jQuery UI to name a few).
> >
> > Any of them can be used just fine with Struts... I'm personally of the
> > opinion that life is beter without Struts (ExtJS+DWR is a magnificent
> > beast IMO) but this is of course the Struts mailing list and lots of
> > people still find plenty of value in Struts and that's perfectly fine,
> any
> > of these libraries, and others, can be mixed in with Struts without much
> > effort.  I in fact still support a couple of Struts-based applications
> and
> > we've used Dojo and ExtJS in some of them with no problem, even adding
> > them after the fact.
> >
> > Again though, really depends on what your needs actually are... just
> > augmenting a Struts-based app or developing a true RIA?  What best
> answers
> > your question will be heavily influenced by that factor, among others.
> >
> > hth,
> > Frank
> >
> > --
> > Frank W. Zammetti
> > Author of "Practical Palm Pre webOS Projects"
> >  and "Practical Ext JS Projects with Gears"
> >  and "Practical Dojo Projects"
> >  and "Practical DWR 2 Projects"
> >  and "Practical JavaScript, DOM Scripting and Ajax Projects"
> >  and "Practical Ajax Projects with Java Technology"
> >  (For info: apress.com/book/search?searchterm=zammetti&act=search)
> > All you could possibly want is here: zammetti.com
> >
> > On Thu, December 2, 2010 3:15 pm, webmeiker wrote:
> >> Hi,
> >>
> >> I want to ask to the Struts2 community what  technology do you recommend
> >> to
> >> “ajaxize” a Struts2 web application?
> >>
> >> (Dojo, Jquery, YUI, …)
> >>
> >> What do you think are the newest tendencies?
> >>
> >> Thanks in advance (and sorry if it has been asked thousands of times
> >> before
> >> –I’am new in the mailing list-)
> >>
> >>
> >> --
> >>
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> > For additional commands, e-mail: user-help@struts.apache.org
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> > For additional commands, e-mail: user-help@struts.apache.org
> >
> >
>
>
>
> --
> Maurizio Cucchiara
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>


--

Re: Re : best way to ajaxize a Struts2 application

Posted by Maurizio Cucchiara <ma...@gmail.com>.
I've used Dojo and Dijit in the past and I've encountered problem with them.
I personally prefer jquery, as it's the most intuitive and less intrusive.
ExtJS is a good library, but you should consider sencha licence
condition http://www.sencha.com/products/license.php


2010/12/2 François Rouxel <ro...@yahoo.com>:
> without hesitation
> http://www.weinfreund.de/struts2-jquery-showcase/index.action
>
>  ____________________________________________
> ____________________________________________
>
>
>
> ----- Message d'origine ----
> De : Frank W. Zammetti <fz...@omnytex.com>
> À : Struts Users Mailing List <us...@struts.apache.org>
> Envoyé le : Jeu 2 décembre 2010, 15h 52min 18s
> Objet : Re: best way to ajaxize a Struts2 application
>
> Depends very much on what your goals and requirements are.  Do you want to
> just sprinkle in some AJAX calls to your server?  Pretty much any library
> or plug-in will do the trick pretty well for you.
>
> Are you looking for a whole GUI toolkit?  If so I'd personally suggest
> ExtJS as being the best, but others are more than worthy of being
> considered (Dojo, YUI, jQuery UI to name a few).
>
> Any of them can be used just fine with Struts... I'm personally of the
> opinion that life is beter without Struts (ExtJS+DWR is a magnificent
> beast IMO) but this is of course the Struts mailing list and lots of
> people still find plenty of value in Struts and that's perfectly fine, any
> of these libraries, and others, can be mixed in with Struts without much
> effort.  I in fact still support a couple of Struts-based applications and
> we've used Dojo and ExtJS in some of them with no problem, even adding
> them after the fact.
>
> Again though, really depends on what your needs actually are... just
> augmenting a Struts-based app or developing a true RIA?  What best answers
> your question will be heavily influenced by that factor, among others.
>
> hth,
> Frank
>
> --
> Frank W. Zammetti
> Author of "Practical Palm Pre webOS Projects"
>  and "Practical Ext JS Projects with Gears"
>  and "Practical Dojo Projects"
>  and "Practical DWR 2 Projects"
>  and "Practical JavaScript, DOM Scripting and Ajax Projects"
>  and "Practical Ajax Projects with Java Technology"
>  (For info: apress.com/book/search?searchterm=zammetti&act=search)
> All you could possibly want is here: zammetti.com
>
> On Thu, December 2, 2010 3:15 pm, webmeiker wrote:
>> Hi,
>>
>> I want to ask to the Struts2 community what  technology do you recommend
>> to
>> “ajaxize” a Struts2 web application?
>>
>> (Dojo, Jquery, YUI, …)
>>
>> What do you think are the newest tendencies?
>>
>> Thanks in advance (and sorry if it has been asked thousands of times
>> before
>> –I’am new in the mailing list-)
>>
>>
>> --
>>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>



-- 
Maurizio Cucchiara

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


Re : best way to ajaxize a Struts2 application

Posted by François Rouxel <ro...@yahoo.com>.
without hesitation
http://www.weinfreund.de/struts2-jquery-showcase/index.action

 ____________________________________________ 
____________________________________________



----- Message d'origine ----
De : Frank W. Zammetti <fz...@omnytex.com>
À : Struts Users Mailing List <us...@struts.apache.org>
Envoyé le : Jeu 2 décembre 2010, 15h 52min 18s
Objet : Re: best way to ajaxize a Struts2 application

Depends very much on what your goals and requirements are.  Do you want to
just sprinkle in some AJAX calls to your server?  Pretty much any library
or plug-in will do the trick pretty well for you.

Are you looking for a whole GUI toolkit?  If so I'd personally suggest
ExtJS as being the best, but others are more than worthy of being
considered (Dojo, YUI, jQuery UI to name a few).

Any of them can be used just fine with Struts... I'm personally of the
opinion that life is beter without Struts (ExtJS+DWR is a magnificent
beast IMO) but this is of course the Struts mailing list and lots of
people still find plenty of value in Struts and that's perfectly fine, any
of these libraries, and others, can be mixed in with Struts without much
effort.  I in fact still support a couple of Struts-based applications and
we've used Dojo and ExtJS in some of them with no problem, even adding
them after the fact.

Again though, really depends on what your needs actually are... just
augmenting a Struts-based app or developing a true RIA?  What best answers
your question will be heavily influenced by that factor, among others.

hth,
Frank

-- 
Frank W. Zammetti
Author of "Practical Palm Pre webOS Projects"
  and "Practical Ext JS Projects with Gears"
  and "Practical Dojo Projects"
  and "Practical DWR 2 Projects"
  and "Practical JavaScript, DOM Scripting and Ajax Projects"
  and "Practical Ajax Projects with Java Technology"
  (For info: apress.com/book/search?searchterm=zammetti&act=search)
All you could possibly want is here: zammetti.com

On Thu, December 2, 2010 3:15 pm, webmeiker wrote:
> Hi,
>
> I want to ask to the Struts2 community what  technology do you recommend
> to
> “ajaxize” a Struts2 web application?
>
> (Dojo, Jquery, YUI, …)
>
> What do you think are the newest tendencies?
>
> Thanks in advance (and sorry if it has been asked thousands of times
> before
> –I’am new in the mailing list-)
>
>
> --
>



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


      

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


Re: best way to ajaxize a Struts2 application

Posted by "Frank W. Zammetti" <fz...@omnytex.com>.
Depends very much on what your goals and requirements are.  Do you want to
just sprinkle in some AJAX calls to your server?  Pretty much any library
or plug-in will do the trick pretty well for you.

Are you looking for a whole GUI toolkit?  If so I'd personally suggest
ExtJS as being the best, but others are more than worthy of being
considered (Dojo, YUI, jQuery UI to name a few).

Any of them can be used just fine with Struts... I'm personally of the
opinion that life is beter without Struts (ExtJS+DWR is a magnificent
beast IMO) but this is of course the Struts mailing list and lots of
people still find plenty of value in Struts and that's perfectly fine, any
of these libraries, and others, can be mixed in with Struts without much
effort.  I in fact still support a couple of Struts-based applications and
we've used Dojo and ExtJS in some of them with no problem, even adding
them after the fact.

Again though, really depends on what your needs actually are... just
augmenting a Struts-based app or developing a true RIA?  What best answers
your question will be heavily influenced by that factor, among others.

hth,
Frank

-- 
Frank W. Zammetti
Author of "Practical Palm Pre webOS Projects"
  and "Practical Ext JS Projects with Gears"
  and "Practical Dojo Projects"
  and "Practical DWR 2 Projects"
  and "Practical JavaScript, DOM Scripting and Ajax Projects"
  and "Practical Ajax Projects with Java Technology"
  (For info: apress.com/book/search?searchterm=zammetti&act=search)
All you could possibly want is here: zammetti.com

On Thu, December 2, 2010 3:15 pm, webmeiker wrote:
> Hi,
>
> I want to ask to the Struts2 community what  technology do you recommend
> to
> “ajaxize” a Struts2 web application?
>
> (Dojo, Jquery, YUI, …)
>
> What do you think are the newest tendencies?
>
> Thanks in advance (and sorry if it has been asked thousands of times
> before
> –I’am new in the mailing list-)
>
>
> --
>



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


RE: best way to ajaxize a Struts2 application

Posted by Vikas Kumar Gupta <hi...@gmail.com>.
Hi,
I'm also trying to use ajax using struts 2 dojo plugin which comes with
struts-2.2.1 but I'm not getting documentation of this plugin as how to use
dojo javascripts. Plz suggest.

Regards,

Vikas Gupta
India

-----Original Message-----
From: webmeiker [mailto:info@webmeiker.com] 
Sent: 03 December 2010 01:46
To: Struts Users Mailing List
Subject: best way to ajaxize a Struts2 application

Hi,

I want to ask to the Struts2 community what  technology do you recommend to
"ajaxize" a Struts2 web application?

(Dojo, Jquery, YUI, .)

What do you think are the newest tendencies?

Thanks in advance (and sorry if it has been asked thousands of times before
-I'am new in the mailing list-)


--

Internal Virus Database is out of date.
Checked by AVG - www.avg.com 
Version: 9.0.851 / Virus Database: 271.1.1/3060 - Release Date: 08/09/10
12:05:00

Internal Virus Database is out of date.
Checked by AVG - www.avg.com 
Version: 9.0.851 / Virus Database: 271.1.1/3060 - Release Date: 08/09/10
12:05:00


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


RE: best way to ajaxize a Struts2 application

Posted by "Biesbrock, Kevin" <Bi...@aoins.com>.
I read some statistics that jQuery is the fastest JavaScript library. It
was between jQuery and Dojo, but Dojo failed tests in some browsers.

I used to be a Prototype/Scriptaculous fan until I realized how much
better jQuery performs.  And jQuery has a really good user base with
great documentation.

Also, in spare time, I'm learning to use jQuery address
(http://www.asual.com/jquery/address/) which allows for a state-ful ajax
application with bookmarkable links, etc.  I think that's important so
when the browser is refreshed, the state of the application is not lost.

Beez

-----Original Message-----
From: webmeiker [mailto:info@webmeiker.com] 
Sent: Thursday, December 02, 2010 3:16 PM
To: Struts Users Mailing List
Subject: best way to ajaxize a Struts2 application

Hi,

I want to ask to the Struts2 community what  technology do you recommend
to "ajaxize" a Struts2 web application?

(Dojo, Jquery, YUI, ...)

What do you think are the newest tendencies?

Thanks in advance (and sorry if it has been asked thousands of times
before -I'am new in the mailing list-)


--


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