Slashdot Mirror


Google Releases AJAX Framework

maquina writes "Google released a new AJAX framework based on Java. From Google's mouth: "Google Web Toolkit (GWT) is a Java software development framework that makes writing AJAX applications like Google Maps and Gmail easy for developers who don't speak browser quirks as a second language." This impressive framework promises to make AJAX available to the masses and is one more step towards Google becoming the de facto Internet platform provider."

327 comments

  1. Google: by Trigun · · Score: 5, Interesting

    Your source of, vangaurd of and now creator of all your information.

    1. Re:Google: by Trigun · · Score: 0, Troll

      Such is the dynamic web, I guess. You take a dynamic news site, throw a dynamic company at it, sprinkle liberally with a few trolls and fanboys, and you get a perpetual P.R. machine.

    2. Re:Google: by pato101 · · Score: 1, Funny

      All your source of are belong to us
      All your vangaurd of are belong to us
      All your creator of are belong to us

      All your information are belong to us

    3. Re:Google: by Anonymous Coward · · Score: 0

      All your all your are belong to us.

    4. Re:Google: by cytg.net · · Score: 1

      google for the fcking win .. wheres my google os ?

    5. Re:Google: by Anonymous Coward · · Score: 0

      this is nothing compared to this, google is just playing catching up
      http://zk1.sourceforge.net/

    6. Re:Google: by shutdown+-p+now · · Score: 1

      Amen!

  2. The best feature of this toolkit by xbrownx · · Score: 2, Interesting

    ...is by far and above the fact that you are coding your website in Java, using their API and SWT-like objects, and the Javascript/Ajax is then generated from your classes.

    I think Google is mostly responsible for launching the AJAX trend, and now they're moving in a brand new direction? Beautiful.

    Oh and they even distributed half of the source code for the project in the JAR files.

    1. Re:The best feature of this toolkit by UbuntuDupe · · Score: 0

      So does that mean it effectively competes with the ".NET framework"? And what's an "internet platform" anyway? Is that just a term they invented to have something Google would be good at?

    2. Re:The best feature of this toolkit by Ingolfke · · Score: 3, Interesting

      Just because the AJAX code is not hand coded doesn't mean Google is moving in a new direction. In fact they're moving forward more agressively in the same direction, and are just releasing tools to help everyone go the same way (especially the Google way).

    3. Re:The best feature of this toolkit by seizer · · Score: 5, Informative

      It's not quite a "brand new direction" - Microsoft's Atlas product has been offering something along these lines for a while now (albeit still as a beta). You lay out controls visually in Visual Studio (or Express), and control them programmatically from .NET. It takes care of rendering them down to HTML + Javascript, and it's pretty much cross platform friendly.

    4. Re:The best feature of this toolkit by Anonymous Coward · · Score: 5, Interesting

      I personally find the way it handles remote prodecure calls to the server the most interesting. Just define a serializable java class, you say? And GWT handles the rest, you say? Sign me up!

      This is sexy stuff, people. :-)

    5. Re:The best feature of this toolkit by Anonymous Coward · · Score: 5, Informative

      "I think Google is mostly responsible for launching the AJAX trend"
       
      Er, nope. Hard as it is to believe, Microsoft were there first with the awesome Outlook Web Access which mimics Outlook, on a web page really, really well. This used their XMLHTTP ActiveX object which is also used extensively in Windows Update.
       
      The rest happened from there really. Google is probably the best known current implementer of AJAX, but good as they are I certainly wouldn't say they launched it... and I certainly wish world + dog would stop releasing AJAX frameworks!

    6. Re:The best feature of this toolkit by xbrownx · · Score: 1

      "a while now" is what, six months?

      The last time I played around with Atlas, which may have been very early in it's beta cycle, there was still some level of necessary JS coding by the developer. Perhaps that has changed, which would be awesome...

      Besides, I still don't think they are comparable - with ASP.NET, you are still coding in both ASPX and C# (or VB) files, meaning that you are getting your hands dirty with some HTML - this seems to be completely managed code.

    7. Re:The best feature of this toolkit by aussie_a · · Score: 0, Flamebait

      Is there a "censor your website" function as well?

    8. Re:The best feature of this toolkit by Anonymous Coward · · Score: 1

      I guess when you said OWA "mimics Outlook..really, really well." you really meant to say "mimics Outlook..like a banana mimics a small, green Checkoslovakian traffic warden."

      Which oddly enough describes almost all "Web 2.0" AJAX "applications".

    9. Re:The best feature of this toolkit by Bogtha · · Score: 4, Insightful

      Microsoft might have provided the first XMLHttpRequest implementation and used it first, but it was Google that made it popular. Before Google Suggest (and later GMail) caught everybody's attention, it languished relatively unknown to most developers for years. Now you can't get away from it.

      Sure, browser compatibility played a large part too, but even after Mozilla implemented XMLHttpRequest, I didn't see many people talking about it until Google started using it. So Microsoft might have launched XMLHttpRequest, but it was Google that launched the trend, which is what xbrownx said.

      --
      Bogtha Bogtha Bogtha
    10. Re:The best feature of this toolkit by badfish99 · · Score: 5, Informative
      Here's a much better implementation of the same idea that's been available for some time now: http://zk1.sourceforge.net/

      It's not "beta" like this half-baked "me-too" from google, and it's open-source.Also commercial support is available it you want to pay for it.

    11. Re:The best feature of this toolkit by kahei · · Score: 1


      I think Google is mostly responsible for launching the AJAX trend,
      ...and when you say AJAX trend, you mean the use of XmlHttpRequest, first thought of and implemented by Microsoft, to create responsive web applications that update only the necessary UI elements rather than the whole page, like Microsoft's Outlook Web, for which AJAX was invented.

      Thank goodness there are true innovators like Google to prevent technology from suffocating under the Microsoft Blanket.

      I guess I'm old fashioned enough to focus on who 'develops the technology' or just 'has the idea', rather than on who 'launches the trend'.

      --
      Whence? Hence. Whither? Thither.
    12. Re:The best feature of this toolkit by Irish_Samurai · · Score: 1

      From my understanding it's even older than that. I remember utilizing remote scripting back in 2001 for an insurance quote web application.

    13. Re:The best feature of this toolkit by uradu · · Score: 1

      > you are coding your website in Java, using their API and SWT-like objects, and the Javascript/Ajax is then generated from your classes.

      Which is also the greatest danger of such toolkits. Once you learn something like this, you know the framework but you know less and less about the underlying technologies. You can learn this framework, or you can learn ASP.NET, or Ruby on Rails, or whatever, which are all very different ways of accomplishing the same thing. I'm not saying that this is bad overall, since they all lead to productivity enhancement. But each framework has a considerable learning curve, leading to developers becoming more and more specialized and married to a particular implementation of a technology. This is not unlike the RAD tools of the past, where one could become very proficient in VB6 or MFC or the VCL, while losing more and more touch with the win32 API. I guess the trick is to try to keep up with the lower level technologies that these frameworks abstract.

    14. Re:The best feature of this toolkit by Decker-Mage · · Score: 1

      If you can hang with Java, something that I've never managed to succeed in doing here. While I'm not thrilled with it, ASP.Net and C# are a bit more palatable and raw coding HTML is something I can do in my sleep (and frequently have). Well, I'm a dinosaur and it shows. Now where did I leave that Black Book.

      --
      "[I]t is a wise man who admits the limits of his knowledge or skill, and that pretending either causes harm." --Terry Go
    15. Re:The best feature of this toolkit by FecesFlingingRhesus · · Score: 3, Informative



      To be fair I think the progression to AJAX was an evolution of which the last breaking point was web service and the ability to easily (I use that term lightly) transmit simple objects across the wire. When MS built their web outlook they where passing raw XML back and forth across the wire, with all the nastiness that comes along with it. With the push towards web services, and the XmlHttpRequest laying in obscurity it was only natural that it someone would (re)figure out the coupling of these technologies to become AJAX for more info on who contributed what look here

    16. Re:The best feature of this toolkit by advocate_one · · Score: 2, Insightful
      You lay out controls visually in Visual Studio (or Express), and control them programmatically from .NET. It takes care of rendering them down to HTML + Javascript, and it's pretty much cross platform friendly.

      you must have a different definition of cross-platform friendly to me then... I don't want to use ms windows in any form at all, so I can't develop this Microsoft Atlas stuff on my platform of choice.

      --
      Donald 'Duck' Dunn: We had a band powerful enough to turn goat piss into gasoline.
    17. Re:The best feature of this toolkit by Anonymous Coward · · Score: 0

      It always bugs me when people describe objects or technology as sexy. It's rather sad. I'll tell you what is sexy: it's the women who are popping up from who knows where I see walking down the street now that the weather has turned nice.

    18. Re:The best feature of this toolkit by badfish99 · · Score: 2, Insightful
      The problem in this area is that the whole Javascript/AJAX technology is such a ghastly mess: partly due to the web just not being designed to work that way, and partly due to the need to work around the various "features" in various browsers.

      The effect of this is that, if AJAX could only be used by people who understood all the issues of the underlying implementation, then it would hardly get used at all. Toolkits like this will allow 100% of developers to use 90% of the technology, instead of 5% of developers using 100% of the technology.

    19. Re:The best feature of this toolkit by samyem · · Score: 2, Interesting

      Been there done that: http://zk1.sourceforge.net/
      Opensource and free.. take that Google...

    20. Re:The best feature of this toolkit by Anonymous Coward · · Score: 0

      Try not to be so literal. You'll be less boring.

    21. Re:The best feature of this toolkit by nostriluu · · Score: 2, Informative

      Besides XMLHttpRequest, there is a way to transfer data between Java and Javascript. An embedded Java applet can communicate with the server which passes values to Javascript. I was using this technique back in ~ 1997 to populate a select box based on input from an input box. I'm in a rush so can't track references to this down, but it should be considered in this history - the AJAX concept has been around for a while. Anyway, I'm only mentioning this because many people don't know about it and the original article is about Java. :)

    22. Re:The best feature of this toolkit by jtn · · Score: 1

      Bonus points for the obscure Red Dwarf reference, even if slightly wrong. :)

    23. Re:The best feature of this toolkit by Jasin+Natael · · Score: 1

      And don't forget about hidden iFrames... Browsers have the ability to target an iframe with a form, so you can pass in whatever form contents are there, and trigger your callback from an onload handler on the body tag of the response. In fact, for asynchronous file uploads, you still have to do it this way.

      --
      True science means that when you re-evaluate the evidence, you re-evaluate your faith.
    24. Re:The best feature of this toolkit by NutscrapeSucks · · Score: 1

      Before Google Suggest (and later GMail) caught everybody's attention, it languished relatively unknown to most developers for years.

      I don't know about "most developers". It really was widely used in the Microsoft dev world. I personally interviewed probably a half-dozen people who had hands-on "AJAX" experience in 2002. The technique had been populalized in certain "portal" products. People just didn't like to talk about it because it was one of those uncool IE-only proprietary intranet things.

      --
      Whenever I hear the word 'Innovation', I reach for my pistol.
    25. Re:The best feature of this toolkit by NutscrapeSucks · · Score: 1

      there is a way to transfer data between Java and Javascript.

      Before XMLHttpRequest, Microsoft had somehting called "Remote Scripting". I worked an a commercial product that used it. Netscape also had somehting similar, but I can't recall the name.

      --
      Whenever I hear the word 'Innovation', I reach for my pistol.
    26. Re:The best feature of this toolkit by Conright · · Score: 1

      Actually, neither Gmail nor Gmail Talk or even Google Maps for that matter use XHR to make server calls. They use their little iframe method.

    27. Re:The best feature of this toolkit by Anonymous Coward · · Score: 1, Informative

      I take it you don't know about Direct Web Remoting?

      http://getahead.ltd.uk/dwr/

    28. Re:The best feature of this toolkit by vdboor · · Score: 1
      If you're looking for a simple RPC mechanism over AJAX, I can recommend Xajax. It allows to you write RPC-calls in both directions: from JavaScript to PHP and from PHP to JavaScript. Since it's a simple small base library (LGPL!), you can become quote fluent in AJAX quickly.

      When your site has different requirements, GWT might be the way to go. They certainly know how to please developers with interesting technologies. :-)

      --
      The best way to accelerate a windows server is by 9.81 m/s2 ;-)
    29. Re:The best feature of this toolkit by mrcubehead · · Score: 1

      Looks like the primary difference is ZK allows UI design in pure mark-up (XUL components and ZUML) and sends to the server all UI events the fire at the client end (which is rendered in DHTML)... it claims no RPC involved; while Google is offering a programming toolkit to implement the UI, kind of like a Swing replacement, also looks like the RPC serializing may make for heavy page loads. Upside of Google toolkit is its pure Java - no need to learn scripting, or a new xml language.

    30. Re:The best feature of this toolkit by seizer · · Score: 1

      My apologies - I meant the output was cross platform (not just hacky and specific to IE), contrary to some of Microsoft's previous offerings.

      For what it's worth, Mono are working on an Atlas imitator at the moment.

    31. Re:The best feature of this toolkit by suv4x4 · · Score: 1

      you must have a different definition of cross-platform friendly to me then... I don't want to use ms windows in any form at all, so I can't develop this Microsoft Atlas stuff on my platform of choice.

      I'm in the same situation: I don't want to hear nonsense rants pointed towards Microsoft all the time (it was obvious he means the resulting product, not the coding environment), but do I have the choice?

      No.

      There's still no "Nonsense rant towards Microsoft, Sony or cliche about overlords, Soviet Russia, obligatory cartoon quotes etc." rating on Slashdot.

    32. Re:The best feature of this toolkit by samyem · · Score: 1

      You can do ZK in pure Java as well.. just take a look at the docs

    33. Re:The best feature of this toolkit by suv4x4 · · Score: 1

      It's not "beta" like this half-baked "me-too" from google

      Yea it's not half-baked just the example applications both ended up with fatal JavaScript errors that halted the whole Demo browser in both Firefox and IE.

      How.. now half-baked and non beta.

    34. Re:The best feature of this toolkit by Anonymous Coward · · Score: 0

      Which is exactly what Microsoft did to make their bajiollions of $$. While maybe not right for us, google is doing it right for them.

    35. Re:The best feature of this toolkit by complete+loony · · Score: 1

      I did something similar, and no I can't remember specifically when though I suppose I could track it down. We had a java applet that listened to a multicast conversation, that evaluated whatever javascript expression it recieved on the parent page. I used this to allow end users to change the contents of an availability page that would immediately update for everyone else who was viewing that page.

      --
      09F91102 no, 455FE104 nope, F190A1E8 uh-uh, 7A5F8A09 that's not it, C87294CE no. Ah! 452F6E403CDF10714E41DFAA257D313F.
    36. Re:The best feature of this toolkit by LordKronos · · Score: 1

      I second that recommendation for xajax. Quite powerful, yet extremely simple. I've been using it for all of my ajax development since I found it.

  3. I have yet to figure out AJAX by Council · · Score: 1, Insightful

    I keep trying to read the story, and my brain just keeps seeing GOOGLE AJAX WEB DEVELOPMENT and filling in XML RUBY ON RAILS TAGBLOGCAST WEB 2.0.

    --
    xkcd.com - a webcomic of mathematics, love, and language.
    1. Re:I have yet to figure out AJAX by DaoudaW · · Score: 5, Funny

      and my brain just keeps seeing GOOGLE AJAX WEB DEVELOPMENT

      Maybe we should just call it GAWD for short!

    2. Re:I have yet to figure out AJAX by Anonymous Coward · · Score: 0

      You forgot the most overused buzzword of 2006, slick.

    3. Re:I have yet to figure out AJAX by El_Muerte_TDS · · Score: 3, Funny

      Oh Gawd No!

      I forsee a couple of issues:
      "Spend the whole day playing with GAWD"
      "That site is mostly created by GAWD"

    4. Re:I have yet to figure out AJAX by Anonymous Coward · · Score: 0

      I think your referring to the object oriented version O-GAWD

  4. Yawn by Trimbo2 · · Score: 0, Troll

    Is there a way to filter out stores from the homepage by keyword? AJAX would be on my filter list.

    1. Re:Yawn by kanzels · · Score: 1

      Why?

      --
      Pixel image editor - http://www.kanzelsberger.com
    2. Re:Yawn by GundamFan · · Score: 1

      Likely because it isn't a joke about an unfortunatly named Nintendo console.

      --
      I don't give a damn for a man that can only spell a word one way.
      Mark Twain
    3. Re:Yawn by Trimbo2 · · Score: 1

      Something about "stuff that matters".

    4. Re:Yawn by volsung · · Score: 5, Funny
      To bring balance to the Force. For every crazed, frothing pusher of tech hype, there must be a sullen, ennui-laden detractor who either:
      • is bored by the new tech, and likes to proclaim so whenever possible.
      • did the same thing 5 years ago.
      • or thinks the technology is useless.

      This is required by the Central Hype-Limit Theorem:

      As the size of the sample increases, the average opinion of the group approaches the actual utility of the product in question.
    5. Re:Yawn by Anonymous Coward · · Score: 0

      This should be easily possible with Greasemonkey http://greasemonkey.mozdev.org/

    6. Re:Yawn by dyefade · · Score: 1

      Aside from being funny, that's one of the most insightful things I've read in a while.

      As the size of the sample increases, the average opinion of the group approaches the actual utility of the product in question.

      Superb.

    7. Re:Yawn by espressojim · · Score: 1

      Finally, my knowledge of statistics helps me understand a joke on slashdot.

      I guess that makes us both HUGE NERDS. Bravo!

  5. Once again, Yahoo! is overlooked by Bloodwine77 · · Score: 1, Interesting

    Yahoo has already done this, but apparently they don't have fanboys like Google. http://developer.yahoo.com/yui/

    1. Re:Once again, Yahoo! is overlooked by segfault_0 · · Score: 4, Insightful

      That appears to be precanned Javascript,etc. that alot of people have done before. This is Java programming and debugging straight to 100% browser compatible HTML and Javascript. The only group larger than the google fanboy club is the google is smarter than me and i hate them club.

      --

      I was crazy back when being crazy really meant something. (Charles Manson)
    2. Re:Once again, Yahoo! is overlooked by Sulka · · Score: 4, Informative

      Nope, there's a big difference between these libraries.

      The Y! framework still requires you to write HTML and Javascript - they just make implementing DHTML effects + AJAX less painful.

      The Google framework removes the base need for HTML and Javascript authoring from the application development process entirely. Obviously you'll want to make the app look nice and need custom styling but in order to actually develop the functionality, zero HTML is needed.

      As a consequence you can use the Yahoo stuff with any backend implementation language (PHP, Java, whatever) while the Google framework is limited to strictly Java. I don't mind though. :)

      --
      "Although it is not true that all conservatives are stupid, it is true that most stupid people are conservative."
    3. Re:Once again, Yahoo! is overlooked by Z0mb1eman · · Score: 4, Informative

      Ohhh? Was it overlooked?

      To be fair, Yahoo's is just a collection of controls and widgets to be included in a project indvidually - which has been offered by many other sites for quite a while now - while Google's promises to be a framework that takes the headache out of front-end AJAX development. Of course, in my experience "automatically generates code" and "takes the headache out of" are eventually incompatible down the line, but what do I know.

      I haven't played with either yet, but they sound like two different beasts to me. The most interesting part of this to me would be to see how Google writes their web code.

      --
      ClutterMe.com - easiest site creation on the Net. Just click and type.
    4. Re:Once again, Yahoo! is overlooked by gbjbaanb · · Score: 2, Funny

      And that includes Scott Adams

    5. Re:Once again, Yahoo! is overlooked by tehcyder · · Score: 1
      The only group larger than the google fanboy club is the google is smarter than me and i hate them club.
      You forgot about the rather large "people who don't think Google is a sentient being" club.
      --
      To have a right to do a thing is not at all the same as to be right in doing it
    6. Re:Once again, Yahoo! is overlooked by cyclomedia · · Score: 1

      =fun!

      think of it like this:

      write code in c -> compiler -> excecutable

      equivelant to:

      build site in google java ajax thingy -> "export" -> web site

      making the html/javascript side of the coding analogous to coding an executable in hex

      --
      If you don't risk failure you don't risk success.
    7. Re:Once again, Yahoo! is overlooked by crazyjimmy · · Score: 1

      When it comes to Google, I'm thoroughly Agnostic.

      --Jimmy

    8. Re:Once again, Yahoo! is overlooked by f00zy · · Score: 1
    9. Re:Once again, Yahoo! is overlooked by Seahawk · · Score: 1

      Actually - only the generated UI needs to be done in Java - you can pretty much talk to anything with the built-in JSON functionality.

      So you can write your UI in Java with GWT, but make that app talk to a php webserver - no need for java after the app is "compiled".

    10. Re:Once again, Yahoo! is overlooked by biffta · · Score: 1
      google java ajax thingy -> "export" -> web site

      I must admit that is a tempting function but what about the turnaround time? Say your customer spots a typo in the web site does that mean you have edit your java source and recompile?

    11. Re:Once again, Yahoo! is overlooked by bigpat · · Score: 1

      As a consequence you can use the Yahoo stuff with any backend implementation language (PHP, Java, whatever) while the Google framework is limited to strictly Java. I don't mind though. :)

      Is that really true? Although that is what they seem to be pushing, couldn't you just use this toolkit for the stuff that runs in the browser and then use whatever you want on the servlet side to respond to the remote procedure call (RPC). I mean in theory it should be doable.

      Really the biggest benefit to this seems to be to leverage all the experience google has gained about browser incompatibilities, so you can use this to compile into javacsript code that works on IE, firefox and others.

      But the servlet side of things really is a whole other abstraction layer. Why not mix and match?

    12. Re:Once again, Yahoo! is overlooked by segfault_0 · · Score: 1

      Would mod funny if i had the points..

      --

      I was crazy back when being crazy really meant something. (Charles Manson)
    13. Re:Once again, Yahoo! is overlooked by Anonymous Coward · · Score: 0

      "automatically generates code" and "takes the headache out of" are eventually incompatible down the line

      Much like the way a C++ compiler automatically generating x86 instructions doesn't take the headache out of writing code?

  6. Interesting... by GundamFan · · Score: 0
    "...developers who don't speak browser quirks as a second language."


    There is such a thing?
    --
    I don't give a damn for a man that can only spell a word one way.
    Mark Twain
    1. Re:Interesting... by Freexe · · Score: 3, Interesting

      "http://www.w3.org/TR/html4/strict.dtd"><html<head <title>Re:Interesting?</></><body<h1<em>I</> Do believe there </><p<a
      href="http://www.example.com"<em>there</></>.
      Evil?</><p<a
      href="http://www.example.com/">is</></></></>

      Yes the above code is valid html. Do you speak it?

      --
      "In a time of universal deceit - telling the truth is a revolutionary act." - George Orwell
    2. Re:Interesting... by Tony+Hoyle · · Score: 1

      That just proves the w3c validator has bugs in it. There's no way that's valid HTML.

    3. Re:Interesting... by GundamFan · · Score: 1

      No.. but then again I am not a developer... ;)

      The sad part is I can read some of it...

      --
      I don't give a damn for a man that can only spell a word one way.
      Mark Twain
    4. Re:Interesting... by Freexe · · Score: 2, Informative

      The w3c validator is fine, to my understanding this is valid html

      http://virtuelvis.com/archives/2004/02/evilml

      --
      "In a time of universal deceit - telling the truth is a revolutionary act." - George Orwell
    5. Re:Interesting... by Bogtha · · Score: 3, Informative

      There's no way that's valid HTML.

      Yes, it is. It just uses HTML syntax that virtually no browsers have implemented. This is what the HTML 4.01 specification has to say on the matter:

      Some SGML SHORTTAG constructs save typing but add no expressive capability to the SGML application. Although these constructs technically introduce no ambiguity, they reduce the robustness of documents, especially when the language is enhanced to include new elements. Thus, while SHORTTAG constructs of SGML related to attributes are widely used and implemented, those related to elements are not. Documents that use them are conforming SGML documents, but are unlikely to work with many existing HTML tools.

      --
      Bogtha Bogtha Bogtha
    6. Re:Interesting... by jZnat · · Score: 1

      No, it includes some relatively unknown bits of the HTML 4.01 spec. You can use to close the most recent open element, but I don't know of any browsers that support it nor any web developers who use it. I'm not positive, but that might be something inherited from SGML.

      --
      'Yes, firefox is indeed greater than women. Can women block pops up for you? No. Can Firefox show you naked women? Yes.'
    7. Re:Interesting... by jc42 · · Score: 1

      Yes the above code is valid html. Do you speak it?

      Yeah, but I also know English pretty well, and that wasn't syntactically correct English. The "there" should be "they're". And the "Do" really shouldn't be capitalized, unless you're also going to capitalize "believe".

      Oh, and where's the closing > for the <body tag? ;-)

      --
      Those who do study history are doomed to stand helplessly by while everyone else repeats it.
    8. Re:Interesting... by cliveholloway · · Score: 1
      Argghhh. I just can't see past the bad grammar to work out whether the code is valid or not. It's THEIR ffs ;-)

      Maybe they need an "English 1.0 (transitional)" validator?

      --
      -- Trinity in high heels carrying a whip: The donimatrix - there is no spoonerism
    9. Re:Interesting... by Freexe · · Score: 1

      I ment to say 'I do believe there is', which I'm pretty sure is correct. The 'Evil' was left in by mistake from the original. It should be 'they're' otherwise.

      --
      "In a time of universal deceit - telling the truth is a revolutionary act." - George Orwell
  7. I knew this would eventually happen. by thealsir · · Score: 3, Insightful

    Developers are tired of having to reinvent the wheel every time with dynamic components on web pages, and things like PEAR do not have all their component lib. in one centralized location like this. A developer framework for AJAX is definitely a revolutionary. It marks the move toward using web-based platforms for a greater and greater percentage of common computing functions.

    --
    Do not downmod posts "overrated" simply because you disagree with them.
    1. Re:I knew this would eventually happen. by certel · · Score: 1

      It's going to be interesting what ideas for new web development will come of this. I'm excited to see the next new thing.

    2. Re:I knew this would eventually happen. by Anonymous Coward · · Score: 0

      Eventually?! It's already happened. Several times. Microsoft, Yahoo, and several open source projects already provide AJAX toolkit alternatives in other languages than Java.

  8. I, for one... by ABoerma · · Score: 5, Funny

    ...welcome our new buzzword-compliant overlords. MFG, all I read these days is Google, Java and/or AJAX.

    1. Re:I, for one... by Ingolfke · · Score: 4, Insightful

      Yeah, lets bring back the good ole' days when Linx, Internet, world wide web, or microcomputer were the buzzwords of the day.

      You people are look old farts complaining about the kids and their music today. Sure there are buzzwords and there is hype, but there always is, so just deal with it.

    2. Re:I, for one... by Anonymous Coward · · Score: 0

      A bit harsh I think, but he has a point.

      Java: 2nd best programming langauge ever, a joy to work with

      Google: A very good (if over-hyped) search engine

      AJAX: yet another sticky plaster to try solve the problem of creating applications on the web. The wrong solution imho. Not to mention the fact that it is several years old (XMLHttpRequest appeared in IE when, IE4?) and has become popular due to a buzzword! Oh and we are all suddenly comfortable running ActiveX controls in our web apps now are we? The group-think would have blasted people for using XMLHttpRequest a few short years ago!

      Whatever, it'll soon blow over.

    3. Re:I, for one... by Ingolfke · · Score: 1

      I don't think the features that XMLHTTPRequest provides will blow over... Flickr, Google Mpas, and many other VERY popular websites that have been unfortunately branded "Web 2.0" sites are what people want. They want dyanmic content quickly without refreshing their screens.. I do wish MS would allow for instantiation of the XMLHTTPRequest object w/o requiring ActiveX support.

    4. Re:I, for one... by Anonymous Coward · · Score: 0

      Java: 2nd best programming langauge ever, a joy to work with

      Spoken like someone who's only ever used two programming languages.

  9. Yeah, right.. by schon · · Score: 5, Informative
    Yahoo has already done this

    No, they haven't - at least not unless you have some other information you're not sharing.

    From the Google site:
    You write your front end in the Java programming language, and the GWT compiler converts your Java classes to browser-compliant JavaScript and HTML.

    From the Yahoo link you provided:
    To use a specific component from the YUI Library, include the path to that library in a <script> tag within your web page.

    So, how is this the same thing?
    1. Re:Yeah, right.. by Anonymous Coward · · Score: 0

      >

      So...it's ASP.NET.

  10. Re:I've used Ajax a few times... by Whiney+Mac+Fanboy · · Score: 1

    I've seen ajax a few times....

    But I usually don't inflict tired jokes on the slashdot audience (oh, wait, I do all the time, sorry)

    --
    There are shills on slashdot. Apparently, I'm one of them.
  11. but is it prototype.js based? by acroyear · · Score: 1

    'cause i'm with this blog and I won't use it. I've already taken it (and ajaxtags) out of my current project and replaced it with js code based on DWR that won't conflict.

    --
    "But remember, most lynch mobs aren't this nice." (H.Simpson)
    -- Joe
    1. Re:but is it prototype.js based? by Anonymous Coward · · Score: 0

      Why would Google use prototype?

    2. Re:but is it prototype.js based? by acroyear · · Score: 1

      at this point i don't know who does and who doesn't...well, i know some that do (Rico, Ajaxtags, script.) and it annoys the hell out of me to want just one feature and i can't get it without getting a bunch of crap and a javascript programming mindset that i think is overkill. yeah, it works, and i suppose if your app is 95% javascript it's probably for the best, but i need to mix-and-match features from several libraries and prototype gets in the way.

      --
      "But remember, most lynch mobs aren't this nice." (H.Simpson)
      -- Joe
  12. The worst feature of this toolkit... by Bogtha · · Score: 5, Interesting

    ...is that it's a closed-source, binary-only executable. Download page:

    The GWT Java-to-JavaScript compiler and hosted web browser are shipped binary-only and subject to the license below.

    --
    Bogtha Bogtha Bogtha
    1. Re:The worst feature of this toolkit... by jZnat · · Score: 1

      So then what parts of it are released under the Apache License 2.0?

      --
      'Yes, firefox is indeed greater than women. Can women block pops up for you? No. Can Firefox show you naked women? Yes.'
    2. Re:The worst feature of this toolkit... by Bogtha · · Score: 1

      Um, read the link I provided. That's why it's there. It says very clearly that the class libraries are released under the Apache license, but not the actual compiler or hosted browser.

      --
      Bogtha Bogtha Bogtha
    3. Re:The worst feature of this toolkit... by Anonymous Coward · · Score: 0

      Single standalone developers have done the same thing in open source. But this is google and it gets a slashdot story and publicity. Then, they'll say the invented AJAX or something and give "best open source product of the year" award to themselves in a summer of code event.

      Why don't they fix broken pagerank instead?

    4. Re:The worst feature of this toolkit... by nacturation · · Score: 1

      Please let us know when your open source Java-to-Javascript compiler is available to download. Thanks.

      --
      Want to improve your Karma? Instead of "Post Anonymously", try the "Post Humously" option.
    5. Re:The worst feature of this toolkit... by Anonymous Coward · · Score: 0

      Have you ever heard of unjaring the 'binaries'? the source is there bud,
      just in time for you to wake up.

  13. The license is restrictive.. mods prohibited by HighOrbit · · Score: 5, Informative

    Prohibited Actions

    Except for distributions for internal business and/or personal use to your employees or contractors in compliance with these Terms and Conditions, you may not distribute Google Web Toolkit Development Tools or any services or software associated with or derived from them, or modify, copy, license, or create derivative works from Google Web Toolkit Development Tools, unless you obtain Google's written permission in advance. If you wish to do any of the above, please contact us by emailing apis@google.com. You may not use the Google Web Toolkit Development Tools to develop or distribute products that violate the law or legal rights of third parties.


    No, I'm not looking a gift horse in the mouth and why does this matter? Because I happen to prefer PHP for web development (just a personal preference). It would be nice to be able to move the JavaScript components off from the Java framework into a PHP based framework. Well, apparantly you can't do that without special permission.

    BTW, the Yahoo UI Library is BSD licensed.

    1. Re:The license is restrictive.. mods prohibited by shdragon · · Score: 1

      No, I'm not looking a gift horse in the mouth and why does this matter? Because I happen to prefer PHP for web development (just a personal preference). It would be nice to be able to move the JavaScript components off from the Java framework into a PHP based framework. Well, apparantly you can't do that without special permission.

      BTW, the Yahoo UI Library is BSD licensed.


      They're only asking for you to request permission. What's the big deal?

      --
      "...we dont care about the economics; we just want to be able to hack great stuff."
    2. Re:The license is restrictive.. mods prohibited by lilnobody · · Score: 2, Informative
      Prohibited Actions

      Except for distributions for internal business and/or personal use to your employees or contractors in compliance with these Terms and Conditions, you may not distribute Google Web Toolkit Development Tools or any services or software associated with or derived from them, or modify, copy, license, or create derivative works from Google Web Toolkit Development Tools, unless you obtain Google's written permission in advance. If you wish to do any of the above, please contact us by emailing apis@google.com. You may not use the Google Web Toolkit Development Tools to develop or distribute products that violate the law or legal rights of third parties.

      No, I'm not looking a gift horse in the mouth and why does this matter? Because I happen to prefer PHP for web development (just a personal preference). It would be nice to be able to move the JavaScript components off from the Java framework into a PHP based framework. Well, apparantly you can't do that without special permission.

      You're misunderstanding, although the legalize associated with the term 'derivative work' when talking about a development environment is aterribly obtuse. This says nothing about the generated code or anything you make with the tools, this is talking about the tools themselves. They are saying you can't redistribute the development environment itself, edit the DE and call it your own, edit the DE and sell it to someone, etc.

      Based on this paragraph alone (I haven't read the rest) you can cut and paste into your php just fine.

      nobody

    3. Re:The license is restrictive.. mods prohibited by MindStalker · · Score: 1

      No parent was saying that they wanted to modify Googles Tools to work with PHP instead of Java.

    4. Re:The license is restrictive.. mods prohibited by Cederic · · Score: 2, Interesting


      So do it, get it done in the next two weeks, email Google, ask permission to distribute it and get offered a job.

    5. Re:The license is restrictive.. mods prohibited by Dorktrix · · Score: 5, Informative

      Have your attorney review the terms -- I think you are misunderstanding them. You may not redistribute GWT itself (the actual zip files containing the GWT compiler, among other things), but you own all output from the tools. We even released the source code to the class libraries under the Apache 2.0 open source license.

      GWT is available for commercial, non-commercial, and enterprise use with almost no strings attached. Please review the complete terms for details:

      http://code.google.com/webtoolkit/terms.html

      Bret Taylor
      Product Manager, Google Web Toolkit

    6. Re:The license is restrictive.. mods prohibited by Locutus · · Score: 1

      Bret,
          Thanks for clearing that up as I also thought it ment generated code use was restricted. This looks like a great tool and I already have a couple of small projects to try it on. And nice work leveraging JAVA for this.

      LoB

      --
      "Anyone who stands out in the middle of a road looks like roadkill to me." --Linus
    7. Re:The license is restrictive.. mods prohibited by slashdot.org · · Score: 1

      You are probably the wrong person to tell, but I just wanted to point to a potential bug:

      If you go to the Kitchensink example, click on the "See Demo", then click on "Popups", then click "Show Dialog", then you can drag the DialogBox outside of your browser window (make your browser window smaller if needed). Now if you let go of the DialogBox, while it's not visible, you in essense lock up the web page.

      Like I said, there's probably a better person to report this too, but I just happened upon it, and as I'm personally not interested in developing with this product, I don't have the time to dig and find the bug reporting page.

      Good luck with the product though, it looks good!

    8. Re:The license is restrictive.. mods prohibited by truesnipe · · Score: 1

      Bret,

                You guys have done a great job. I was just waiting for something like this to come out from Google. I can't wait till I start on moving my couple of web apps to use this framework for a richer user experience.

      Narinder.
      www.truesnipe.com.

    9. Re:The license is restrictive.. mods prohibited by Anonymous Coward · · Score: 0

      The license is still too restrictive.

      "You may not distribute ... any services or software associated with ... [GWT], unless you obtain Google's written permission in advance."

      In otherwords, if for example, someone wanted to create a plugin for IntelliJ or some other IDE that wrapped around the GWT, they cannot redistribute _their_ plugin, even if it doesn't contain a single byte of GWT code (assume the end user also had to download the GWT separately from Google), because it is an associative work to the toolkit. Unless of course they beg Google for permission first.

      Why Google would prohibit this is crazy... Legally speaking, I can't even mock up something quick and dirty in the evening and put it on my blog as a proof of concept. Fortunately, the other various toolkits mentioned predominantly have no such restrictions.

    10. Re:The license is restrictive.. mods prohibited by jZnat · · Score: 1

      He's right, y'know. One time, I searched for "objdump" on Google, and I was offered a job as a Unix system admin at Google. Strangest advertisement I've ever seen there...

      --
      'Yes, firefox is indeed greater than women. Can women block pops up for you? No. Can Firefox show you naked women? Yes.'
  14. Another downside... by Bogtha · · Score: 5, Interesting

    ...is that it phones home to Google.

    When you use the Google Web Toolkit's hosted web browser, the application sends a request back to Google's servers to check to see if you are using the most recent version of the product. As a part of this request, Google will log usage data including a timestamp of the date and time you downloaded the Google Web Toolkit and the IP address for your computer. We won't log cookies or personal information about you, and we will use any data we log only in the aggregate to operate and improve the Google Web Toolkit and other Google Services. Please see the Google Privacy Policy for more information.

    --
    Bogtha Bogtha Bogtha
    1. Re:Another downside... by avdp · · Score: 5, Insightful

      As opposed to Firefox (and right about every modern application I've used), which doesn't? It's just checking if there is an update to download. And only in the "hosted web browser" which you don't even need to use. Jeez. Paranoid.

    2. Re:Another downside... by alexhs · · Score: 1

      As opposed to Firefox (and right about every modern application I've used), which doesn't?

      The apps I use do not (this includes Firefox). I'm doing "apt-get update" to check for new versions ;)

      Oh, you meant "applications for MS-Windows" :)
      That's what happens when you don't have a package management system. ;)

      Seriously, why isn't MS doing that : when you install an app (MS or 3rd party), it writes somewhere a link to an internet repository, that will be checked when going to Control Panel -> Add/remove apps.

      It's not like it's a Linuxism : QNX does that and IIRC, BeOS also did it, but - correct me if I'm wrong - it was more centralized, excluding 3rd parties (thinking of software wallet or something like that). What about MacOS X ?

      --
      I have discovered a truly marvelous proof of killer sig, which this margin is too narrow to contain.
    3. Re:Another downside... by cthrall · · Score: 1
      Seriously, why isn't MS doing that : when you install an app (MS or 3rd party), it writes somewhere a link to an internet repository, that will be checked when going to Control Panel -> Add/remove apps.


      Application developers can add links and version info in Add/Remove Programs.

      Also, Active Directory admins can publish packages to clients on the domain. The packages will auto-install or show up in Add/Remove Programs, depending on how it's configured.

      This would be similar to the internal RPM repositories I've seen used at past jobs.

      Just because people don't use it doesn't mean it's not there.
    4. Re:Another downside... by amliebsch · · Score: 3, Insightful

      It must be because Microsoft adheres to the "bazaar" notion of third-party software, rather than the "cathedral" of a centrally-managed package maintainer.

      --
      If you don't know where you are going, you will wind up somewhere else.
    5. Re:Another downside... by Anonymous Coward · · Score: 0

      Every application, every piece of software should do this.

    6. Re:Another downside... by Mr.+Underbridge · · Score: 2
      The apps I use do not (this includes Firefox)

      It still checks, you just aren't using the results of that check.

    7. Re:Another downside... by orasio · · Score: 3, Insightful

      It phones home, and you don't have the source, that's enough to be paranoid.

    8. Re:Another downside... by avdp · · Score: 1

      Well, ok - let's address the Linux world as well.

      There are those that check repositories manually on a regular basis (or never!) for updates. The repositories (in some case run by the vendor) will have similar anonymous information about you that Google logs. However this method is a potential problem - you may have a vulnerable machine/software if you don't get your patches fast enough (or not at all).

      Then there are those that run tools like RHN in the background (similar to Automatic Updates in Windows) - those tools poll the repositories once a day or more often. You'll giving the repository owner (in some case the software vendors) the same info as you're giving to Google, and potentially more (like a userid) if it's a service you're paying for.

      Then there are those that just download and compile everything manually. OK, if you're one of them good for you. Your tinhat is firmly implanted. Hopefully you're doing your downloads through anonymous proxies. Heaven forbid a vendor should know the real IP address of the downloaders!!!

      It's not really so different in Linux world than it is in Windows world... Software (wether it's in the software itself, or through a proxy - like a package manager) check for updates. In the process of checking for updates, certain information (usually anonymous) is provided to the server.

    9. Re:Another downside... by avdp · · Score: 2, Interesting

      Well, you've got a point there. You only have Google's word that they're only sending what they clearly state they're sending. Even if you don't explicitely trust Google (and many don't) - people inspect these network packets all the time to keep the vendor honest. It's been a while since I've seen a report of a vendor being sneaky and doing more than advertise. I think most reputable vendors have learned the lesson that the PR hit is just not worth it.

      But again, what Google is doing is very common practice in Windows world (and getting quite popular in Linux world). It is by far the best way to keep software updated, and push (actually, really pull) updates and fix vulnerabilities as fast as possible.

    10. Re:Another downside... by Anonymous Coward · · Score: 0

      When home is Google, who cares?

    11. Re:Another downside... by alexhs · · Score: 1
      Given your point of view, I agree completely.

      But it wasn't exactly what I was thinking of.

      When an application checks for updates by itself, it's
      1. Protocol fragmentation : each app talks home in its own language, with its own potential vulnerabilities. Also if the language isn't documented, you don't know how much information is leaked as they could send information that wouldn't have been transmitted with a standard documented package management protocol.
      2. Notification fragmentation : each app checks for updates asynchronously, so your notification bar is blinking multiple times when a single check for all apps would have been achieved with an unified system.
      --
      I have discovered a truly marvelous proof of killer sig, which this margin is too narrow to contain.
    12. Re:Another downside... by Anonymous Coward · · Score: 0

      Yeah, but why don't they provide the source code? If they are as ahead of the game as they claim, they should know better!

    13. Re:Another downside... by heinousjay · · Score: 1

      Yeah, Google will now know how many hit points your night elf has.

      --
      Slashdot - where whining about luck is the new way to make the world you want.
    14. Re:Another downside... by Anonymous Coward · · Score: 0

      Do you use Windows?

    15. Re:Another downside... by orasio · · Score: 1

      Not at home.
      I didn't use it for work, either, until I got a better [paying] job.
      At my current job I had to use windows up until now, because I had to do some light support for a VB6.0 system. Today I uninstalled Visual Studio, and it's the beggining of the end of Windows for me, it's been the longest three months in the last five years, experiencing XP. It's better than win98, the last win I used, but it's a poor experience, compared to Ubuntu 5.10.
      I could see some software did phone home (Google desktop at least, and it got uninstalled, I installed MSYS and locate) but at work that is the problem of the sysadmins, Eclipse is mostly what I do, I don't care if the software they make me install does phone home. At home, it's a whole other issue.

    16. Re:Another downside... by orasio · · Score: 1

      The fact that phoning home is a common practice doesn't imply that it's good!

      My apps don't need to phone home to get updated. I trust the people I choose to trust for that task. I use Ubuntu, and only Ubuntu and firefox do check for upgrades.
      and that's because I'm using a custom Firefox version, and I want it to phone home. And I know exactly what it does.

      I don't subscribe to the pov that fear of being discovered will keep Google honest.
      I'd much rather just have the source.

    17. Re:Another downside... by jZnat · · Score: 3, Informative

      You can disable the checking for updates either as an option in about:config or as an actual compile-time option.

      --
      'Yes, firefox is indeed greater than women. Can women block pops up for you? No. Can Firefox show you naked women? Yes.'
    18. Re:Another downside... by Jussi+K.+Kojootti · · Score: 1
      But again, what Google is doing is very common practice in Windows world (and getting quite popular in Linux world). It is by far the best way to keep software updated, and push (actually, really pull) updates and fix vulnerabilities as fast as possible.
      It's better than doing nothing, I'll give you that. But do you seriously mean that having hundreds of applications all phone home is somehow better than proper package management? I disagree.
    19. Re:Another downside... by avdp · · Score: 1

      Package management doesn't imply that you're not phoning home to dozens of different vendors. In fact on Linux you can (and often do) add lots of different repositories to pull from.

      It would be nice for Windows to have a standard packages (and manager) rather than a every vendor coming up with its own installers and updaters. But it doesn't exist (and Microsoft would probably would get sued out of existence by the vendors if they tried - antitrust and all that), and wouldn't do that much I think to alleviate the fears of the paranoids out there.

    20. Re:Another downside... by avdp · · Score: 1

      Well, good for you! I know that's the way it works on Linux, and it's an artifact of the open source that anybody (like Ubuntu) can distribute and customize third party software. I am not interested to start a debate on open source versus closed source (obviously on Slashdot we all know our collective opinion on that) - just recognize it's not possible (legally or practically) in the closed source world of Microsoft.

    21. Re:Another downside... by orasio · · Score: 1

      It's not an artifact of the open source. Open source has nothing to with it.
      Fair licenses allow for sensible distribution, of course.

      But you are making the wrong reasoning. Software distributors are responsible for the action they take. Only because it's impossible for them to have a sensible way of distributing updates in mswindows , it doesn't mean that it's ok to do it wrong.
      There _could_ be something like synaptic for software packages in mswindows, that gives you a console, and lets you take your own decisions if you want to, like a parallel to mswindows update.

  15. Wow by astralbat · · Score: 3, Interesting

    I'm not into fanboyism but this is very very impressive. I took a look at the demos. The Desktop App Clone is particularly very impressive and it shows you what can be achieved with this stuff! I've never liked web development for the compatibility nightmare and plus the fact that it's a very messy business. Java with it's object oriented goodness will allow feature full applications to be developed extremely quickly!

    1. Re:Wow by tehcyder · · Score: 1
      I'm not into fanboyism...
      This is one of those opening gambits which are so transparently false that they have the opposite effect to the one intended i.e. they make you even more on your guard for whatever they are denying than you would have been.

      Cf "Not to start a flamewar, but..." or "I'm not a racist, but..."

      --
      To have a right to do a thing is not at all the same as to be right in doing it
    2. Re:Wow by Dog-Cow · · Score: 1

      "It's an old tradition, or a charter, or something."

      It's a tradition, or an old charter or something.

      I think that's closer to the actual quote, but I don't have any Rankin books at work.

    3. Re:Wow by astralbat · · Score: 1
      I'm usually on the other end trying to balance things when it comes to fanboy comments on here. I just like to make things clear that I'm not a Google fanboy :-)

      Whenever a Google topic comes up there seems to be a runnaway positive feedback loop of fanboy comments and quite frankly I'm getting tired of the stereotype.

    4. Re:Wow by tehcyder · · Score: 1

      I consider my wrists slapped and will correct it immediately, my only excuse is that I don't have any RR books at work, but I still should have tried Google.

      --
      To have a right to do a thing is not at all the same as to be right in doing it
  16. Not included and YUI comparisons... by mgkimsal2 · · Score: 4, Informative

    The oft-copied 'google suggest' dropdown stuff. It's not something demoed in the 'kitchensink' app they provide at http://code.google.com/webtoolkit/documentation/ex amples/kitchensink/.

    I agree with someone else that the Yahoo UI (yui) toolkit seems to get ignored a bit, but I think this plays to a different crowd.

    1) This is a java-based thing only it seems. People writing .net can use atlas for most of these features, people using Ruby or other scripting langauges probably have bindings to scriptaculous and other libraries to handle most of this. There were/are probably Java bindings already for scriptaculous, but this makes it easier for java people already used to swing/awt stuff.

    2) The YUI stuff was more javascript oriented, and, from my experience, difficult to use in some settings. I had a hard time getting the slider stuff to work as needed based solely on their code and one example page, for example. Perhaps that makes me not as l33t as some others who can debug others' javascript in their sleep - I dunno. I do know that if Google makes this easy for people to adopt, it'll take off. Partially because there's a lot of google love amongst early-adopters in the tech community, and partially because making things easy is just a good way to attract people. :)

    3) With the YUI stuff, Yahoo was/is seeming to cater to the scripting crowd more (witness the native serialized PHP responses you can get back). If google is going after the "I write Java apps" crowd, they may be able to bring in a new set of people to web-app development who before now were not in the web space.

    I interviewed one of the Yahoo engineers who worked on the YUI widgets release at my podcast - http://webdevradio.com - you can get some more perspective on what Yahoo was/is doing and trying to achieve with that move.

    Just some random thoughts...

    1. Re:Not included and YUI comparisons... by Anonymous Coward · · Score: 0

      Not included...The oft-copied 'google suggest' dropdown stuff

      Not directly, but they do include the means to make remote method calls and a pop-up box implementation...doesn't seem like it would be too hard to combine the two.

  17. Take notes all.. by boxxa · · Score: 3, Interesting

    This is great news for all the developers out there. Google by doing this has proved once again that smart business practices and investments make a company, now how much software they patent and lock down. They specfically say that you can create applications like Google Maps and Gmail using their framework. Is someone gonna create a new Gmail or seach engine and take over Google? Prolly not, but Google has shown that not only can it develop high power applications and set the footprints for following developers, but they can also help the community advance just as they have. Just one of the many reasons I love Google.

    --
    Bryan
    1. Re:Take notes all.. by gnum · · Score: 1

      Amen :D

    2. Re:Take notes all.. by Skreems · · Score: 1

      Yeah, they SAY you can create these apps, but I'm unable to tell from their demos... is this a brand new JSP-style server-side scripting system? Or does their compiler just spit out static html+js? Because if it's JUST static code, then how do you propose to use this system to write a database-driven website like GMail or Google Maps? I don't see how this does anything like that.

      --
      Slashdot needs a "-1, Wrong" moderation option.
      The Urban Hippie
    3. Re:Take notes all.. by Anonymous Coward · · Score: 0

      You don't own any Google stock now, do you?

  18. Nope - OWA was closed. by mgkimsal2 · · Score: 5, Informative

    Sorry, but I have to give it to someone other than Microsoft. While they did essentially invent the tech behind Ajax, the only major project they used it on was basically something that was closed. I don't mean source, but not open to the public. You only saw it if you had an organization using Outlook/Exchange in the first place, which still excluded a huge majority of people using the web. Had they ported hotmail to the OWA interface, that would have been a major revolution far greater than google maps or anything else. But they didn't.

    1. Re:Nope - OWA was closed. by Anonymous Coward · · Score: 0

      They have ported hotmail to ajax, it's called windows live mail now.

      live.com

    2. Re:Nope - OWA was closed. by Amouth · · Score: 1

      I have to agree with you on this.... this is why we run exchange server because of the Outlook 2003 cached exchange mode and OWA.. the ablility to have multi desktops and your web mail fully synced and even your pda connected directly to the server.

      If ms would take the time to improve OWA's abilitys with other browsers they would have the most powerful web mail out there.

      on the up side if you are willing to rip your hair out you can fix most of the cross browser issues your self - it isn't that bad

      --
      '...if only "Jumping to a Conclusion" was an event in the Olympics.'
  19. Re:AJAX isn't really ready for .NET by Anonymous Coward · · Score: 3, Informative

    .NET and AJAX really don't play nicely.

    Have you seen ICallbackEventHandler in ASP.NET 2 and MS's own ATLAS toolkit?

  20. YUI by mattwarden · · Score: 2, Interesting

    This impressive framework promises to make AJAX available to the masses and is one more step towards Google becoming the de facto Internet platform provider."

    Erm, actually they're playing catch up. From what I can tell, GWT is rather inferior to YUI.

    1. Re:YUI by jtolds · · Score: 1

      Perhaps. Best I can tell, this GWT stuff means you don't even have to touch HTML or Javascript with a stick if you don't want to, and the end result is still an AJAX app.
      YUI from my understanding is a somewhat different tool: essentially a library of cool javascript routines and otherwise.

      I could be wrong.

    2. Re:YUI by mattwarden · · Score: 1

      My comment is premature. It is taking a long time to grasp fully what GWT is and what it can do. I was basing my evaluation only on the modules available. I assume more modules will be forthcoming, but for now YUI wins on that front. But, the point is that they might not be as comparable as I originally thought. Mea culpa.

  21. An AJAX Window Manager? by pigreco314 · · Score: 0

    Completely new to the technology and thinking on top of my mind whether it would be possible to create a Window Manager running as an AJAX application within a browser...

    --
    "linux" is a very common word and was not included in your search.
    1. Re:An AJAX Window Manager? by Anonymous Coward · · Score: 0

      the rest of us calls it a website

    2. Re:An AJAX Window Manager? by not+already+in+use · · Score: 1

      Yes, it could be done. I've thought about it before, and I don't think it should be limited to a browser. Imagine an OS where the entire interface was essentially ajax. Any browser passing the acid2 test could replicate any OS look and feel. JS certainly isn't ideal for fancy UI effects, but ive used scriptaculous lib and it does a very good job with transparency and other cool effects. Of course, any OS that decided to take on this approach would certainly optimize js to death. This way, all you'd have to do to create a new theme would be to plug in a different CSS file.

      --
      Similes are like metaphors
    3. Re:An AJAX Window Manager? by neveragain4181 · · Score: 1

      You'll need IETab or (gasp) IE5+, but this comes to mind:

      http://omar.mvps.org/

      I can't decide whether he's clever or just insane...

  22. Re:More Java Added To The Quagmire by gathas · · Score: 0, Offtopic

    I Do Not Like Green Eggs and Ham! Did anyone else think this when read this post?

  23. Re:Ho Hum.... by Spad · · Score: 0

    Yes, that this kit clearly isn't aimed at you.

  24. Re:Interesting... BrowserQuirks++ by mnemotronic · · Score: 3, Informative
    Yes. BrowserQuirks is the vast range of dialects needed, beyond the root languages AychTeeEml, X-Eml, ThisWeeksVersionOfJavascriptAndWereStillNotEcmaCom pliant, and Sea-SS. BrowserQuirks is not so much an independent language, as it is a definition of what the root languges are not. BrowserQuirks (currently in beta rev 72429) is a dynamic, symbiotic, multi-vendor organism, which changes on a regular basis. There is no documentation, unless you're able to "read between the lines" of the various browser release notes - any root language feature not mentioned explicitly is probably not supported, or is supported in a non-standard way. And for that matter, even features that are mentioned are probably done in a non-standard way. A good comparison in the real world is to rapidly mutating virus that alternates between relatively benign and threatens to destroy all carbon-based life.

    The browser vendors consider this "a really good thing" because it offers "product differentiation" and "market segment focus". The cost in human lives is not an issue.

    --
    The Russians have won. They have made the world a cesspool of distrust, greed, fear and hate.
  25. ...or is it just one more framework? by RISTMO · · Score: 1

    Sounds great for really large sites, but for the average developer, is it an improvement? Sure, if you're already coding the site in Java, it's a great tool. Still, I'd just as soon keep my existing AJAX class in an external JavaScript file and include it with 1 line of html. Customizing it for each site is quite fast, and it leaves me with full control. It's the same major complaint I have against ASP.NET: Why learn code to generate your code when you can cut out the middle man and write your own *exactly* how you want it?

    1. Re:...or is it just one more framework? by Malc · · Score: 1

      Yeah, that's why I still write everything in assembly.

    2. Re:...or is it just one more framework? by RISTMO · · Score: 1

      That's a straw man argument. There's a difference between coding everything from scratch and including a ready-built class that can be easily customized for your specific application.

    3. Re:...or is it just one more framework? by SnapShot · · Score: 1

      As a Java programmer and I'm interested in trying it. I mostly code java and, though I'm getting to be a fan of JavaScript for nifty client side stuff, I'm realizing that there is nothing I'd rather do less than try and figure out browser incompatibilities (I have enough problem with that with CSS).

      On the other hand, one problem with new technologies that require a change to the build process is integrating it with your existing process and environment. Here we've got a "compiler" of sorts sitting between the javac and the deployment build steps (if I'm understanding what's going on).

      So... does anyone know if the jar files are deployed to a Maven repository anywhere? Any good maven plug-ins for working with this?

      Any chance someone could serve this up on a silver platter for me? ;-)

      --
      Waltz, nymph, for quick jigs vex Bud.
  26. Re:AJAX isn't really ready for .NET by Siberwulf · · Score: 1

    I have, but I don't feel comfortable yet, implementing a new MS technology. MS sometimes adopts, and then extinquishes new thing. AJAX, being universal, wouldn't succum to this, imo.

  27. Already Been Done by TedCHoward · · Score: 2, Interesting

    This is an impressive toolkit and a nice approach, but Google is not the first to do this. Has anyone heard of ThinWire (http://www.thinwire.com/)? There are already production applications in place built on this framework.

    1. Re:Already Been Done by JChrisP82 · · Score: 1

      From what I can tell, the main difference between the two is that GWT is compiled to be all client-side code and Thinwire is a distributed model with most of the hard processing done server-side.

  28. Google a Java shop? by lonesometrainer · · Score: 4, Interesting

    I didn't know Google was a Java shop. Do they mainly code serverside stuff in Java these days? If so, which technology are they using (O/R mapper, servlet container, tricks & quirks). Would be interesting to know.

    Any infos?

    1. Re:Google a Java shop? by chrisd · · Score: 5, Informative

      We use Java, C++, Python and a smattering of other languages for user facing stuff.
      Chris

      --
      Co-Editor, Open Sources
      Open Source Program Manager, Google, Inc.
    2. Re:Google a Java shop? by Anonymous Coward · · Score: 0

      their search engine is quite a special beast but for quite a lot of other stuff Java is heavily used at Google. They hired some of the very best Java programmers of the planet (like Joshua Bloch, who went from Sun to Google). If you're Google-fu is strong you can find a long and interesting talk (in english) by "Knut risvik" (as a mp3) on the way they use Java at Google (I've got it, but renamed the file and can't seem to find the original back). GMail is backed by Java, that's for sure. I don't know the specific details but if you're interested in how Java's used at a "Fortune 1" site, handling more than 100 millions pages view / day and more than 7 millions concurrent sessions, here's how Java 1.5 is used at Walmart (oops, with oil price that went up Walmart is only Fortune 2 now ;)

      http://www.theserverside.com/tt/articles/article.t ss?l=MigratingtoJava5/

    3. Re:Google a Java shop? by Anonymous Coward · · Score: 1, Funny

      Ooh...4 digit uid...drool

    4. Re:Google a Java shop? by drix · · Score: 0, Offtopic

      You know, /. was around for a really long time with no user registration whatsoever. (Anyone remember the super-secret project, AKA Everything1? Wikipedia but years earlier.) I have a feeling most longtime /.ers, including myself, took a long look at the user signup form, yawned, and continued about our merry way while the UID counter slowly crept up. Anyways, my point is having a low UID isn't a perfect measure of l33tness or how long you've been around here.

      --

      I think there is a world market for maybe five personal web logs.
    5. Re:Google a Java shop? by SETY · · Score: 1

      I was thinking exactly the same thing.I started reading/joined MUCH later than you, but if I remember right, I didn't see the point in registering before slashdot started the moderation system. Before that everyone read all the comments in a flat structure, so the anonymous cowards were just as important as anyone else.

    6. Re:Google a Java shop? by Jim+Buzbee · · Score: 1

      I didn't even know I had a low ID until someone else pointed it out...

    7. Re:Google a Java shop? by whoop · · Score: 1

      517? Bah, you new kids don't know what you're talkin bout. Back in my day, we only had a byte to describe our IDs.

    8. Re:Google a Java shop? by mgbastard · · Score: 1

      bah i went offline for a while and i dont even remember what uid i had, it was under 1000. I just keep remembering how lame as @#$# I thought web based forums were at the time ;-)

      Clip my bastard license a point for panning it. Other solutions sucked, but none of those will ever scale like slashdot has/does.

      --
      Anyone seen my low uid? last seen 10 years ago while panning the #@$# out of Taco's 'web based discussion system'
  29. Big wow... by Anonymous Coward · · Score: 0

    So how exactly is this in any way easier than simply dragging and dropping your AJAX components onto your project using the Java Studio Creator ?

    As you can read here they're offering a large set of AJAX components which can be used. IMO its a much saner approach than to rely on some "code creating" toolkit. I'd rather decently write my components once and then start using them many times, knowing that it doesn't contain any backdoors and simply does what it should and nothing else. Also see this site.

  30. Re:AJAX isn't really ready for .NET by uradu · · Score: 2, Informative

    More like .NET isn't ready for AJAX. AJAX doesn't really use any new web technologies, it just applies existing ones in a somewhat new way. ASP.NET OTOH is a framework that tries to completely shield the developer from the underlying web technologies, and it does so with varying degrees of success, in the process turning out web technology idiots.

  31. Go google by SoulRider · · Score: 2, Funny

    It's really nice to see a company releasing new products to stay competitive instead of using litigation to destroy their competitors. I hope they can keep it up.

  32. See previous posts about ATLAS by spideyct · · Score: 2, Informative

    Search Slashdot for ATLAS (and make sure to copy over all of the negative posts about why people don't want this).

    Atlas is the AJAX framework built by Microsoft that allows you to use .NET GUI objects to render browser-compliant javascript and HTML.

    It is a much more proper predecessor to Google's release, compared with Yahoo!'s offering (which I believe MS also predated).

  33. What parts are FOSS, what parts are free beer? by Hobart · · Score: 1
    This is a lot of code to pick apart -- can someone post a concise summary of what can be done with the Apache licensed gwt-user.jar part, versus the "You may not redistribute" parts?
    --
    Slashcode bug # 497457 - unfixed since December 2001 - Go look it up!
    --
    o/~ Join us now and share the software ...
  34. Impressed by Anonymous Coward · · Score: 0

    This is actually pretty impressive. It lets you do all the complex things that a real OO language allows, but then makes it just work. It lets you use all the java development tools like debuggers, code generation, documentation, unit testing, etc. If you are using java on the server side, it makes it amazingly simple to integrate client & server side stuff.

    The yahoo thing is just an ajax library. This is a new way of developing ajax.

  35. Hyperbole by Anonymous Coward · · Score: 0
    This impressive framework promises to make AJAX available to the masses and is one more step towards Google becoming the de facto Internet platform provider.
    Yeah, what about javascript.enabled=false
  36. Re:Once again, Yahoo! is overlooked [really?] by runningduck · · Score: 2, Insightful

    http://developers.slashdot.org/article.pl?sid=06/0 2/14/1326238

    Overlooked in what way? The title of the article was "Google Releases AJAX Framework," not "A Comprehensive Listing of All AJAX Toolkits."

    --
    -rd
  37. So much potential by Dracolytch · · Score: 1

    I was all excited to start learning to do AJAX the Google way (Because I really don't have time to navigate the browser incompatibility minefield). I pulled up a demo in IE7... Blammo, error on page.

    I'm excited for this tool, but I can't use it yet. Bummer.

    ~D

    --
    This sig has been enciphered with a one-time pad. It could say almost anything.
    1. Re:So much potential by Anonymous Coward · · Score: 0

      Oh, what, yes, that's right, IE 7 is still in beta. And, unlike some groups' betas, that means it doesn't work right yet.

      Plus I would assume that the Google folks wouldn't waste their time catering to the "nuances" of IE 7 when those "nuances" may well change before it goes gold.

  38. Genius by el_womble · · Score: 1, Insightful

    There is a certain amount of genius in this. For years I've wondered what the best way to combine HTML/Javascript and OO language is, and now it seems obvious: create a tool kit that structures and generates the HTML for you, just as a window toolkit handles it for you. Genius.

    I've never been a big fan of % languages. Mixing HTML and anything always looks, bad and fails misrably at seperating code from presentation. Seperating code from presentation on a dynamic page is impossible, but sticking the code in the mark-up language is the wrong compromise, but was the better of two evils (see JSP/Servlets).

    Actually having Java classes that represent HTML objects and using them to create dynamic webpages makes so much sense, I'm suprised no one, especially Sun, have tried it earlier.

    --
    Scared of flying, pointy things snce 1979!
    1. Re:Genius by bobintetley · · Score: 2, Informative

      I'm suprised no one, especially Sun, have tried it earlier.

      They did (along with lots of other OSS toolkits - get googling)

    2. Re:Genius by Anonymous Coward · · Score: 0

      I had the distinct impression that Apple's WebObjects has been letting you develop in Java and converting it all to HTML/javascript etc.....

      It also goes the other way too... you deal with objects and it generates the SQL.

      Bitch to tune and has a steap learning curve, but it has been doing these things for years.

      So google doing it is nothing new.....
      What *IS* new is that the fan-base may become enough of a userbase to actually make this popular.... maybe we'll get some good applications out of it... maybe

    3. Re:Genius by Anonymous Coward · · Score: 0

      The company I work for developed something similar for in-house use. Our framework is based on Swing, including Event models (we even have a listener that says whether the current user has permissions to see this page). The one thing GWT brings to the table is that it compiles to HTML / JavaScript ONCE instead of everytime a given widget is drawn.

    4. Re:Genius by thomas.galvin · · Score: 1

      Actually having Java classes that represent HTML objects and using them to create dynamic webpages makes so much sense, I'm suprised no one, especially Sun, have tried it earlier.

      It's been done a number of times before. Heck, I've written my own frameworks for my own projects. They just sucked. This is Google.

  39. java based on java? by Errtu76 · · Score: 1, Insightful
    I'm not understanding something:
    Google released a new AJAX framework based on Java.
    Doesn't AJAX mean 'Async. Java And XML'? So can you have AJAX based on something else?
    1. Re:java based on java? by fireshipjohn · · Score: 2, Informative

      >> Doesn't AJAX mean 'Async. Java And XML'? So can you have AJAX based on something else?

      Javascript not Java, so yes, you can have AJAX based on something else.

    2. Re:java based on java? by emoeric · · Score: 2, Informative

      AJAX = "Asynchronous JavaScript and XML"

      so yes, you can have it based on something else. Java != Javascript

      --

      |---------------|
      practically an AC
    3. Re:java based on java? by mortonda · · Score: 1

      Doesn't AJAX mean 'Async. Java And XML'? So can you have AJAX based on something else?

      JavaSCRIPT. They're not the same thing.

    4. Re:java based on java? by cybergrue · · Score: 1

      AJAX is not suppost to be an acronom,
      but it started out as meaning: Asyncronous Javascript, something and XML

    5. Re:java based on java? by Tetravus · · Score: 1

      Java != Javascript

      ECMA Script is the proper name for Javascript. The reason jscript was named the way it was is due to Netscape attempting to bandwagon someone else's hype for their own means.

    6. Re:java based on java? by ecc962 · · Score: 1

      No, the J in AJAX stands for JavaScript.

    7. Re:java based on java? by MadJo · · Score: 1

      JavaSCRIPT?

    8. Re:java based on java? by Matz+L.E. · · Score: 2, Informative
      Doesn't AJAX mean 'Async. Java And XML'?
      No, it's "Asyn. JavaSCRIPT and XML".
      So can you have AJAX based on something else?
      Yes, there are AJAX-Framweworks based on PHP.
    9. Re:java based on java? by $1uck · · Score: 0, Redundant

      Javascript != Java. Am I missing something? or is this really an honest question?

    10. Re:java based on java? by SamuraiMike · · Score: 1
      I'm not understanding something: Google released a new AJAX framework based on Java. Doesn't AJAX mean 'Async. Java And XML'? So can you have AJAX based on something else?
      No. AJAX stands for Asynchonous Javascript and XML. This library seems to be Java that builds the javascript and HTML for you.
    11. Re:java based on java? by zlogic · · Score: 1

      It's not AJAX based on Java but an AJAX framework based on Java.

    12. Re:java based on java? by Errtu76 · · Score: 1

      Aha. Javascript. Thankee for all the replies :) It makes more sense now.

  40. Re:Clarke, not Pratchett by InsertCleverUsername · · Score: 0

    Sorry to be off topic (and an annoying guy that goes around correcting people), but about your tagline... Aren't you misattributing an Arthur C. Clarke quote?

    --
    Ask me about my sig!
  41. Second born... by neveragain4181 · · Score: 4, Funny

    From: http://code.google.com/webtoolkit/faq.html

    "What's the catch? Does Google own my GWT application? Do I have to run AdSense? Do I have to give Google my first-born child?

            There's no catch, we promise. See the Terms of Use for the nitty gritty details."

    I checked the ToU, apparently you have to make Adsense space on your *second* born child. Premium crib space is up to eCPM of $0.42 cents too, diapers down to under 10 cents.

    Very clever of them, I bet most people wouldn't check...

    1. Re:Second born... by stienman · · Score: 1


      diapers down to under 10 cents.

      Yeah, but that's way up since they started advertising on the outside of the diaper! It's all about placement, people.
      B -Adam

  42. Hides too many details... by sonofagunn · · Score: 1

    I haven't tried this yet, but I'm wary of any Java->JavaScript/HTML compiler. Inevitably, there will be something you need to work around in the JS/HTML but can't.

    It's just an abstraction layer which may be nice for simple things that don't need much customization but in reality, it will end up being something that gets in the way and you have to hack some workarounds to get exactly what you want.

    Really, how hard is it to code JavaScript and HTML? AJAX isn't braing surgery or rocket science. Most browser incompatabilities are well-known and there are published workarounds that are easy to find if you can't figure them out yourself.

    I'd rather hand code my HTML/CSS so I get exactly what I want (and nothing extra). I hate auto-generated HTML.

    1. Re:Hides too many details... by slo_learner · · Score: 1

      There are still people who write assembly language for the same reasons. It's not that hard to write once you know what you are doing. Does that mean that C, C++, and other HLL should not be used? If you can't stand the overhead of auto-generated code, then don't use a compiler or interpreter. Write the entire web server in assembly and then, just to make sure that your IDE doesn't put in any extraneous non-printable characters into the ascii of your web page's source, encode it manually in binary.

      By next year you should have your hello world test page done. Best of luck.

    2. Re:Hides too many details... by Anonymous Coward · · Score: 0

      Your comparision would would work if compilers commonly spit out buggy code.

      We trust compilers because these days they rarely make mistakes in the generated code. The same cannot be said of this toolkit. Several people have already noted bugs in this discussion, and the surface has barely been scratched.

      Have you taken a look at the generated code? Can you imagine the fun diving into that and trying to find the cause of a bug? Then you need to figure out the correct patch to the HTML/CSS/Javascript, then you need to figure out how to fix that in the toolkit.

      One little bug could easily wipe out all the benifit of using the toolkit in the first place. And so far we've only talked about fixing bugs, adding enhancements should be just as fun.

    3. Re:Hides too many details... by sonofagunn · · Score: 1

      Such a predictable response. Modern language compilers provide a very useful layer of abstraction (readability, maintenance, portability, more rapid development, etc). I'm just not sure I see the usefulness in this particular abstraction layer.

    4. Re:Hides too many details... by slo_learner · · Score: 1

      Now that we're actually talking about something, I would imagine that java's inheritance, polymorphism, etc. would be a major time saver when maintaining a large repository of pages. Obviously it's not a panacea, but if you could get it to do the majority of what you want done, and then just tweak with the JSNI, I can see some major advantages for productivity.

      Maybe I just don't know browser compatibility code well enough, but the ajax stuff that I've done has been a major pain in the ass, and hence my productivity is extremely low when writing this code.

      Incidentally, I wasn't trying to be formulaic in my first response. I actually thought that the encoding binary ascii files was at least slightly creative. Obviouslly it was hyperbole, and apparently predictable as well. Oh well, maybe next time I can eek out a +1 funny.

    5. Re:Hides too many details... by carlislematthew · · Score: 1
      Really, how hard is it to code JavaScript and HTML?

      It's not that it's hard, it's that it's a total pain. The stuff you have to learn to do it right is all about workarounds and what *doesn't* work, which isn't nice or "fun" stuff to learn. Plus, it's Javascript and a lot people programming in nicer languages (Java, C#, etc) don't want to down-grade to scripting.

  43. Funny...no one noticed this in the agreement... by Anonymous Coward · · Score: 1, Informative
    Updates

    The Google Web Toolkit Development Tools will communicate with Google's servers to check for available updates to the software, such as bug fixes, patches, enhanced functions, missing plug-ins and new versions (collectively, "Updates"). During this process, the Google Web Toolkit Development Tools send Google a request for the latest version information. By installing the Google Web Toolkit Development Tools, you hereby agree to automatically request Update information and receive the option to install Updates from Google's servers.


    And here I was all ready to take off my tinfoil hat.

  44. Yet Another Initiative to fire all the webdevs by Kent+Brewster · · Score: 2, Informative
    From the top paragraph of the Google Web Toolkit page:

    JavaScript's lack of modularity makes sharing, testing, and reusing AJAX components difficult and fragile.


    Beg to differ. JavaScript has just as much "modularity" as any other object-oriented language; methods like JSON and libraries like Dojo, Prototype, and the aforementioned Yahoo! Web Services APIs are proof.

    Every few years there comes along Yet Another Initiative to fire all the webdevs. No disrepect to Google's engineers, who are clearly brilliant, but we've been there and done that. For a good time, open up Firefox's DOM Inspector, crack into their Kitchen Sink demo, and boggle over the iframes and tables and embedded JavaScript, oh my!
  45. back to the back button! by yagu · · Score: 2, Informative

    I haven't heard anyone comment about what I think is a great feature in this toolkit:

    Browser history management:

    No, AJAX applications don't need to break the browser's back button. GWT lets you make your site more usable by easily adding state to the browser's back button history.

    I know this is something you can hack together if you're writing your own hand-crafted js, but this will be a nice feature -- I haven't looked at the toolkit yet, but I wonder how easy to use this will be.

    Have any of the other frameworks provided this mechanism?

    1. Re:back to the back button! by justMichael · · Score: 1
      Have any of the other frameworks provided this mechanism?
      Yes, the dojo toolkit does
    2. Re:back to the back button! by pimpkracker69 · · Score: 1

      See also:

      The Save Form Values Script by HowToCreate.co.uk

    3. Re:back to the back button! by pimpkracker69 · · Score: 1

      Oops. Here is the precise link: Save Form Values Script

    4. Re:back to the back button! by 200_success · · Score: 1

      BackBase also supports the Back button.

  46. Re:More Java Added To The Quagmire by ScottyH · · Score: 1

    Fine, but what Google did is neither really. It's a way of writing Java code (which has great error checking) to produce XHTML and JavaScript.

    Java is still involved, but it really isn't in either a client or server roles here.

  47. Raises more questions than it answers... by mogrify · · Score: 3, Insightful

    I wonder how difficult it will be to write degradable applications with this toolkit. The demo applications I played with do nothing at all with javascript disabled... they're just a script tag in a body tag, so they make no attempt to render the application using plain HTML. I know they're just demos, but it won't save any time if you have to develop the non-js version separately... which is a problem particularly for those of us who have to develop to accessibility standards.

    Also, this is coming right on the heels of the buzz about Oracle's AJAX Framework... and of course there's the Eclipse AJAX Toolkit Framework, which uses Dojo, Zimbra, and OpenRico (which in turn uses prototype)... others have mentioned Yahoo!'s toolkit and Atlas, as well, not to mention Rails... My point is that there are suddenly a ton of frameworks that all have slightly different approaches to the whole AJAX idea. Some are higher-level, some lower; some target a specific server backend; some offer UI libraries... Any or all of these might merge or die off or be made irrelevant at any time. It's almost harder to develop AJAXy applications now than back when you had to write your own HTTP request code... sure, you can knock one out in ten minutes now, but you spend the time you saved choosing the toolset beforehand.

    I think I'll wait a bit... we've put the scorpions in the box and shaken it, so let's see who survives.

    --
    perl -e 'foreach(values %SIG){$_="IGNORE";}while(){}'
    1. Re:Raises more questions than it answers... by wysiwia · · Score: 1

      ... Any or all of these might merge or die off or be made irrelevant at any time...

      That's true but as long as you choose an OpenSource framework (I prefer Dojo) you can support it yourself at least long enough until you've converted all your code to a new framework. If you choose any proprietary framework (like Google's) even if it doesn't cost anything you don't have this way.

      O. Wyss

      --
      See http://wyoguide.sf.net/papers/Cross-platform.html
    2. Re:Raises more questions than it answers... by garaged · · Score: 1

      I guess you haven't noticed that google is not that interested on elegant degradation, they provide alternative version of the same app instead.

      Look at gmail, and any other app, most of them don't even have alternatives (maps, earth).

      I don't know if they could do better, but the do good enough for me at this point

      --
      I'm positive, don't belive me look at my karma
    3. Re:Raises more questions than it answers... by carlislematthew · · Score: 1
      I wonder how difficult it will be to write degradable applications with this toolkit.

      It's simple! Just put in some simple HTML that says, "Yo mofo, turn on yo Javascript and stop being weird" and you're done!

      Seriously though, running without Javascript these days seriously limits the experience on the web, and hardly anyone turns Javascript off, or runs a browser without it. If you're putting together the kind of site that *needs* the AJAX-style "richness" then you just can't worry about those without Javascript - they either won't use your site, or they'll shave their Unix-beards and turn Javascript on.

    4. Re:Raises more questions than it answers... by mogrify · · Score: 1

      Yeah, I'm not too concerned with the folks that turn Javascript off on purpose. They know what they're in for, and they'll get a lot of pure web awfulness everywhere they go, so they're used to it. I work for state government though, and I have to provide "equivalent facilitation" for persons with disabilities, which means that everything works in a screen reader or text-mode only browser with keyboard input.

      So if I want to show of my hard-earned 1337 4j4}{ h4}{0R 5k1LLz, I've gotta have the plain-jane version too.

      --
      perl -e 'foreach(values %SIG){$_="IGNORE";}while(){}'
    5. Re:Raises more questions than it answers... by carlislematthew · · Score: 1

      That sucks. But I suppose the plain-jane version can be VERY VERY plain given that it needs to be a text only version...

  48. echo framework anyone? by MartinG · · Score: 4, Informative

    Coding your UI in java and having it translated into javascript and html without having to worry about cross browser compatibility?

    Sounds familiar. It's rather like the echo framework

    The big differences I see are:

    1) Google toolkit advantages:
    - No load on the server to render the UI. All ui code runs on the browser, so this may help server scalability.

    2) Echo advantages:
    - Fully open source.
    - Richer set of ui components (IMO - see the demo at http://demo.nextapp.com/Demo/app )

    --
    -- MartinG To mail me: echo kewyjlcxyzvjfxbqwh | tr bcefhjklqvwxyz .@adgimnoprstu
    1. Re:echo framework anyone? by saturnism · · Score: 2, Informative

      Yeah, I think Echo is probably the most quiet framework out there that has all the great quirks even before Web 2.0 term was out. It receives less attention than it deserves.

      Also, GWT doesn't seem all that complete at all. Dojo is a pretty good place to look for AJAX componentsd as well. http://dojotoolkit.org/

      --
      it is me
  49. Only thing that matters by IamTheRealMike · · Score: 2, Insightful

    Are they using this for their own webapps?

  50. Mod parent up by Anonymous Coward · · Score: 0

    Jeez. Yeah. My filter list:

    AJAX
    Wii
    Wii
    Wii
    Wii
    Google
    Vista

  51. Remember the giant sucking sound from 2 years ago? by QuantGuy · · Score: 2, Insightful

    ...when Google started vacuuming up a lot of stray Java talent? I'm thinking of folks like Josh Bloch (author of Effective Java, one of the best books I've ever read on Java) and Adam Bosworth (former CTO of BEA). I was always sort of curious about what Google was up to. I've got no proof that either of these gentlemen we involved in GWT, but I'd be surprised if they weren't. Good job, Google.

  52. Re:AJAX isn't really ready for .NET by FecesFlingingRhesus · · Score: 1



    I will see your ICallbackEventHandler and raise you a ActionListener It existed long before Atlas. I do both .NET and Java web work, I like ASP.NET and I have found Echo2 to be the closest to ASP.NET as far as productivity, and speed of development. While the implementations are different the basic idea (component / sub-component page hierarchy) are the same.

  53. Re:AJAX isn't really ready for .NET by Anonymous Coward · · Score: 0

    ASP.NET OTOH is a framework that tries to completely shield the developer from the underlying web technologies, and it does so with varying degrees of success, in the process turning out web technology idiots.

    Huh? ASPX pages are HTML pages with support for server-side script blocks just like PHP or any other web framework. You can plug in pre-defined control objects, just like any other web framework. Or you can just write HTML. What's your problem with it?

  54. Before you get ideas of grandeur... by Jugalator · · Score: 2, Insightful

    Note that this toolkit primarly seem to try solve the problems of browser quirks, more efficiently design web sites using AJAX, and do remote procedure calls, not really to leverage the power of Java development and its language to web developers and Javascript.

    The Google Web Toolkit supports only a small fraction of the Java Standard Library and seem to be able to replicate the functionality of only a few classes through its emulation library.

    This is the stuff from the Java libraries that you can use and have it be able to "translate" your work: java.lang classes and java.util classes.

    --
    Beware: In C++, your friends can see your privates!
  55. Re:Pratchett riffing on Clarke by InsertCleverUsername · · Score: 1

    O.K... I've got to have the doctor change my caffeine prescription. The quote (and sig.) is a clever reversal of Clarke's law. You may take the rest of my Karma points now.

    --
    Ask me about my sig!
  56. Mod that up some more... by rubato · · Score: 1

    Central hype-limit theorem: once in a while, somebody on SD says something positively brilliant. This was it. Mod it up.

  57. Missed Opportunity by donnacha · · Score: 0, Flamebait
    It's a damn shame that Google didn't take the opportunity to throw their weight and research dollars behind a Ruby-based framework, rather than Java. I realise that there is a far larger existing base of Java devs out there but the general consensus among Java devs curious enough to check out another language is that Ruby is far better.

    In fact, rather than create their own framework, some sort of Google tie-in with Ruby On Rails would have been truly explosive.

    1. Re:Missed Opportunity by the+eric+conspiracy · · Score: 1

      "the general consensus among Java devs curious enough to check out another language is that Ruby is far better"

      I'd like to see some backup for that statement. I'm a Java dev that has taken the time to check out both Ruby and Python, and have reached the conclusion "don't quite your day job".

    2. Re:Missed Opportunity by LnxAddct · · Score: 1

      Heh, what a warped perspective you have. The only people moving to rails are the people that were using php. Java devs aren't going anywhere, its a damn good platform. Just the Java standard libraries alone puts it in a whole league of its own that is matched by no other. Perl's CPAN is a distant second. Oh and don't forget about Ruby's horrible performance. Do benchmarks, ruby is a few magnitudes of order slower than most other scripting language. About 10 times slower than python and about 50 times slower than perl. meanwhile Java can often outperform native code with a modern jvm simply because it handles memory so much more efficiently than most C coders can. This assumes that the native code isn't just doing raw calculations, but instead has to move memory around a bit.

    3. Re:Missed Opportunity by Anonymous Coward · · Score: 0

      We have lots of PERL and Python apps, and have done some pretty thorough timings on identical throughput. Python was slightly faster at some things, PERL others. Both were pretty even in the grand scheme of things.

      Please provide the code you claim is 5x quicker on PERL than Python.

    4. Re:Missed Opportunity by LnxAddct · · Score: 1

      A little old, but here is one example: http://furryland.org/~mikec/bench/
      I've never seen python beat perl for anything (on that site you'll see python beat it for hashes but that is simply because of the underlying data structures, in the real world you would have done it differently in perl). For alot of graphics work or text processing, or heavy I/O though python is just slow as hell. Just walking a directory tree will take forever if it has a few levels to it. It really depends on the type of work you are doing, but often times for me, perl is more than 5 times faster, I was being generous with the 5 :) Don't get me wrong, I love python, and prefer it whenever I can... but its slowness can be a real pain.
      Regards,
      Steve

  58. What part of the API is supported? by $1uck · · Score: 1

    I haven't dug all the way through this yet, but I'd assume you can't just turn any old Java app into HTML+JS web app. I doubt there's support for the Swing API or even the SWT (though it looks at first glance to be based more off of SWT?). Am I right to assume you have to use their UI classes to get this to work? Other than that does it support using the rest of the API?

    1. Re:What part of the API is supported? by Anonymous Coward · · Score: 0
  59. Re:More Java Added To The Quagmire by not+already+in+use · · Score: 1

    Yeah, I was actually wondering about this. Google claims you don't need to know the quirks of browser programming, but for those of us who are well versed in JS and not-so-much in java, this isn't necessarily a good thing. I'm also _somewhat_ wearly of generated code, however not too much a concern with it coming from google whom I have great faith in.

    I'm also certain that Java code cannot, in it's entirety and full functionality, translate into js. This is where my confusion sets in. How can you debug javascript, in Java, before it has been "translated" to javascript. What if I create an object in java using inheritance, interfaces, constructors, destructors, function overloading... etc. How would that ever possibly translate? Or am i missing the point?

    Finally, when I hear "AJAX Framework," I think of a framework that facilitates the creation of both a server and client (which I am currently working on btw, to be released open source shortly). As far as I can tell, Google's framework is for the development of the client portion of an AJAX application.

    Somebody, please enlighten me.

    --
    Similes are like metaphors
  60. Is it open? by Lobais · · Score: 1

    Is it free-/opensoftware?

  61. minor error in the Kitchen Sink Demo by randyflood · · Score: 1

    In their Kitchen Sink Demo, click on the text tab. In the Text area box, type some text in. Then, highlight some of it. Notice how the Selection on the right shows what you have highlighted. Now, highlight some other text, but drag out of the window before you release the mouse button. Now, you have text in the box highlighted, but the selection indicates the wrong thing. It looks like they are updating the selection field only on mouseup...

    http://code.google.com/webtoolkit/documentation/ex amples/kitchensink/demo.html#Text

    --
    Randy.Flood@RHCE2B.COM
  62. Internet platform? by jc42 · · Score: 1

    I keep seeing the phrase "Internet platform". Is there a coherent definition of this phrase? Or is it another of those phrases like "Web 2.0" that means whatever the writer wants it to mean, and is just used to impress the newbies with something that sound technical but isn't?

    --
    Those who do study history are doomed to stand helplessly by while everyone else repeats it.
  63. Google is playing catch-up by anzev · · Score: 1, Insightful

    Hm, for the first time ever, Google is playing catch-up with Microsoft. Microsoft has in fact released an AJAX toolkit a long time ago -- see ATLAS which is currently in community technology preview.

    It's also free, so can anyone tell my Google's is better (and I don't want to hear arguments like "it's google's!")? Has anybody done a comparison?

    1. Re:Google is playing catch-up by belg4mit · · Score: 1

      Java's more accessible than .NET?

      --
      Were that I say, pancakes?
    2. Re:Google is playing catch-up by anzev · · Score: 1

      Java or .NET is the technology on the server. A lot of people actually use ASP.NET/ASP so that's really not the most persuasive argument I've heard. You see, If I write my special program with ATLAS, sure enough I'll be using C# (ASP.NET) to develop it, and I'll use MS server to deploy it, but it'll be accessible from all clients (which is the purpose of Ajax if I remember correctly).

    3. Re:Google is playing catch-up by belg4mit · · Score: 2, Insightful

      Gee ya think? I wasn't aware that either of these translating compilers spit out client agnostic code.
      Did you stop to think I might have been saying that, discounting Mono:

          Java is available for everyone? .NET is only available to MS customers.

      I don't relish the chance of developing with either but I'd be more likely to pick up a Java toolkit, thank you.

      PS> WTF is with slashcode's not honoring line breaks between quotes in "Plain Old Text"?

      --
      Were that I say, pancakes?
    4. Re:Google is playing catch-up by anzev · · Score: 1

      Ok, that's all great and stuff, but it does not answer my question. I asked for objective differences between the two toolkits. The though of you being more likely to use the first toolkit does not offer me any reason why I should also use it. If you were to say to me, what are the differences between Winamp and Windows Media Player, and I'd say I use the latter, would you use it just because?

      This is exactly the problem with quick responses that are so common here on Slashdot. Instead of people actually trying to answer the question, they go for a blatant flame war on Java vs .NET... I don't care which one you use, I care about what each of them has to offer me and then I choose the one I NEED AT A GIVEN TIME. It's the same with OS really, or with a development IDE, or with a text editor. I don't care which one people use, I use whatever I feel I need (based on the features).

      So yeah, Java is more avaiable, but is it? I mean, mono's been around for a while, and people could use it, the fact that they don't doesn't really say anything except that I attribute it to the hate for MS from Linux users (sorry to be so general, I realize that not all *nix users hate MS, that much).

      As far as the client part is concerened. You do realize that what you develop in, for example C#, is compiled into a HTML page, and viewable in, for example, Firefox? Yeah, it's supported by DLLs in the background, but that's none of your concern if you are a visitor. Have you ever visited live.com ? It's built around AJAX... In particular, it's built around Atlas... How about Google's personalized home. Last time I checked I can use Firefox or IE 7 to view them and use their functionallity. The question here is, how simple is it to make, i.e. D&D in C# & Atlas, or in Java & Google's Toolkit. And what I can do with either of them.

    5. Re:Google is playing catch-up by belg4mit · · Score: 1

      Availability of the implementing technology is an objective difference.

      I'd argue the problem is people reading into comments things that were
      not there, and not seeing things that were.

      --
      Were that I say, pancakes?
    6. Re:Google is playing catch-up by anzev · · Score: 1

      I have a server capable of running both Java or .NET. Why would I be more prone to using the Google toolkit again? The toolkit is NOT OBVIOUS to the end user! Only to the developer.

    7. Re:Google is playing catch-up by zlogic · · Score: 1

      Well, I opened the Atlas website with Konqueror following your link and Konqueror stopped responding for 30 seconds.
      And BTW, is live.com using Atlas? It is completely incompatible with Konqueror, and that means Safari (and that means most Mac) users are probably also experiencing problems.

  64. Re: Abstraction by flakier · · Score: 1

    I could easily extend this argument and say that everyone just needs to learn assembler.

    I agree it is important to know lower level concepts at a certain level. However, should I really need to learn every intricacy of the bugs in the DOM of IE vs. Mozilla in order to be productive with AJAX?

    --
    --
  65. If you like Java... by drew · · Score: 4, Insightful

    I suppose that's nice if you actually like programming in Java.

    I'll stick to rolling my own, thanks. I suspect I wouldn't be able to use a tool like this for more than a half hour without finding something I want to do that the toolkit doesn't support. What then? Can you edit the JavaScript output by hand or is it totally obfuscated?

    --
    If I don't put anything here, will anyone recognize me anymore?
    1. Re:If you like Java... by truesnipe · · Score: 1

      From the toolkit documentation: If GWT's class library doesn't meet your needs, you can mix handwritten JavaScript in your Java source code using our JavaScript Native Interface (JSNI). Narinder

  66. I found a bug by Phemur · · Score: 1
    Disclaimer: I wasn't looking for it, I stumbled upon it. I love Google, Gmail is my primary mail tools, Linux roolz all, etc.

    Environment: Windows XP Pro, Firefox 1.5.0.3

    Test Case:
    1. Launch Kitchen Sink Demo
    2. Select the "popup" group from the list on the left
    3. Click the Show Dialog button
    4. Drag the dialog that pops up to the left of your browser window until the mouse pointer and the dialog are completely off the screen, and release it there (it's easiest to do if you have dual monitors or you reduce your browser window so you can "drop" the dialog on the desktop. Grab hold of the dialog on the very right edge of the title bar).

    Result: The dialog is no longer in the browser and visible. You can't re-drag it back into view. And because it's a modal dialog, the controls that are visible are no longer clickable.

    If anyone from Google is reading this, would I qualify for a job now? :-)

    Phemur

    1. Re:I found a bug by sethstorm · · Score: 1

      Not if you're from the Midwest. Otherwise you have to have an education from a university that accepts %10 of the applicants.

      --
      Twitter supports and protects racists - by smearing their critics with the "Hate Speech" label.
    2. Re:I found a bug by Anonymous Coward · · Score: 0

      >Disclaimer: [...]Linux roolz all, etc.
      >Environment: Windows XP Pro, [...]

      Huh?

  67. Questionable javascript in Google toolkit by Anonymous Coward · · Score: 0

    Sample of the javascript code sent to the browser:

        _.c = 'com.google.gwt.sample.dynatable.client.DynaTableW idget'

    It's not a safe practice to expose java host classes to the client.
    Shame, Google, shame.

  68. Getting back to TFA.... by ThePedanticPrick · · Score: 1

    As fascinating as all this Yahoo vs Google bickering is, it might be nice to have a discussion about the framework itself. For instance, how reliable is the Java-to-JS compiler? What are the odds that something breaks and then I can't debug it because I either don't know JavaScript or the JavaScript the compiler spit out is illegible? How do I know the Google team has anticipated all the things that I can do with AWT that I might want to do in the browser? Admittedly, I should read the documentation more thoroughly, but I still think these are good questions.

    On a related note, since I've recently started programming in ASP.NET and C# (not by my own choice), does anyone care to compare GWT to Atlas?

  69. No by HighOrbit · · Score: 1

    I looked at the license and it is free to use (i.e. free as in beer), but not free to modify, copy, or distribute (free as in speech).

  70. C++'s response: Qt-like AJAX Toolkit by xynopsis · · Score: 1

    We've been working on C++ AJAX toolkit called Wt. Similar to GWT, it completely hides the complexity resulting from Javascript ui logic, DHTML, XML, etc associated with creating AJAX applications. Best of all, it is pattterned from the Qt toolkit and allows you to design webapps as you would in any desktop Qt application.

    It is completely object-oriented and the event mechanism is even handled by the signal and slots approach, allowing the same programming elegance found in Qt-based software. It allows you to focus on the design and logic of your program in one place and one place only! Quite similar to how Qt hides the details of the underlying window system from the programmer.

    See this overview and a sample

    Note the familar Qt-like syntax in creating a tree widget. [kuleuven.ac.be]

    If you like writing GUI apps in Qt and would like to do the same in AJAX apps including the possiblity to integrate with desktop programs, please check it out!

    1. Re:C++'s response: Qt-like AJAX Toolkit by PietjeJantje · · Score: 1
      >We've been working on C++ AJAX toolkit called Wt. [sourceforge.net] Similar to GWT, it completely hides the complexity resulting from Javascript ui logic, DHTML, XML, etc associated with creating AJAX applications.

      Pah! Java to hide higher level complexity, C++ to hide HTML/Javascript, you guys are all pussies.

      I announce the Assembler AJAX Toolkit called PushPopAjax. It completely hides those nasty complex HTML/Javascript details, you simply program your pages using our assembler toolkit. Now you know what that first A from AJAX really ment!

  71. Lisp Macros by psicode · · Score: 3, Interesting

    I am surprised that no one has yet brought up lisp macros which can be used to develop a similar framework. Code can be written in Lisp and compiles/generates to javascript. See http://www.cliki.net/Parenscript and http://www.cliki.net/jsgen for implementations in common lisp. The problem I see with any form of generated javascript is that it will be hard to debug should something unexpectedly go wrong.

  72. GWT works with all server technologies by Dorktrix · · Score: 2, Informative

    Actually, GWT works with all server technologies (PHP, ASP, Java, etc). GWT is primarily a client-side technology that is deployed as HTML and JavaScript that can be served by any web server. If you want to do RPCs from GWT to a non-Java server, that is easy too; check out our JSON RPC example here: http://code.google.com/webtoolkit/documentation/ex amples/jsonrpc/. We created this example to demonstrate this exact use case.

    Bret Taylor
    Product Manager, Google Web Toolkit

    1. Re:GWT works with all server technologies by RalphSleigh · · Score: 1

      So, uh, why are google using a Yahoo search?

      (There probably agood reason and I'm gonna loose all my geek cred points for asking but gotta know)

      --
      Come as you are, do what you must, be who you will.
  73. Re: Abstraction by uradu · · Score: 1

    > I could easily extend this argument and say that everyone just needs to learn assembler.

    Actually, that would be wrong, since the lowest practical denominator are the OS APIs, not CPU registers. The language is quite immaterial.

    > should I really need to learn every intricacy of the bugs in the DOM of IE vs. Mozilla in order to be productive with AJAX?

    You shouldn't have to, but it helps. Besides, these frameworks address a lot more than just AJAX--in fact, some don't even address AJAX at all. The real issue here is the abstraction of page creation on the server side. Instead of generating raw HTML+JavaScript from within server-side executable pages (PHP, ASP etc.) using a language that doesn't introduce any serious abstractions, we are now creating web pages as a side effect of manipulating fairly abstracted classes. This is nifty and very productivity enhancing, but you are developing around a different paradigm, and different frameworks will have slightly different takes on this paradigm. And if there are bugs or glitches in the framework, you have to drop down to HTML+JavaScript and examine the client side code that is generated to see what the problem is. Then you have to dig through the framework classes to find where the problem is, provided you even have access to the source code. A good framework will give you lots of opportunities to intervene in the page creation process to manipulate the final output.

    Anyway, my main concern is that when you move away from PHP or ASP (which mainly differ in syntax more than anything else) and target a particular framework as your lowest level API (so to speak), you become dependent on that particular paradigm. Switching to a different framework may require considerable relearning of class hierarchies and the way things are done. Still, given a significant overall productivity jump, this may be acceptable overall.

  74. Well it works in Firefox... by Fahrenheit+450 · · Score: 1

    "Google Web Toolkit (GWT) is a Java software development framework that makes writing AJAX applications like Google Maps and Gmail easy for developers who don't speak browser quirks as a second language."

    Does this mean that Google will finally be able to get their apps working properly in all of the major browsers?
    Why am I not brimming with confidence?

    --
    -30-
  75. Re:More Java Added To The Quagmire by ScottyH · · Score: 1

    I'm not sure if this has anything to do with my post at all...

    I'm also certain that Java code cannot, in it's entirety and full functionality, translate into js. This is where my confusion sets in. How can you debug javascript, in Java, before it has been "translated" to javascript. What if I create an object in java using inheritance, interfaces, constructors, destructors, function overloading... etc. How would that ever possibly translate? Or am i missing the point?

    How about you read the docs? It's all there. Partial support of the java.util and java.lang packages. No destructor support...and interfaces are only used on the Java side for type-checking (which is fine, it's what they're for). Furthermore, Javascript supports inheritance through the prototype chain already. There are also constructors.

    As far as overloading goes, as long as you're controlling the compiler, you can choose to output multiple methods - one for each overload.

  76. What I Believe AJAX To Be by LifesABeach · · Score: 1

    AJAX, for me, is very simple to understand. I just don't see the need for complexity. Consider the following reasons.

    I find that using HTML with CSS to be simple.

    I find that using HTML, CSS, with javascript to be simple

    I find that using HTML, CSS, javascript, XML, XSLT to be simple.

    I find that using HTML, CSS, javascript, XML, XSLT, "Server Side Language that Handles WebServices", XSD to be simple.

    I find that using HTML, CSS, XML, XSLT, "Server Side Language that Handles WebServices", XSD to be simple.

    On should notice that at this point that javascript is purly optional. Consider the argument that one can use javascript as a crutch until one is more familiar with XML. Also, javascript could be used to help the User with various edit checkings.

    This is not meant to make small these framework developer's creativities, I'm just not seeing the need for complexity of using Java or Microsoft Frameworks for what can easily be done by using Notepad/vi. My webservice language of choice is PERL; But PHP, C#, Ruby, VB, Python, any language that could do the job of web services would work just as well.

    My point is, these frameworks look like a laced version of "Bloat".

    1. Re:What I Believe AJAX To Be by bobs666 · · Score: 1
      I use LAMP so I aggree with you.

      One thing to look at is CGI::Ajax. Also the home page.

      At least I can do testing and some other nice things without coding javascript.

  77. Check out Atlas by jason777 · · Score: 0

    If youre a .NET programmer, be sure to check out Atlas, Microsoft's AJAX framework.

  78. *ahem* Lynx, not Linx by Anonymous Coward · · Score: 0

    Not to be confused with Links.

    Also, the fact that there have always been buzzwords does not make buzzwords more palatable.

  79. Is this a feature? by Anonymous Coward · · Score: 0

    Calling Java code from Javascript.
    I thought you want a seperation of client code and server code - at least not drive the server from the client. Is this safe from a security perspective?

  80. All the opportunities by Anonymous Coward · · Score: 0

    I fail to see where the massive amounts of enterprise Ruby applications really are.
    Ruby wants to solve a problem that has been solved already.

  81. bizarre by jefp · · Score: 1

    This is nice but fairly wacky. It conflates two separate ideas:

    1) Browser-independent toolkit.

    2) Java into JavaScript.

    The second one no doubt appeals to many, although not to me since I am perfectly comfortable writing JavaScript. On the other hand, I'd love to see Google's take on the all-too-common browser-independent toolkit in *JavaScript*, but apparently I'm not going to!

  82. Re:AJAX isn't really ready for .NET by Dukhat · · Score: 1

    It will be ok to be a web technology idiot once HTML & Javascript can be used like Assembly. There are many programmers that are Assembly idiots, but it doesn't matter since the compilers create perfect assembly code for you. Even though HTML & Javascript are human readable, they are a pain to use directly since you either have to find or build your own higher level widgets and functions. HTML is especially difficult to separate into components when you are writing it by hand, since it is just a big string of text. Because of this, it is incredibly difficult to combine two different groups of widgets since you can't define the parameters or return values of blocks of HTML so that you can validate that two chunks work together.

    AJAX libraries have only become possible because development of IE has been stagnant, and development of Firefox/Mozilla has been very backwards compatible. Future versions of IE have the potential of killing AJAX libraries unless the popularity of cross-browser supporting websites prevents new incompatible versions of IE from gaining market share.

  83. Applets -- HotJava by WamBamBoozle · · Score: 1

    I hava a better idea -- write an applet. You can then have a real gui.

    I'll never understand why HotJava died -- running applets on HotJava was a joy -- instantaneous startup.

  84. Macrom^H^H^H Adobe Flex & Spry by galdur · · Score: 1

    Don't forget those, as well. Spry is being released under an OS license. All this makes it very difficult to pick a simple, efficient framework to base future projects on. *Sigh*

    1. Re:Macrom^H^H^H Adobe Flex & Spry by mogrify · · Score: 1

      Hadn't heard of that one yet. And I realized later that I had forgotten Echo, so things just keep getting better and better.

      --
      perl -e 'foreach(values %SIG){$_="IGNORE";}while(){}'
  85. Re:AJAX isn't really ready for .NET by Anonymous Coward · · Score: 0

    Future versions of IE have the potential of killing AJAX libraries unless the popularity of cross-browser supporting websites prevents new incompatible versions of IE from gaining market share.

    Huh? At the very least breaking the existing XmlHttp mechanisms in IE would break Outlook Web Access on old Exchange installs and they'd never do that.

    IE has always been very backwards compatible too.

  86. Does anyone else see major IRONY by MichaelPenne · · Score: 1

    In using Java to write JavaScript?

    1. Re:Does anyone else see major IRONY by josepha48 · · Score: 1
      Yes and no. Considering I have done this already, I don't see it as a problem.

      For me the issue is I'm already using a framework, so why do I want to add that crap into my existing framework.

      I have created JSP taglibs already that output JavaScript and they are java. Why? Because I can write <foo:date outputFormat="MMDDYY" name="birthday"/> and it creates 3 dropdowns with month, year and day in format of the users preference. Then when a user select the fields the javascript fills a hidden field that has the date format that I want to send to the database. If there is an error on the page all fields get filled correctly. I can use this with or without a java bean. The dropdowns are created via java so they look like normal selection boxes, but they all have an onchange built right in. Each dd gets a name of birthday_mon, birthday_day, and birthday_year. The generated javascript ( using java here to write javascript ) does the work. The jsp coder just has to put the simple tag in the page and they are done. Its made things easier this way. Not sure if I'd want this in AJAX though. I have though about a simple tag to do some of this.

      My real problem with AJAX is that people seem to think that AJAX should do EVEYTHING on a page. I'm not sure I want to do everything in AJAX. Something yes, but not everything.

      --

      Only 'flamers' flame!
      Does slashdot hate my posts?

  87. Not bad... by SuperKendall · · Score: 1

    I have to admit that the live demo seemd to have some interesting things to offer. Thanks for the link.

    --
    "There is more worth loving than we have strength to love." - Brian Jay Stanley
  88. Re: Abstraction by flakier · · Score: 1

    I think you might be mis-interpreting what this thing does. Unless I've been seriously mis-guided I don't think this--at all--aims to replace PHP or ASP, or Servlets or any of those server side technologies.

    I believe this serves a primary purpose of enhancing the UI and any client-side processing that might be done as part of an app. In no way do I see it removing or replacing much of the server-side data validation or processing. I bet this stuff works great along side EJB, RoR, or PHP. Just paste the generated JavaScript right in there amongst your PHP code :)

    --
    --
  89. Re:Thank You for clearing that up. by HighOrbit · · Score: 2, Interesting

    First I want to say "Thank you" for releasing the project for free use and a double "Thank you" for having large portions under the Apache license.

    I figured that the output would be owned by the user, but the terms initially looked like the toolkit itself was restricted except for the parts you got from other projects.

    I opened the tarball and the two jars and have been reviewing some of the files. I see that substantial numbers of the .java files have an Apache license prefixed. Excellent!

  90. Correction.. some parts are by HighOrbit · · Score: 1

    Once you unzip/untar the distribution and open the jars, lots of the classes are accompanied by .java source with an Apache license.

  91. Re: Abstraction by kthejoker · · Score: 2, Insightful

    Forget "acceptable" - website design and development is perhaps the most practical science ever created. Nobody "does things because they can" in web development - people create toolkits, APIs, services, layouts, hacks, and other bits of code for the Web so that other people can use them to *actually build websites.* That means productivity is not only key, but it is desired at the practical exclusivity of knowledge of the code. In fact, if this toolkit means an art student largely ignorant of programming constructs can create a website like Flickr or Slashdot or a smoother looking Gmail, then I applaud that, because too few web designers really have any grasp of the word design.

    The other difference between websites and most programs is that a lot of standalone programs are designed for niche users with specific needs, and can't be translated for other uses easily, whereas most website programming is designed out of flexibility. Because the web uses such loose languages (XML, JSON, SOAP, etc) toolkits are a great way to address the flexibility in a more intuitive way.

    It's apples to oranges, really. Web design is 100% practicality.

  92. TIBCO's General Interface... by gravyface · · Score: 1

    ...might be an alternative for those looking for an AJAX GUI toolkit/IDE as opposed to a Java-based AJAX code generator.
    They have several "developer" and "public-display" licenses, although obviously a commercial solution: http://www.tibco.com/software/ria/default.jsp

    --
    body massage!
  93. This is logic being ~bound~ to presentation by Anonymous Coward · · Score: 0

    If you want to completely seperate presentation from logic, you have a basic html page with javascript calling whatever on the server which just returns data structures that the js then displays as necessary.

    This apears to be just another framework for developers too damn lazy to learn how to code in a stateless env, so they try to come up with ways to make a ~simulated~ stateful env. Just like ASP.NET.

    The compiled code on the servers should be returning nothing but data structures from a post or get request. Why should the back end care if the request is coming from a web page or cell phone?

    This API (like many if not most) binds the back end code and logic to one particular type of interface, so Im not sure how this is seperating logic from presentation; its tightly binding them together.

  94. AJAX != ActiveX by jthill · · Score: 1

    Not disagreeing with the rest — not competent to judge — but I know enough to know that. Guilt-by-association damn near fatally weakens your argument, though.

    --
    As always, all IMO. Insert "I think" everywhere grammatically possible.
  95. Guess what Number 2 is... by 0xdeadbeef · · Score: 1

    1. Get Google's attention... http://developers.slashdot.org/article.pl?sid=05/0 2/09/1836256
    2. ???
    3. Profit!

  96. Re: Abstraction by uradu · · Score: 1

    > I think you might be mis-interpreting what this thing does.

    Wow, I got this completely wrong. I admit I didn't RTFA, and simply assumed JSP or something like that as soon as I saw Java mentioned. This thing actually creates clean HTML+JavaScript files, which you're right, you can simply integrate with existing server side code. In fact, I may have to play with this some.

  97. That's what I was thinking. by insomniac8400 · · Score: 1

    "You write your front end in the Java programming language, and the GWT compiler converts your Java classes to browser-compliant JavaScript and HTML."
    It's kinda like how .NET works.

  98. GWT: Python -- Javascript compiler? by Salis · · Score: 1, Interesting

    What are the chances that a related package using Python instead of Java will be released/developed some time in the near future?

    I don't know the technical obstacles to doing this (and please elaborate on this if you want), but I think it'd be a useful addition. I'm sure there's lots of people who use Python, but not Java (for a variety of reasons).

    Thanks!

    Salis

    --
    Favorite /. tagline: "On the eighth day, God created FORTRAN." And it was good.
    1. Re:GWT: Python -- Javascript compiler? by Breakfast+Pants · · Score: 1

      The obstacles are large I am sure, but it is worth noting that Jython goes from Python to Java source to java bytecode, not straight to java bytecode (If I'm not mistaken, please correct me if I am). Having this intermediate step would seem to help the chances of this being possible.

      --

      --

      WHO ATE MY BREAKFAST PANTS?
    2. Re:GWT: Python -- Javascript compiler? by jtauber · · Score: 1

      See the py-gwt project pyworks.org

  99. JavaScript, easy to debug? by joe_n_bloe · · Score: 1

    That's like saying RISC assembler is easier to debug if you write it yourself than it is to debug if generated by a compiler.

    Well, not exactly, but the tools for debugging JavaScript in browsers suck. I'd rather have to worry about compiler bugs in the Java->JS compiler.

  100. Comparison: echo2, millstone, gwt, zk by jole · · Score: 1

    Quick comparison of "program AJAX UI in Java frameworks":
    echo2: released, server side executed, wysisyg ui editor
    millstone: prerelease, server side executed, theme separated from application
    zk: released, server side executed, xul support
    google web toolkit: beta, java executed on client, google brand

    All of the toolkits try to solve the same problem - allow creation of rich web ui with Java and avoid infinite testing often with JavaScript centric AJAX programming. From technical point of view, millstone, echo2 and fk are fairly similar. Google stands out with novel idea of cross-compiling java to javascript, that might make UI more responsive, lower server load and introduce security problems and make creation of client-server separation harder.

    From marketing point of view the game is quite clear - Google is the brand.

    echo2, zk and millstone are backed by small companies that support and live from the frameworks. All those products somehow combine open source licensing with business. Googles motivations are not clear in this stage.

    For a quick demo about Millstone, see:
    http://demo.itmill.com/AJAX/

    Disclaimer: I am CEO of IT Mill Ltd that is the company behind Millstone UI Library.

    --
    Vaadin - the best open source framework for building web applications in Java - no plug
  101. I'd just like to say: This rocks. by joe_n_bloe · · Score: 1

    I don't know how many of the people making glib, sarcastic observations here have actually used Java from within Eclipse, but having recently worked on a project involving Java, JavaScript, and C all at once, I'm practically moist with glee that I may have much less JavaScript to deal with and debug natively. If you have to deal with Java, Eclipse is the way to go.

  102. Wow! Morfik did a GREAT job on this by MikeyTheK · · Score: 1

    Worst. Kept. Secret. Ever. Morfik builds AJAX RAD IDE. Google releases AJAX RAD IDE. Morfik uses a "compiler" to take Java and turn it into JavaScript, CSS, DHTML, etc. Google releases "compiler" to take Java and turn it into JavaScrip, CSS, DHTML, etc.

    I'm SOOOOOOOOOOOOOOOOO surprised. It was nice to see that these two companies finally teamed up to get this into the hands of the masses. Good job!

    --
    Friends help you move. Real friends help you move bodies.
    Never forget: 2 + 2 = 5 for extremely large values of 2.
  103. disability users by nostriluu · · Score: 1

    What about people who use screen readers and such? Taking are of those people also means your site can be used for government and will probably work well with various other devices.

  104. Re:AJAX isn't really ready for .NET by Anonymous Coward · · Score: 0

    >>Even though HTML & Javascript are human readable, they are a pain
    >>to use directly since you either have to find or build your own
    >>higher level widgets and functions.

    you seem to be missing the point of ajax as you're only talking about html & javascript. making interactive pages need not ready any server side requests, which is where ajax comes in.

    >>HTML is especially difficult to separate into components when you
    >>are writing it by hand, since it is just a big string of text.

    each component should have defined set of elements used by the javascript. certain elements will trigger events, others will be used for input and you may need some to display results. depending on the situation the markup can be static or you can create it on the fly with the DOM. either way you just need to know where to drop the markup or attach the root element of the component, depending on which method you went for.

    if you start out from the beginning with this in mind its actualy relatively easy to do. if you're going to have a bunch of different components then have a test page for each where people using it can see the bare markup along with any javascript calls required.

    just don't get bogged down thinking about your html as a big string of text. your page should be made of components, which in turn are blocks of elements.

    boab.

  105. No support for LAMP (Linux, MySQL, Apache, PHP)? by chrisbeach · · Score: 1

    From what I can see in the documentation and sample source code, the GWT produces the client-side code and an extended servlet. This requires a J2EE container (e.g. Tomcat) to be running on the web server, in order to deploy the application to the Web.

    However, most consumer hosting providers offer LAMP (Linux, Apache, MySQL, PHP) style packages rather than J2EE, so I'm curious to know if the GWT offers any support for this as the server-side AJAX component? If not, and if it relies on a J2EE-powered server, it's surely missing a trick.

  106. Indeed... what about Laszlo? by spoco2 · · Score: 1

    I have mentioned Laszlo a fair few times here... but Laszlo does what this framework does, but far better, far more extensively, in an easier to code in language (XML + Javascript), and can render your output to Flash OR DHTML from the same source code (note that the DHTML output is in pre-beta form).

    Hurray for Google for providing this, and it'll be nice for some... but it's not revolutionary.

  107. Me too. by Joseph+Vigneau · · Score: 1

    Same here.

  108. 13 Mbs by kevin7010 · · Score: 1

    lightweight huh?

  109. [OT] Google Desktop by RetroGeek · · Score: 1

    Hi Bret, could you pass this to the Google Desktop team please?

    I recently received a Dell laptop, WinXP SP2. It came pre-loaded with Google desktop. I did NOT enable Google desktop. I also patched WinXP from the MS update site.

    I do a lot of Java/JSP development, using Java 1.5, Eclipse, MyEclipse, and Tomcat. All this resides on the laptop and browser access is via the 127.0.0.1 loopback. I am on an Intranet which had no access to the Internet.

    1.
    I was getting random "Page not found" errors. I could not find a pattern to the errors. The same page would work 10 times, would fail twice, then would work again. When it failed I saw that a Google search was being performed on the http://127.0.0.1/ address.

    I went through every browser option I could find to turn off ALL automated searches for web links. Still had the problems. I d/l and installed a special patch which was supposed to fix a loop-back problem in the WinXP firewall. Still had the problems.

    2. When I am doing testing I do a lot of back and forthing between pages. This is usually between the LIST page and the EDIT page. The LIST page displays a bunch of rows. You click on the Edit button, and that row is loaded into the EDIT page. Clicking on Save saves the info to the database, and takes you back to the LIST page.

    I noticed that after the EDIT page was loaded, a phantom call to the LIST servlet was being made. This was not in any part of the code and was not an action I initiated. Trying out the LIST/EDIT cycle from another machine (Win2K) did not cause this to happen.

    Note that I try REALLY hard to turn off all browser caching through every header directive I could locate.

    The Fix.

    After a frustrating week, and since the loopback failure was using Google, I tried to remove Google Desktop. I used the Uninstall file. The un-install stated that it completed successfully, BUT what i really did was to turn it on. I now had an extra box in IE for Google Desktop!

    Ok, I rooted through the registry and removed anything to do with Google. I deleted all the Google EXEs/ DLLs I could find.

    Once this was done, the loopback error disappeared AND the phantom call to the LIST servlet went away. This was over three months ago.

    I can only surmise that Google was intercepting page calls and:
    - every so often it would "fail" the loopback and try to find it on the Internet
    - in spite of all the no-cache directives, it noticed the pattern of LIST/ EDIT/ LIST/ EDIT, and "helpfully" tried to pre-fetch the LIST page

    Just some thoughts.....

    --

    - - - - - - - - - - -
    I am a programmer. I am paid to produce syntax not grammar. Deal with it.
  110. Re:AJAX isn't really ready for .NET by dcam · · Score: 1

    In one sense this is true. However in ASP.Net you are encouraged to use the ASP.Net WebUI controls, which include postback, server side events etc. The reality is that these are implemented with client side Javascript and Postback, to force the request to the server. The end result is HTML and Javascript that is often unpleasant, doesn't conform to standards and not cross-browser compatible.

    I should know, I code .Net for a living.

    --
    meh
  111. menubars, tabbed pages, etc... by shish · · Score: 1

    Looking at the kitchen sink demo -- Wouldn't it be so much better if HTML forms included all common UI elements, rather than web devs having to keep building them for themselves out of tonnes of html and javascript?

    --
    I mod down anyone who says "I will be modded down for this", regardless of the rest of their comment
  112. Doesnt Work in IE7 B2 by GISGEOLOGYGEEK · · Score: 1

    I guess I'm the only one here on the cutting edge, trying out IE7 B2.

    The Google system does not work in IE7 B2.

    Will Microsoft fix this,.... or simply let all of google's toys die as time passes, and the vast majority of people upgrade their browsers from IE6 to IE7?

    --
    George Bush + Linux = "I will not let information get in the way of the fight against Windows"