+ All Categories
Home > Technology > Gwt Presentation 1

Gwt Presentation 1

Date post: 17-Jan-2015
Category:
Upload: jetti-chowdary
View: 734 times
Download: 1 times
Share this document with a friend
Description:
here you find the GWT ,and how to establish an connection to android
Popular Tags:
12
Google Web Toolkit (GWT) is a development toolkit for building and optimizing complex browser-based applications Most interesting is that GWT is open source and many developers are using it. The developer can develop in Java and debug the code Once the code is finished the GWT compiler translates the Java code into Javascript. This compiler also makes sure that all the major browsers are correctly
Transcript
Page 1: Gwt Presentation 1

Google Web Toolkit (GWT) is a development toolkit for building and optimizing complex browser-based applications Most interesting is that GWT is open source and many developers are using it. The developer can develop in Java and debug the code Once the code is finished the GWT compiler translates the Java code into Javascript. This compiler also makes sure that all the major browsers are correctly support.

Page 2: Gwt Presentation 1

1. Open help--> Install new software2. Type the url  -->http://dl.google.com/eclipse/plugin/3.5 .3. Then add paste the same url then ok4. Then Back in the Install dialog, you should see the center box

filled with Plug-in and SDKs. Select the checkbox next to both of these. This will install the     plug-in,  a Google App Engine Java SDK and a Google Web Toolkit SDK. Click Next.

5. Review the features that you are about to install. Click Next. 6. Read the license agreements and then select I accept the terms

of the license agreements. Click Finish. 7. You will then be asked be asked if you would like to restart

Eclipse. Click Yes.8. Now you are ready to build Google Web Toolkit and App Engine

applications!

Plug-in installation process:

Page 3: Gwt Presentation 1

Gwt provides two modes: Development Mode Web mode

 Modules Entry Points and HTML pages

A module "module name" is described by a configuration file "modulename.gwt.xml“

An entry point in GWT is the starting point for a GWT application similar to the main method in a standard Java program.

Cont…

Page 4: Gwt Presentation 1

The module is connected with an HTML pageIt define "div" containers to which the GWT

application can assign UI components

Google web toolkit consists of: SDK Speed tracer plug in for eclipse

Page 5: Gwt Presentation 1

Select File > New > Web Application Project. Enter the name “ Hello World " for your project and the java package “ com.ni.helloWorld “. Only select "Use Google Web Toolkit". Then Click Finish.

Create your first GWT application

Page 6: Gwt Presentation 1

Gwt project structure

Page 7: Gwt Presentation 1

Overview

1. Module Descriptor2. Entry point3. Debugging GWT applications4. Client and Server Communication (RPC)

Page 8: Gwt Presentation 1

Run GWT application

To run your application right-click the project and select Run As -> "Web application".

This opens a new view "Development Mode. Copy the url from this view.

Page 9: Gwt Presentation 1

Paste this url in your browser and install the required plugin (is necessary).

Page 10: Gwt Presentation 1

The result should look like the following.

Page 11: Gwt Presentation 1

Gwt applications1. Client-server communication2. Internationalization3. Junit testing4. Google App Engine5. MVP Architecture

Page 12: Gwt Presentation 1

Recommended