Submit Search
Upload
Going Offline with Gears And GWT
•
Download as PPT, PDF
•
12 likes
•
3,717 views
T
tom.peck
Follow
Writing offline web applications with Google Gears and GWT
Read less
Read more
Business
Technology
Report
Share
Report
Share
1 of 25
Download now
Recommended
Easing offline web application development with GWT
Easing offline web application development with GWT
Arnaud Tournier
Ajax ppt - 32 slides
Ajax ppt - 32 slides
Smithss25
Ajax and Jquery
Ajax and Jquery
People Strategists
Ajax
Ajax
Tech_MX
Rob Tweed :: Ajax and the Impact on Caché and Similar Technologies
Rob Tweed :: Ajax and the Impact on Caché and Similar Technologies
george.james
01 startoff angularjs
01 startoff angularjs
Erhwen Kuo
M Ramya
M Ramya
st anns PG College,Mallapur,Hyderabad, India
ASP.NET 12 - State Management
ASP.NET 12 - State Management
Randy Connolly
Recommended
Easing offline web application development with GWT
Easing offline web application development with GWT
Arnaud Tournier
Ajax ppt - 32 slides
Ajax ppt - 32 slides
Smithss25
Ajax and Jquery
Ajax and Jquery
People Strategists
Ajax
Ajax
Tech_MX
Rob Tweed :: Ajax and the Impact on Caché and Similar Technologies
Rob Tweed :: Ajax and the Impact on Caché and Similar Technologies
george.james
01 startoff angularjs
01 startoff angularjs
Erhwen Kuo
M Ramya
M Ramya
st anns PG College,Mallapur,Hyderabad, India
ASP.NET 12 - State Management
ASP.NET 12 - State Management
Randy Connolly
Ajax.ppt
Ajax.ppt
MAGNA COLLEGE OF ENGINEERING
Ajax Ppt
Ajax Ppt
Hema Prasanth
Building Android apps with Parse
Building Android apps with Parse
DroidConTLV
HTML5 New and Improved
HTML5 New and Improved
Timothy Fisher
MongoDB.local Berlin: Building a GraphQL API with MongoDB, Prisma and Typescript
MongoDB.local Berlin: Building a GraphQL API with MongoDB, Prisma and Typescript
MongoDB
Ajax presentation
Ajax presentation
Bharat_Kumawat
MongoDB.local Berlin: App development in a Serverless World
MongoDB.local Berlin: App development in a Serverless World
MongoDB
jQuery Ajax
jQuery Ajax
Anand Kumar Rajana
Android Intermediatte IAK full
Android Intermediatte IAK full
Ahmad Arif Faizin
Dropwizard Introduction
Dropwizard Introduction
Anthony Chen
What is Ajax technology?
What is Ajax technology?
JavaTpoint.Com
Creating REST Webservice With NetBeans
Creating REST Webservice With NetBeans
Neil Ghosh
Dropwizard and Friends
Dropwizard and Friends
Yun Zhi Lin
Building AOL's High Performance, Enterprise Wide Mail Application With Silver...
Building AOL's High Performance, Enterprise Wide Mail Application With Silver...
goodfriday
Ajax
Ajax
gauravashq
Java Web Programming on Google Cloud Platform [3/3] : Google Web Toolkit
Java Web Programming on Google Cloud Platform [3/3] : Google Web Toolkit
IMC Institute
Webdevelopment
Webdevelopment
Giacomo Antonino Fazio
Always on! Or not?
Always on! Or not?
Carsten Sandtner
Java Web Programming on Google Cloud Platform [2/3] : Datastore
Java Web Programming on Google Cloud Platform [2/3] : Datastore
IMC Institute
Xml http request
Xml http request
Jayalakshmi Ayyappan
Chapter 3
Chapter 3
PhysicsJackson
1
1
PhysicsJackson
More Related Content
What's hot
Ajax.ppt
Ajax.ppt
MAGNA COLLEGE OF ENGINEERING
Ajax Ppt
Ajax Ppt
Hema Prasanth
Building Android apps with Parse
Building Android apps with Parse
DroidConTLV
HTML5 New and Improved
HTML5 New and Improved
Timothy Fisher
MongoDB.local Berlin: Building a GraphQL API with MongoDB, Prisma and Typescript
MongoDB.local Berlin: Building a GraphQL API with MongoDB, Prisma and Typescript
MongoDB
Ajax presentation
Ajax presentation
Bharat_Kumawat
MongoDB.local Berlin: App development in a Serverless World
MongoDB.local Berlin: App development in a Serverless World
MongoDB
jQuery Ajax
jQuery Ajax
Anand Kumar Rajana
Android Intermediatte IAK full
Android Intermediatte IAK full
Ahmad Arif Faizin
Dropwizard Introduction
Dropwizard Introduction
Anthony Chen
What is Ajax technology?
What is Ajax technology?
JavaTpoint.Com
Creating REST Webservice With NetBeans
Creating REST Webservice With NetBeans
Neil Ghosh
Dropwizard and Friends
Dropwizard and Friends
Yun Zhi Lin
Building AOL's High Performance, Enterprise Wide Mail Application With Silver...
Building AOL's High Performance, Enterprise Wide Mail Application With Silver...
goodfriday
Ajax
Ajax
gauravashq
Java Web Programming on Google Cloud Platform [3/3] : Google Web Toolkit
Java Web Programming on Google Cloud Platform [3/3] : Google Web Toolkit
IMC Institute
Webdevelopment
Webdevelopment
Giacomo Antonino Fazio
Always on! Or not?
Always on! Or not?
Carsten Sandtner
Java Web Programming on Google Cloud Platform [2/3] : Datastore
Java Web Programming on Google Cloud Platform [2/3] : Datastore
IMC Institute
Xml http request
Xml http request
Jayalakshmi Ayyappan
What's hot
(20)
Ajax.ppt
Ajax.ppt
Ajax Ppt
Ajax Ppt
Building Android apps with Parse
Building Android apps with Parse
HTML5 New and Improved
HTML5 New and Improved
MongoDB.local Berlin: Building a GraphQL API with MongoDB, Prisma and Typescript
MongoDB.local Berlin: Building a GraphQL API with MongoDB, Prisma and Typescript
Ajax presentation
Ajax presentation
MongoDB.local Berlin: App development in a Serverless World
MongoDB.local Berlin: App development in a Serverless World
jQuery Ajax
jQuery Ajax
Android Intermediatte IAK full
Android Intermediatte IAK full
Dropwizard Introduction
Dropwizard Introduction
What is Ajax technology?
What is Ajax technology?
Creating REST Webservice With NetBeans
Creating REST Webservice With NetBeans
Dropwizard and Friends
Dropwizard and Friends
Building AOL's High Performance, Enterprise Wide Mail Application With Silver...
Building AOL's High Performance, Enterprise Wide Mail Application With Silver...
Ajax
Ajax
Java Web Programming on Google Cloud Platform [3/3] : Google Web Toolkit
Java Web Programming on Google Cloud Platform [3/3] : Google Web Toolkit
Webdevelopment
Webdevelopment
Always on! Or not?
Always on! Or not?
Java Web Programming on Google Cloud Platform [2/3] : Datastore
Java Web Programming on Google Cloud Platform [2/3] : Datastore
Xml http request
Xml http request
Viewers also liked
Chapter 3
Chapter 3
PhysicsJackson
1
1
PhysicsJackson
6
6
PhysicsJackson
6
6
PhysicsJackson
Introduction To Quantum Behaviour
Introduction To Quantum Behaviour
PhysicsJackson
5
5
PhysicsJackson
Chapter 8
Chapter 8
PhysicsJackson
Designer Materials 2
Designer Materials 2
PhysicsJackson
Chapter 3
Chapter 3
PhysicsJackson
13.3 Up Up And Away
13.3 Up Up And Away
PhysicsJackson
1
1
PhysicsJackson
Hercodereportolsf 090708195055 Phpapp02
Hercodereportolsf 090708195055 Phpapp02
Natalie Q.
Social Media Leads Generation
Social Media Leads Generation
Cashflow Copywriting and Marketing
Henry Smith Charity
Henry Smith Charity
syfab
Guidestar searching for similar organisations
Guidestar searching for similar organisations
syfab
Presentation 2
Presentation 2
Marilyn Hebert
Gala Sportu Kartingowego 2014
Gala Sportu Kartingowego 2014
PZM
Hercode Wittyfullreportfinal 090717195554 Phpapp02
Hercode Wittyfullreportfinal 090717195554 Phpapp02
Natalie Q.
NC HIE Himss discussion 21feb2012
NC HIE Himss discussion 21feb2012
twerf
Quantum Theory
Quantum Theory
PhysicsJackson
Viewers also liked
(20)
Chapter 3
Chapter 3
1
1
6
6
6
6
Introduction To Quantum Behaviour
Introduction To Quantum Behaviour
5
5
Chapter 8
Chapter 8
Designer Materials 2
Designer Materials 2
Chapter 3
Chapter 3
13.3 Up Up And Away
13.3 Up Up And Away
1
1
Hercodereportolsf 090708195055 Phpapp02
Hercodereportolsf 090708195055 Phpapp02
Social Media Leads Generation
Social Media Leads Generation
Henry Smith Charity
Henry Smith Charity
Guidestar searching for similar organisations
Guidestar searching for similar organisations
Presentation 2
Presentation 2
Gala Sportu Kartingowego 2014
Gala Sportu Kartingowego 2014
Hercode Wittyfullreportfinal 090717195554 Phpapp02
Hercode Wittyfullreportfinal 090717195554 Phpapp02
NC HIE Himss discussion 21feb2012
NC HIE Himss discussion 21feb2012
Quantum Theory
Quantum Theory
Similar to Going Offline with Gears And GWT
Future of Web Apps: Google Gears
Future of Web Apps: Google Gears
dion
สปริงเฟรมเวิร์ค4.1
สปริงเฟรมเวิร์ค4.1
ทวิร พานิชสมบัติ
The Big Picture and How to Get Started
The Big Picture and How to Get Started
guest1af57e
Javascript first-class citizenery
Javascript first-class citizenery
toddbr
I Feel Pretty
I Feel Pretty
John Quaglia
Boston Computing Review - Java Server Pages
Boston Computing Review - Java Server Pages
John Brunswick
09 - express nodes on the right angle - vitaliy basyuk - it event 2013 (5)
09 - express nodes on the right angle - vitaliy basyuk - it event 2013 (5)
Igor Bronovskyy
Bkbiet day2 & 3
Bkbiet day2 & 3
mihirio
Going Serverless with Azure Functions
Going Serverless with Azure Functions
Shahed Chowdhuri
Saving Time And Effort With QuickBase Api - Sergio Haro
Saving Time And Effort With QuickBase Api - Sergio Haro
QuickBase, Inc.
Google Gears
Google Gears
silenceIT Inc.
Php frameworks
Php frameworks
Anil Kumar Panigrahi
Running Vue Storefront in production (PWA Magento webshop)
Running Vue Storefront in production (PWA Magento webshop)
Vendic Magento, PWA & Marketing
General Principles of Web Security
General Principles of Web Security
jemond
The vJUG talk about jOOQ: Get Back in Control of Your SQL
The vJUG talk about jOOQ: Get Back in Control of Your SQL
Lukas Eder
Share point hosted add ins munich
Share point hosted add ins munich
Sonja Madsen
Revolution or Evolution in Page Object
Revolution or Evolution in Page Object
Artem Sokovets
Rediscovering Spring with Spring Boot(1)
Rediscovering Spring with Spring Boot(1)
Gunith Devasurendra
前端概述
前端概述
Ethan Zhang
Intro Open Social and Dashboards
Intro Open Social and Dashboards
Atlassian
Similar to Going Offline with Gears And GWT
(20)
Future of Web Apps: Google Gears
Future of Web Apps: Google Gears
สปริงเฟรมเวิร์ค4.1
สปริงเฟรมเวิร์ค4.1
The Big Picture and How to Get Started
The Big Picture and How to Get Started
Javascript first-class citizenery
Javascript first-class citizenery
I Feel Pretty
I Feel Pretty
Boston Computing Review - Java Server Pages
Boston Computing Review - Java Server Pages
09 - express nodes on the right angle - vitaliy basyuk - it event 2013 (5)
09 - express nodes on the right angle - vitaliy basyuk - it event 2013 (5)
Bkbiet day2 & 3
Bkbiet day2 & 3
Going Serverless with Azure Functions
Going Serverless with Azure Functions
Saving Time And Effort With QuickBase Api - Sergio Haro
Saving Time And Effort With QuickBase Api - Sergio Haro
Google Gears
Google Gears
Php frameworks
Php frameworks
Running Vue Storefront in production (PWA Magento webshop)
Running Vue Storefront in production (PWA Magento webshop)
General Principles of Web Security
General Principles of Web Security
The vJUG talk about jOOQ: Get Back in Control of Your SQL
The vJUG talk about jOOQ: Get Back in Control of Your SQL
Share point hosted add ins munich
Share point hosted add ins munich
Revolution or Evolution in Page Object
Revolution or Evolution in Page Object
Rediscovering Spring with Spring Boot(1)
Rediscovering Spring with Spring Boot(1)
前端概述
前端概述
Intro Open Social and Dashboards
Intro Open Social and Dashboards
Recently uploaded
Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...
Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...
lizamodels9
RSA Conference Exhibitor List 2024 - Exhibitors Data
RSA Conference Exhibitor List 2024 - Exhibitors Data
Exhibitors Data
B.COM Unit – 4 ( CORPORATE SOCIAL RESPONSIBILITY ( CSR ).pptx
B.COM Unit – 4 ( CORPORATE SOCIAL RESPONSIBILITY ( CSR ).pptx
priyanshujha201
Forklift Operations: Safety through Cartoons
Forklift Operations: Safety through Cartoons
Forklift Trucks in Minnesota
Grateful 7 speech thanking everyone that has helped.pdf
Grateful 7 speech thanking everyone that has helped.pdf
Paul Menig
Pharma Works Profile of Karan Communications
Pharma Works Profile of Karan Communications
karancommunications
A DAY IN THE LIFE OF A SALESMAN / WOMAN
A DAY IN THE LIFE OF A SALESMAN / WOMAN
IlamathiKannappan
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...
Dave Litwiller
KYC-Verified Accounts: Helping Companies Handle Challenging Regulatory Enviro...
KYC-Verified Accounts: Helping Companies Handle Challenging Regulatory Enviro...
Any kyc Account
Call Girls Pune Just Call 9907093804 Top Class Call Girl Service Available
Call Girls Pune Just Call 9907093804 Top Class Call Girl Service Available
Dipal Arora
unwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabi
unwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabi
Abortion pills in Kuwait Cytotec pills in Kuwait
Russian Call Girls In Gurgaon ❤️8448577510 ⊹Best Escorts Service In 24/7 Delh...
Russian Call Girls In Gurgaon ❤️8448577510 ⊹Best Escorts Service In 24/7 Delh...
lizamodels9
It will be International Nurses' Day on 12 May
It will be International Nurses' Day on 12 May
NZSG
0183760ssssssssssssssssssssssssssss00101011 (27).pdf
0183760ssssssssssssssssssssssssssss00101011 (27).pdf
Renandantas16
Organizational Transformation Lead with Culture
Organizational Transformation Lead with Culture
Seta Wicaksana
Best VIP Call Girls Noida Sector 40 Call Me: 8448380779
Best VIP Call Girls Noida Sector 40 Call Me: 8448380779
Delhi Call girls
VIP Call Girls In Saharaganj ( Lucknow ) 🔝 8923113531 🔝 Cash Payment (COD) 👒
VIP Call Girls In Saharaganj ( Lucknow ) 🔝 8923113531 🔝 Cash Payment (COD) 👒
anilsa9823
How to Get Started in Social Media for Art League City
How to Get Started in Social Media for Art League City
Eric T. Tung
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
Dipal Arora
M.C Lodges -- Guest House in Jhang.
M.C Lodges -- Guest House in Jhang.
Aaiza Hassan
Recently uploaded
(20)
Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...
Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...
RSA Conference Exhibitor List 2024 - Exhibitors Data
RSA Conference Exhibitor List 2024 - Exhibitors Data
B.COM Unit – 4 ( CORPORATE SOCIAL RESPONSIBILITY ( CSR ).pptx
B.COM Unit – 4 ( CORPORATE SOCIAL RESPONSIBILITY ( CSR ).pptx
Forklift Operations: Safety through Cartoons
Forklift Operations: Safety through Cartoons
Grateful 7 speech thanking everyone that has helped.pdf
Grateful 7 speech thanking everyone that has helped.pdf
Pharma Works Profile of Karan Communications
Pharma Works Profile of Karan Communications
A DAY IN THE LIFE OF A SALESMAN / WOMAN
A DAY IN THE LIFE OF A SALESMAN / WOMAN
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...
KYC-Verified Accounts: Helping Companies Handle Challenging Regulatory Enviro...
KYC-Verified Accounts: Helping Companies Handle Challenging Regulatory Enviro...
Call Girls Pune Just Call 9907093804 Top Class Call Girl Service Available
Call Girls Pune Just Call 9907093804 Top Class Call Girl Service Available
unwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabi
unwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabi
Russian Call Girls In Gurgaon ❤️8448577510 ⊹Best Escorts Service In 24/7 Delh...
Russian Call Girls In Gurgaon ❤️8448577510 ⊹Best Escorts Service In 24/7 Delh...
It will be International Nurses' Day on 12 May
It will be International Nurses' Day on 12 May
0183760ssssssssssssssssssssssssssss00101011 (27).pdf
0183760ssssssssssssssssssssssssssss00101011 (27).pdf
Organizational Transformation Lead with Culture
Organizational Transformation Lead with Culture
Best VIP Call Girls Noida Sector 40 Call Me: 8448380779
Best VIP Call Girls Noida Sector 40 Call Me: 8448380779
VIP Call Girls In Saharaganj ( Lucknow ) 🔝 8923113531 🔝 Cash Payment (COD) 👒
VIP Call Girls In Saharaganj ( Lucknow ) 🔝 8923113531 🔝 Cash Payment (COD) 👒
How to Get Started in Social Media for Art League City
How to Get Started in Social Media for Art League City
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
M.C Lodges -- Guest House in Jhang.
M.C Lodges -- Guest House in Jhang.
Going Offline with Gears And GWT
1.
2.
3.
How? GWT -
Google Web Toolkit Google Gears
4.
Google Web Toolkit
5.
Write AJAX Applications
in Java
6.
7.
8.
Google Gears
9.
10.
11.
12.
13.
14.
Manifest File {
"betaManifestVersion": 1, "version": "Version 1.0", "entries": [ { "url": "7EEF8FB6BA93DAAD0AB9A64C6D6471FE.cache.html" }, { "url": "7EEF8FB6BA93DAAD0AB9A64C6D6471FE.cache.js" }, { "url": "7EEF8FB6BA93DAAD0AB9A64C6D6471FE.cache.xml" }, { "url": "87AA9AB2FB06214DC10C32E7B35C5F6A.cache.html" }, { "url": "87AA9AB2FB06214DC10C32E7B35C5F6A.cache.js" }, { "url": "87AA9AB2FB06214DC10C32E7B35C5F6A.cache.xml" }, { "url": "884D363F8887607F5180653AA6B10E6D.cache.html" }, { "url": "884D363F8887607F5180653AA6B10E6D.cache.js" }, { "url": "884D363F8887607F5180653AA6B10E6D.cache.xml" }, { "url": "com.company.CompanyApp.nocache.js" }, { "url": "gears_init.js" }, { "url": "gwt.js" }, { "url": "CompanyApp.html" }, { "url": "default.css" }, { "url": "logo1.png" }, ] }
15.
Load Resources LocalServer
localServer = new LocalServer();ManagedResourceStore managedRS = localServer.createManagedResourceStore("CompanyApp"); managedRS.setManifestURL(" http://company.com/manifest.json "); managedR.checkForUpdate(); new Timer() { public void run() { switch (managedResourceStore.getUpdateStatus()) { case ManagedResourceStore.UPDATE_OK: statusLabel.setText("Ready for offline access"); break ; case ManagedResourceStore.UPDATE_CHECKING: case ManagedResourceStore.UPDATE_DOWNLOADING: schedule(500); break ; case ManagedResourceStore.UPDATE_FAILED: statusLabel.setText("Unable to go offline); break ; } } }.schedule(500);
16.
17.
18.
Create Database private
Database m_database = null; try { m_database = new Database(“Test”); ResultSet rs = m_database.execute(“create table...”); rs.close(); } // try catch (Exception e) { // Gears not installed } // catch
19.
Queries String sql
= “select id, first_name, last_name from person”; ResultSet rs = m_database.execute(sql); ArrayList results = new ArrayList(); while (rs.isValidRow()) { PersonBean person = new PersonBean(); person.setID(rs.getFieldAsInt(0)); person.setFirstName(rs.getFieldAsString(1)); person.setLastName(rs.getFieldAsString(2)); results.add(person); rs.next(); } // while rs.close();
20.
Insert, Update String
args[] = new String[3]; args[0] = Integer.toString(person.getID()); args[1] = person.getFirstName(); args[2] = person.getLastName();ResultSet rs = m_database.execute(“insert into person (id, first_name, last_name) values (?,?,?)”, args); rs.close(); args = new String[3]; args[0] = person.getFirstName(); args[1] = person.getLastName();args[2] = Integer.toString(person.getID()); rs = m_database.execute(“update person set first_name=?, last_name=? where id=?)”, args); rs.close();
21.
Demo
22.
23.
24.
Conclusion Google Gears
allows web applications to run offline Google Web Toolkit makes it easy to program Gears
25.
Thank You
Editor's Notes
This presentation describes how to create a web application that users can run inside their web browsers without having an Internet connection.
Download now