GWTdeveloping web applicationswith java(script)          Ewa Maciaś, emacias@google.com, 18-04-                       2012...
var jstiming = parent.jstiming; function click(m) {   jstiming && jstiming.load.tick(m); } function _B_prog(pct) {   if (p...
{} + [] = ?empty object + empty array = ?
{}empty object
[]empty array
0zero
AJAX
function ajaxFunction(){  var xmlHttp;  try{    // Creating XMLHttpRequest object (Gecko engine, WebKit, Presto, Trident w...
package com.example.foo.client;import com.google.gwt.user.client.rpc.RemoteService;public interface MyService extends Remo...
GWT - developing web applications with java (script) - Ewa Maciaś
GWT - developing web applications with java (script) - Ewa Maciaś
GWT - developing web applications with java (script) - Ewa Maciaś
GWT - developing web applications with java (script) - Ewa Maciaś
Upcoming SlideShare
Loading in …5
×

GWT - developing web applications with java (script) - Ewa Maciaś

470 views
418 views

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
470
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
0
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

GWT - developing web applications with java (script) - Ewa Maciaś

  1. 1. GWTdeveloping web applicationswith java(script) Ewa Maciaś, emacias@google.com, 18-04- 2012 Kraków
  2. 2. var jstiming = parent.jstiming; function click(m) { jstiming && jstiming.load.tick(m); } function _B_prog(pct) { if (parent[OZ_prog] !== undefined) { parent[OZ_prog] = pct; } }
  3. 3. {} + [] = ?empty object + empty array = ?
  4. 4. {}empty object
  5. 5. []empty array
  6. 6. 0zero
  7. 7. AJAX
  8. 8. function ajaxFunction(){ var xmlHttp; try{ // Creating XMLHttpRequest object (Gecko engine, WebKit, Presto, Trident w IE>6) xmlHttp=new XMLHttpRequest(); } catch(e) { // Catches exception if JavaScript does not have XMLHttpRequest try { // Creating ActiveXObject object, for ActiveX IE console xmlHttp=new ActiveXObject("Msxml2.XMLHTTP"); } catch(e) { try { // Creating ActiveXObject object, other versions of IE xmlHttp=new ActiveXObject("Microsoft.XMLHTTP"); } catch(e) { // Show an error on case of support for XMLHttpRequest alert("Your browser does not support AJAX!"); return false; } } } return xmlHttp; }
  9. 9. package com.example.foo.client;import com.google.gwt.user.client.rpc.RemoteService;public interface MyService extends RemoteService { public String myMethod(String s);}

×