GWT

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Ajax » GWT 
Google Web Toolkit
License:Licensed under the Apache License, Version 2.0
URL:http://code.google.com/webtoolkit
Description:
Package NameComment
com.google.doctool
com.google.doctool.custom
com.google.gwt.ant.taskdefs
com.google.gwt.checkstyle
com.google.gwt.core.client Fundamental classes used in client-side GWT code. The classes in this package represent concepts fundamental to GWT, such as module entry points, and interfacing with JavaScript.
com.google.gwt.core.ext Classes used to extend the GWT compiler. Developers will use the classes in this package only when creating custom code {@link com.google.gwt.core.ext.Generator generators}.
com.google.gwt.core.ext.typeinfo Type-introspection support classes used by generators. Developers implementing custom {@link com.google.gwt.core.ext.Generator generators} will use the classes in this package for introspection of the code being compiled.
com.google.gwt.core.ext.typeinfo.test Used to test the annotation of packages.
com.google.gwt.dev
com.google.gwt.dev.cfg
com.google.gwt.dev.cfg.client
com.google.gwt.dev.cfg.test.caseinsensitive
com.google.gwt.dev.cfg.test.casesensitive
com.google.gwt.dev.cfg.test.excludes
com.google.gwt.dev.cfg.test.includeexclude
com.google.gwt.dev.cfg.test.includes
com.google.gwt.dev.cfg.test.recursive.bar
com.google.gwt.dev.cfg.test.recursive.good
com.google.gwt.dev.cfg.test.recursive.good.bar
com.google.gwt.dev.cfg.test.recursive.good.bar.good
com.google.gwt.dev.generator
com.google.gwt.dev.generator.ast
com.google.gwt.dev.jdt
com.google.gwt.dev.jdt.test
com.google.gwt.dev.jjs
com.google.gwt.dev.jjs.ast
com.google.gwt.dev.jjs.ast.js
com.google.gwt.dev.jjs.impl
com.google.gwt.dev.jjs.intrinsic.com.google.gwt.lang
com.google.gwt.dev.jjs.test
com.google.gwt.dev.js
com.google.gwt.dev.js.ast
com.google.gwt.dev.js.rhino
com.google.gwt.dev.shell
com.google.gwt.dev.shell.ie
com.google.gwt.dev.shell.mac
com.google.gwt.dev.shell.moz
com.google.gwt.dev.shell.test
com.google.gwt.dev.shell.tomcat
com.google.gwt.dev.typeinfo.test
com.google.gwt.dev.util
com.google.gwt.dev.util.arg
com.google.gwt.dev.util.log
com.google.gwt.dev.util.msg
com.google.gwt.dev.util.test
com.google.gwt.dev.util.xml
com.google.gwt.emul.java.io
com.google.gwt.emul.java.lang
com.google.gwt.emul.java.lang.annotation
com.google.gwt.emul.java.util
com.google.gwt.emultest
com.google.gwt.emultest.java.lang
com.google.gwt.emultest.java.util
com.google.gwt.http
com.google.gwt.http.client Provides the client-side classes and interfaces for making HTTP requests and processing the associated responses.

Most applications will be interested in the {@link com.google.gwt.http.client.Request}, {@link com.google.gwt.http.client.RequestBuilder}, {@link com.google.gwt.http.client.RequestCallback} and {@link com.google.gwt.http.client.Response} classes.

Caveats

Same-Origin Security Policy

Modern web browsers restrict client-side scripts from accessing items outside of their source origin. This means that a script loaded from www.foo.com cannot access content from www.bar.com. For more details please see, Same-Origin Security Policy.

Pending Request Limit

Modern web browsers are limited to having only two HTTP requests outstanding at any one time. If your server experiences an error that prevents it from sending a response, it can tie up your outstanding requests. If you are concerned about this, you can always set timeouts for the request via {@link com.google.gwt.http.client.RequestBuilder#setTimeoutMillis(int)}.

Required Module

Modules that use the classes and interfaces in this package should inherit the com.google.gwt.http.HTTP module. {@gwt.include com/google/gwt/examples/http/InheritsExample.gwt.xml}

Quick Howto's

How should I write a RequestCallback handler class?

The following code shows how a {@link com.google.gwt.http.client.RequestCallback} instance should be written. {@example com.google.gwt.examples.http.client.RequestCallbackExample}

How do I make a GET request?

The following example demonstrates how to perform an HTTP GET request. {@example com.google.gwt.examples.http.client.GetExample}

How do I make a POST request?

The following example demonstrates how to perform an HTTP POST request. {@example com.google.gwt.examples.http.client.PostExample}

How do I use request timeouts?

The following example demonstrates how to use the timeout feature. {@example com.google.gwt.examples.http.client.TimeoutExample}

How do I construct a string for use in a query or POST body?

The following example demonstrates how to build a x-www-form-urlencoded string that can be used as a query string or as the body of a POST request. {@example com.google.gwt.examples.http.client.QueryAndFormDataExample}

How can I make a {@link com.google.gwt.http.client.RequestBuilder} send a request other than GET or POST?

The following example demonstrates how to allow an HTTP request other than a GET or a POST to be made. Beware: if you plan on supporting Safari, you cannot use this scheme. {@example com.google.gwt.examples.http.client.RequestBuilderForAnyHTTPMethodTypeExample}
com.google.gwt.http.server
com.google.gwt.i18n
com.google.gwt.i18n.client Internationalization support for GWT applications. GWT includes a flexible set of tools to help you internationalize your applications and libraries. GWT internationalization support provides a variety of techniques to internationalize strings, typed values, and classes.
com.google.gwt.i18n.client.constants
com.google.gwt.i18n.client.gen
com.google.gwt.i18n.client.impl
com.google.gwt.i18n.client.resolutiontest
com.google.gwt.i18n.rebind
com.google.gwt.i18n.rebind.util
com.google.gwt.i18n.tools
com.google.gwt.json.client Classes for parsing and creating JSON encoded values. These classes parse strings of JSON encoded values into Java accessible objects. They also support programmatically building JSON strings.
com.google.gwt.junit
com.google.gwt.junit.benchmarks
com.google.gwt.junit.client Classes and modules used in building JUnit tests.
com.google.gwt.junit.client.impl
com.google.gwt.junit.rebind
com.google.gwt.junit.remote
com.google.gwt.junit.server
com.google.gwt.junit.tools
com.google.gwt.junit.translatable.com.google.gwt.junit.client
com.google.gwt.junit.translatable.com.google.gwt.junit.client.impl
com.google.gwt.junit.translatable.junit.framework
com.google.gwt.junit.viewer.client
com.google.gwt.junit.viewer.server
com.google.gwt.module.client
com.google.gwt.sample.dynatable.client
com.google.gwt.sample.dynatable.server
com.google.gwt.sample.hello.client
com.google.gwt.sample.i18n.client
com.google.gwt.sample.json.client
com.google.gwt.sample.kitchensink.client
com.google.gwt.sample.mail.client
com.google.gwt.sample.simplerpc.client
com.google.gwt.sample.simplerpc.server
com.google.gwt.sample.simplexml.client
com.google.gwt.user
com.google.gwt.user.client Fundamental user-interface classes used in client-side GWT code. This package contains classes representing fundamental concepts, such as browser history, the browser window, DOM manipulation, and event handling. It also contains convenience classes such as Timer and Random.
com.google.gwt.user.client.impl
com.google.gwt.user.client.rpc Classes used in client-side implementation of remote procedure calls. Most applications will be interested in AsyncCallback, InvocationException, RemoteService, and ServiceDefTarget. The other classes in this package are used primarily in implementing RPC proxies.
com.google.gwt.user.client.rpc.core.java.lang
com.google.gwt.user.client.rpc.core.java.util
com.google.gwt.user.client.rpc.impl
com.google.gwt.user.client.ui Widgets, Panels, and other user-interface classes. This package contains all of the high-level user-interface Widgets, along with panels and event interfaces. These classes form the bulk of the client-side libraries used by GWT applications.
com.google.gwt.user.client.ui.impl
com.google.gwt.user.maptests
com.google.gwt.user.rebind
com.google.gwt.user.rebind.rpc
com.google.gwt.user.rebind.rpc.testcases.client
com.google.gwt.user.rebind.ui
com.google.gwt.user.server.rpc Classes used in server-side implementation of remote procedure calls.

The {@link com.google.gwt.user.server.rpc.RemoteServiceServlet RemoteServiceServlet} class provides the most convenient implementation of server-side GWT RPC. This class can be used in two ways: it can be subclassed by servlets that directly implement one or more service interfaces, in which case incoming RPC calls will be directed to the servlet subclass itself; or it can be overridden to give finer control over routing RPC calls within a server framework. (For more details on the latter, see the {@link com.google.gwt.user.server.rpc.RemoteServiceServlet#processCall(String) RemoteServiceServlet.processCall(String)} method.)

Alternatively, GWT RPC can be integrated into an existing framework, by using the {@link com.google.gwt.user.server.rpc.RPC RPC} class to perform GWT RPC decoding, invocation, and encoding. RemoteServiceServlet need not be subclassed at all in this case, though reading its source is advisable.

Note that the default RemoteServiceServlet implementation never throws exceptions to the servlet container. All exceptions that escape the the {@link com.google.gwt.user.server.rpc.RemoteServiceServlet#processCall(String) RemoteServiceServlet.processCall(String)} method will be caught, logged in the servlet context, and will cause a generic failure message to be sent to the GWT client -- with a 500 status code. To customize this behavior, override {@link com.google.gwt.user.server.rpc.RemoteServiceServlet#doUnexpectedFailure(java.lang.Throwable) RemoteServiceServlet.doUnexpectedFailure(java.lang.Throwable)}.

com.google.gwt.user.server.rpc.impl
com.google.gwt.user.server.ui
com.google.gwt.user.tools
com.google.gwt.user.tools.util
com.google.gwt.util.tools
com.google.gwt.xml.client Basic classes used in XML DOM parsing and XML document generation.

The classes in this package support parsing XML documents and creating new XML documents. The implementation uses the underlying browser.

com.google.gwt.xml.client.impl
org.apache.catalina.loader
org.apache.commons.collections

Author:EC

This packages code originated from Apache, so it seperate from gwt code. However, as gwt does not support all of Apache Collections, this package has been heavily modified, so replace it with a new version only if you wish to do all the modifications again
org.eclipse.swt.browser
org.eclipse.swt.internal
org.eclipse.swt.internal.ole.win32
org.eclipse.swt.ole.win32
org.eclipse.swt.program
org.eclipse.swt.widgets
test
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.