Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more ➡
Download
Standard view
Full view
of .
Add note
Save to My Library
Sync to mobile
Look up keyword
Like this
1Activity
×
0 of .
Results for:
No results containing your search query
P. 1
GWT Basics

GWT Basics

Ratings: (0)|Views: 39|Likes:
Published by pavan7211
basics to know the GWT
basics to know the GWT

More info:

Published by: pavan7211 on Jun 26, 2012
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See More
See less

12/16/2012

pdf

text

original

 
© 2012 Marty Hall& Yaakov Chaikin
Customized Java EE Training: http://courses.coreservlets.com/
GWT, Java, JSF 2, PrimeFaces, Servlets, JSP, Ajax, jQuery, Spring, Hibernate, RESTful Web Services, Hadoop, Android.
Developed and taught by well-known author and developer. At public venues or onsite at
 your 
location.
The Google Web Toolkit (GWT):Programming Basics
(GWT 2.4 Version)
Originals of Slides and Source Code for Examples:http://courses.coreservlets.com/Course-Materials/gwt.html
 
© 2012 Marty Hall& Yaakov Chaikin
Customized Java EE Training: http://courses.coreservlets.com/
GWT, Java, JSF 2, PrimeFaces, Servlets, JSP, Ajax, jQuery, Spring, Hibernate, RESTful Web Services, Hadoop, Android.
Developed and taught by well-known author and developer. At public venues or onsite at
 your 
location.
For live Ajax and GWT training, please seecourses at http://courses.coreservlets.com/.
 
Taught by the author of 
Core Servlets and JSP 
,
MoreServlets and JSP 
, and this tutorial. Available at publicvenues, or customized versions can be held on-site atyourorganization.
 
Courses developed and taught by Marty Hall
 –JSF 2, PrimeFaces, servlets/JSP, Ajax, jQuery, Android development, Java 6 or 7 programming, custom mix of topics – Ajax courses can concentrate on 1 library (jQuery, Prototype/Scriptaculous, Ext-JS, Dojo, etc.) or survey several
Courses developed and taught by coreservlets.com experts (edited by Marty)
 –Spring, Hibernate/JPA, EJB3, GWT, Hadoop, SOAP-based and RESTful Web Services
Contact hall@coreservlets.comfor details
 
Topics in This Section
Development process
 – Making a project
File
New
Web Application Project
 – Deleting extraneous files
Most Java classes other than AppName.java
 – Editing auto-generated HTML file
Preserve link to load JavaScript fileCreate HTML elements with ID’s for GWT to use
 – Editing auto-generated Java class
 Add client-side event handlersCreate and call custom Java classes
Testing process
 – Development mode, production mode, deployed mode
5
© 2012 Marty Hall& Yaakov Chaikin
Customized Java EE Training: http://courses.coreservlets.com/
GWT, Java, JSF 2, PrimeFaces, Servlets, JSP, Ajax, jQuery, Spring, Hibernate, RESTful Web Services, Hadoop, Android.
Developed and taught by well-known author and developer. At public venues or onsite at
 your 
location.
GWT DevelopmentProcess
 
Review of Last Section
Installation and setup
 – Install GWT Eclipse plugin
Select option to download GWT at the same time as the plugin
 – Install GWT browser plugin
Done first time you run in development mode
 – Bookmark GWT docs
Making new project
 – File
 New
Web Application Project
Or, click “g” at top
Testing
 – Development mode (R-click, Run As
Web Application) – Production mode (R-click, Google
GWT Compile) – On regular Java server (copy/rename “war” folder and deploy)
7
General ApplicationDevelopment Approach
Create new project
Delete extraneous files
 – Delete auto-generated classes that you are not using – If simple app with no server-side code:
Delete entire “server” packageEdit web.xml to remove reference to GWT servlet
Edit auto-generated HTML file
 – war/MyApp.html
Edit auto-generated Java file
 – src/package.client/MyApp.java
Test
8

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->