Test: The Google Web Toolkit Test
Description: Google Web Toolkit (GWT) Knowledge Quiz
Which of the following is not true about running your application in Hosted mode?
you can debug the application with an IDE
a Java Virtual Machine (JVM) is used to run the application
a custom web browser with JVM hooks may be used
Remote Procedure Calls (RPC) in GWT are synchronous.
GWT provides an event handling mechanism which can notify your code registered with an addHistoryListener() when the user attempts to navigate away from a page.
Due to synchronization issues and the nature of AJAX applications you must call GWT.create(MyService.class) to build the service interface each time you need to communicate with the server.
It is possible to debug a GWT application's Java code using an IDE like Eclipse.
GWT produces web applications that will work with IE, Firefox, Mozilla, Safari, and Opera but it requires special detection code within your source code.
Which license is the Google Webtoolkit (GWT) licensed under?
Because GWT serialization supports a custom interface (IsSerializable) the transient keyword is not honored.
Which package is not included in the JRE emulation library?
In order to develop a new service you should extend which interface?
When writing a GWT application from scratch the recommended approach to use when localizing is:
static string localization
automatic generation with i18nCreator tool
dynamic jar resource bundle management
Two examples of GWT are Google Maps and Gmail.
What would you use to tweak the look-and-feel of a GWT UI?
custom Swing PLAF
the GWT Styles API
style bundles (style.properties)
The Google Mashup Editor front-end was written with GWT.
In order to be serialized by GWT primitive types must be wrapped by an appropriate wrapper class. For example int must be wrapped with Integer.
In order to produce efficient code, when a collection class is going to be serialized what must you be sure to do?
declare the method or field as final
declare the field as transient
mark the field with the volatile
use a special JavaDoc annotation (@gwt.typeArgs)
The JSNI allows an application to:
Serialize Plain Old Java Objects (POJOs)
Execute native code (.so or .dll)
Localize resource bundles
Is the GWT completely open source?
The GWTTestCase is the base class used for:
initializing the GWT demo "Kitchen Sink"
integration with JUnit
adding support for Selenium testing
integration with NUnit
The AsyncCallback has two methods, they are:
onSuccess(Object) and onFailure(Throwable)
onSend(String) and onReceive(String)
callbackLoaded() and callbackUnloaded()
sync(boolean) and async(boolean)
Explanations are possible now, but this test doesn't have any.
Yeah.. That didn't happen. Maybe this week.
Always making more work for me! :) Shouldn't be too difficult. I've got a "hint" idea as well.. I think I can knock them both out this weekend.
You should have an optional explanation for right / wrong answers, and display it as part of the question in the check your answers section.
Questions On GWT
Search With Gwt
Gwt Syncronous Rpc
Gwt Quiz Game
JUnit Tests Examples
Gwt Synchronous Call
Transient Keyword In GWT
Gwt Rpc Junit
Junit Gwt Rpc
Gwt Junit Rpc Calls
Gwt Custom Field Serializer
Gwt.typeArgs And Boolean
JUnit Example Application
Gwt Serialize Interfaces
Make Gwt Async Call Become Sync Call
Gwt Junit Sample Code
Synchronous RPC Calls Example In GWT
Google Application Exam
GWT Custom Serialization
Run Gwt Test