Gwt Presentation 1

944 views

Published on

here you find the GWT ,and how to establish an connection to android

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
944
On SlideShare
0
From Embeds
0
Number of Embeds
11
Actions
Shares
0
Downloads
14
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Gwt Presentation 1

  1. 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.
  2. 2. <ul><li>Open help--> Install new software </li></ul><ul><li>Type the url  --> http://dl.google.com/eclipse/plugin/3.5 . </li></ul><ul><li>Then add paste the same url then ok </li></ul><ul><li>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. </li></ul><ul><li>Review the features that you are about to install. Click Next.  </li></ul><ul><li>Read the license agreements and then select I accept the terms of the license agreements. Click Finish.  </li></ul><ul><li>You will then be asked be asked if you would like to restart Eclipse. Click Yes. </li></ul><ul><li>Now you are ready to build Google Web Toolkit and App Engine applications! </li></ul>Plug-in installation process:
  3. 3. <ul><li>Gwt provides two modes : </li></ul><ul><li>Development Mode </li></ul><ul><li>Web mode </li></ul><ul><li>  </li></ul><ul><li>Modules Entry Points and HTML pages </li></ul><ul><li>A module &quot;module name&quot; is described by a configuration file &quot;modulename.gwt.xml“ </li></ul><ul><li>An entry point in GWT is the starting point for a GWT application similar to the main method in a standard Java program. </li></ul><ul><li>Cont… </li></ul>
  4. 4. <ul><li>The module is connected with an HTML page </li></ul><ul><li>It define &quot;div&quot; containers to which the GWT application can assign UI components </li></ul><ul><li>Google web toolkit consists of: </li></ul><ul><li>SDK </li></ul><ul><li>Speed tracer </li></ul><ul><li>plug in for eclipse </li></ul>
  5. 5. Select File > New > Web Application Project. Enter the name “ Hello World &quot; for your project and the java package “ com.ni.helloWorld “. Only select &quot;Use Google Web Toolkit&quot;. Then Click Finish. Create your first GWT application
  6. 6. Gwt project structure
  7. 7. Overview <ul><li>Module Descriptor </li></ul><ul><li>Entry point </li></ul><ul><li>Debugging GWT applications </li></ul><ul><li>Client and Server Communication (RPC ) </li></ul>
  8. 8. Run GWT application To run your application right-click the project and select Run As -> &quot;Web application&quot;. This opens a new view &quot;Development Mode. Copy the url from this view.
  9. 9. Paste this url in your browser and install the required plugin (is necessary).
  10. 10. The result should look like the following.
  11. 11. Gwt applications <ul><li>1. Client-server communication </li></ul><ul><li>2. Internationalization </li></ul><ul><li>3. Junit testing </li></ul><ul><li>4. Google App Engine </li></ul><ul><li>5. MVP Architecture </li></ul>

×