• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
GWT - developing web applications with java (script) - Ewa Maciaś
 

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

on

  • 481 views

 

Statistics

Views

Total Views
481
Views on SlideShare
481
Embed Views
0

Actions

Likes
0
Downloads
0
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

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

    • GWTdeveloping web applicationswith java(script) Ewa Maciaś, emacias@google.com, 18-04- 2012 Kraków
    • 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; } }
    • {} + [] = ?empty object + empty array = ?
    • {}empty object
    • []empty array
    • 0zero
    • AJAX
    • 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; }
    • package com.example.foo.client;import com.google.gwt.user.client.rpc.RemoteService;public interface MyService extends RemoteService { public String myMethod(String s);}