Test: The Google Web Toolkit Test
Description: Google Web Toolkit (GWT) Knowledge Quiz
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.
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
Which package is not included in the JRE emulation library?
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.
The JSNI allows an application to:
Serialize Plain Old Java Objects (POJOs)
Execute native code (.so or .dll)
Localize resource bundles
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 GWTTestCase is the base class used for:
initializing the GWT demo "Kitchen Sink"
integration with JUnit
adding support for Selenium testing
integration with NUnit
GWT produces web applications that will work with IE, Firefox, Mozilla, Safari, and Opera but it requires special detection code within your source code.
Is the GWT completely open source?
Remote Procedure Calls (RPC) in GWT are synchronous.
It is possible to debug a GWT application's Java code using an IDE like Eclipse.
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)
In order to develop a new service you should extend which interface?
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.
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)
Because GWT serialization supports a custom interface (IsSerializable) the transient keyword is not honored.
The Google Mashup Editor front-end was written with GWT.
Which license is the Google Webtoolkit (GWT) licensed under?
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.
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