• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Junilu Lacar
  • Liutauras Vilda
Sheriffs:
  • Paul Clapham
  • Jeanne Boyarsky
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
Bartenders:
  • Jesse Duncan
  • Frits Walraven
  • Mikalai Zaikin

can we use gwt with struts ?

 
Ranch Hand
Posts: 924
1
Netbeans IDE Fedora Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi,
One of my colleague who is having 10 years experience told me that we cannot use gwt with struts. is that true? what is the difference between these two technologies. i have some knowledge about struts but have no idea as to what gwt is and what can it do for me .
 
Bartender
Posts: 9626
16
Mac OS X Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I know there's a GWT Plugin for Struts that allows interaction. It doesn't look like it's been worked on in a while, but it is not impossible for Struts and GWT to play nice.
Struts is an implementation of the Front Controller Pattern for use when developing traditional web sites/applications (by "traditional" I mean that they adhere to the HTTP request/response cycle. Struts 2 supports AJAX through plugins to access other API's like Dojo and JQuery).
On the other hand, GWT is an API to simplify the development of rich web applications that use AJAX instead of reloading the page with each button press (as is typical with HTTP request/response). One interesting feature of GWT is that you write the application in Java, then the GWT compiler generates an HTML/JavaScript/AJAX front end for the browser.
 
reply
    Bookmark Topic Watch Topic
  • New Topic