• 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
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

differences and usage of JavaScript, Ajax, GWT

 
Ranch Hand
Posts: 399
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi. I am interesting in the differences and similarities with technologies in the title. I am Java programmer, but oriented especially to back-end.
I am little confused about usage of Ajax or GWT, particularly and how the JavaScript and XML are involved into. I ask this because, I found a plenty of books, the whole assortment devoted to these technologies ( you have a bunch of books related to JavaScript, a bunch related to Ajax, a bunch related to GWT). My question is: should I start, let say Ajax with book "Ajax in action", as an example, even if I have no knowledge of JavaScript ( is that wrong?). Or should I start "GWT in Action", also without knowledge on JavaSript (would I find there a necessary knowledge about JavaScript?).
Or I NEED to O'Reilly's 'Learning JavaScript' books first ( how they are related JavaScript-Ajax-GWt)? I mean what is the BASE and what is UPGRADING ?
Thanks...

 
Marshal
Posts: 67420
173
Mac Mac OS X IntelliJ IDE jQuery Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ajax is not a competing technology to JavaScript -- it is part of JavaScript.

GWT is its own deal. Essentially, with GWT, you write your UI programatically in Java (sort of like Swing apps) and GWT "cross-compiles" it to JavaScript and HTML. I personally loathe it.

XML comes into the picture only if that's what you return from Ajax requests. Most people are more fond of JSON for the most part.

If you want to learn Ajax, you'll need at least a basic understanding of JavaScript, because again, Ajax is JavaScript. (It's sort of like saying "I want to learn how to use the java.net classes, do I need to learn Java?").

 
Goran Markovic
Ranch Hand
Posts: 399
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So in these technologies essential is JavaScript, upon what they are built...Thanks Bear.
 
I yam what I yam and that's all that I yam - the great philosopher Popeye. Tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic