• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
  • Bear Bibeault
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Piet Souris
  • salvin francis
  • Stephan van Hulst
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Jj Roberts

can we use gwt with struts ?

 
Ranch Hand
Posts: 924
1
Netbeans IDE Fedora Java
  • Mark post as helpful
  • send pies
  • 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: 9615
16
Mac OS X Linux Windows
  • Mark post as helpful
  • send pies
  • 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.
 
Hey cool! They got a blimp! But I have a tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic