Google Web Toolkit (GWT) Interview Questions for Experieced/Google Web Toolkit (GWT) Interview Questions and Answers for Freshers & Experienced

What are Modules, Entry Points and HTML Pages in GWT?

GWT applications are described as modules. A module ”modulename” is described by a configuration file ”modulename.gwt.xml”. Each module can define one or more Entry point classes.

An entry point is the starting point for a GWT application, similar to the main method in a standard Java program. A Java class which is an entry point must implement the interface ”com.google.gwt.core.client.EntryPoint” which defines the method onModuleLoad().
The module is connected to a HTML page, which is called ”host page”. The code for a GWT web application executes within this HTML document.
The HTML page can define ”div” containers to which the GWT application can assign UI components or the GWT UI components are simply assigned to the body tag of the HTML page.

Posted Date:- 2021-12-01 10:46:17

What is DevelopmentModeLogHandler in GWT?

DevelopmentModeLogHandler logs by calling method GWT.log. These messages can only be seen in Development Mode in the DevMode window.

Posted Date:- 2021-12-01 10:44:59

Which interface a java data object should implement so that it can be transferred over the wire in GWT RPC?

A java data object should implement isSerializable interface so that it can be transferred over the wire in GWT RPC.

Posted Date:- 2021-12-01 10:43:56

What is DialogBox in GWT?

This widget represents a form of popup that has a caption area at the top and can be dragged by the user. Unlike a PopupPanel, calls to PopupPanel.setWidth(String) and PopupPanel.setHeight(String) will set the width and height of the dialog box itself, even if a widget has not been added as yet.

Posted Date:- 2021-12-01 10:42:20

Explain Bootstrap Procedure For Gwt Application?

Following are the stairs of bootstrap proceure for GWT application whilst a browser loads the GWT application −Browser masses the host html page and .Nocache.Js document.
Browser executes the .Nocache.Js document's javascript code.
.Nocache.Js code resolves deferred binding configuarations (for example, browser detection) and use research desk generated by way of GWT compiler to locate one of the .Cache.Html.
.Nocache.Js code then creates a html hidden iframe, inserts that iframe into the host web page's DOM, and loads the .Cache.Html report into the identical iframe.
.Cache.Html contains the actual application of a GWT software and once loaded in iframe indicates the GWT utility in the browser.

Posted Date:- 2021-12-01 10:41:28

Which GWT widget represents a browsable view of a tree in which only a single node per level may be open at one time?

CellBrowser widget represents a browsable view of a tree in which only a single node per level may be open at one time. This widget will only work in standards mode, which requires that the HTML page in which it is run have an explicit <!DOCTYPE> declaration.

Posted Date:- 2021-12-01 10:40:19

Which GWT widget represents a simple panel that makes its contents focusable?

FocusPanel widget represents a simple panel that makes its contents focusable, and adds the ability to catch mouse and keyboard events.

Posted Date:- 2021-12-01 10:39:23

Which GWT widget represents a simple panel that wraps its contents in a scrollable area?

ScrollPanel widget represents a simple panel that wraps its contents in a scrollable area.

Posted Date:- 2021-12-01 10:38:27

Explain bootstrap procedure for GWT application.

Following are the steps of bootstrap proceure for GWT application when a browser loads the GWT application −
Browser loads the host html page and .nocache.js file.
Browser executes the .nocache.js file’s javascript code.
.nocache.js code resolves deferred binding configuarations (for example, browser detection) and use lookup table generated by GWT compiler to locate one of the .cache.html.
.nocache.js code then creates a html hidden iframe, inserts that iframe into the host page’s DOM, and loads the .cache.html file into the same iframe.
.cache.html contains the actual program of a GWT application and once loaded in iframe shows the GWT application in the browser.

Posted Date:- 2021-12-01 10:37:25

Which GWT widget represents a standard hierarchical tree?

Tree widget represents a standard hierarchical tree widget. The tree contains a hierarchy of TreeItems that the user can open, close, and select.

Posted Date:- 2021-12-01 10:36:41

What is DockPanel in GWT?

This widget represents a panel that lays its child widgets out "docked" at its outer edges, and allows its last widget to take up the remaining space in its center.

Posted Date:- 2021-12-01 10:35:54

What is DeckPanel in GWT?

DeckPanel is a panel that displays all of its child widgets in a 'deck', where only one can be visible at a time. It is used by TabPanel.

Posted Date:- 2021-12-01 10:35:09

What is Grid in GWT?

Grid widget represents a rectangular grid that can contain text, html, or a child Widget within its cells. It must be resized explicitly to the desired number of rows and columns.

Posted Date:- 2021-12-01 10:34:30

What is FlexTable in GWT?

FlexTable widget represents a flexible table that creates cells on demand. It can be jagged (that is, each row can contain a different number of cells) and individual cells can be set to span multiple rows or columns.

Posted Date:- 2021-12-01 10:33:45

What is HorizontalSplitPanel in GWT?

HorizontalSplitPanel widget represents a panel that arranges two widgets in a single horizontal row and allows the user to interactively change the proportion of the width dedicated to each of the two widgets. Widgets contained within a HorizontalSplitPanel will be automatically decorated with scrollbars when necessary.

Posted Date:- 2021-12-01 10:32:58

Which GWT widget represents a panel that lays all of its widgets out in a single vertical column?

VerticalPanel widget represents a panel that lays all of its widgets out in a single vertical column.

Posted Date:- 2021-12-01 10:32:06

Which GWT widget represents a panel that lays all of its widgets out in a single horizontal column?

HorizontalPanel widget represents a panel that lays all of its widgets out in a single horizontal column.

Posted Date:- 2021-12-01 10:31:11

Which GWT widget represents a panel that formats its child widgets using the default HTML layout behavior?

FlowPanel widget represents a panel that formats its child widgets using the default HTML layout behavior.

Posted Date:- 2021-12-01 10:30:30

What is the purpose of Image widget of a GWT?

This widget displays an image at a given URL.

Posted Date:- 2021-12-01 10:29:48

How can I dynamically fetch JSON feeds from other web domains?

Like all AJAX tools, GWT’s HTTP client and RPC libraries are restricted to only accessing data from the same site where the application was loaded, due to the browser Same Origin Policy. If the application is using JSON, there is a work around to this limitation using a <script> tag (aka JSON-P).

First, we need an external JSON service which can invoke user defined callback functions with the JSON data as argument. An example of such a service is GData’s “alt=json-in-script& callback=myCallback” support. Then, we can use JsonpRequestBuilder to make our call, in a way similar to a RequestBuilder when we’re not making a cross-site request.

Posted Date:- 2021-12-01 10:27:52

Which GWT widget represents a tabular view that supports paging and columns?

CellTable widget represents a tabular view that supports paging and columns.

Posted Date:- 2021-12-01 10:26:58

Which GWT widget represents a single column list of cells?

CellList widget represents a single column list of cells.

Posted Date:- 2021-12-01 10:25:56

Which GWT widget represents a view of a tree?

CellTree widget represents a view of a tree. This widget will only work in standards mode, which requires that the HTML page in which it is run have an explicit <!DOCTYPE> declaration.

Posted Date:- 2021-12-01 10:25:09

Which GWT widget represents a standard menu bar?

MenuBar widget represents a standard menu bar widget. A menu bar can contain any number of menu items, each of which can either fire a Command or open a cascaded menu bar.

Posted Date:- 2021-12-01 10:24:41

Which widget represents a hidden field in GWT?

Hidden widget represets a hidden field in an HTML form.

Posted Date:- 2021-12-01 10:23:53

Which widget represents a file upload in GWT?

FileUpload widget wraps the HTML <input type='file'> element.

Posted Date:- 2021-12-01 10:23:13

Which widget represents a rich text editor in GWT?

RichTextArea widget represents a rich text editor that allows complex styling and formatting.

Posted Date:- 2021-12-01 10:22:43

Which widget represents a multiline text box in GWT?

TextArea widget represents a text box that allows multiple lines of text to be entered.

Posted Date:- 2021-12-01 10:21:52

Which widget represents a multiline text box in GWT

TextArea widget represents a text box that allows multiple lines of text to be entered.

Posted Date:- 2021-12-01 10:21:11

Which widget represents a password text box in GWT?

PasswordTextBox widget represents a text box that visually masks its input to prevent eavesdropping.

Posted Date:- 2021-12-01 10:20:40

What is the default style name of any GWT widget?

By default, the class name for each component is gwt-<classname>. For example, the Button widget has a default style of gwt-Button and similar way TextBox widgest has a default style of gwt- TextBox.

Posted Date:- 2021-12-01 10:20:13

What is the purpose of Host Page?

The most important public resource is host page which is used to invoke actual GWT application. A typical HTML host page for an application might not include any visible HTML body content at all but it is always expected to include GWT application via a <script.../> tag.

Posted Date:- 2021-12-01 10:19:44

Why should a .nocache.js file never be cached?

GWT compiler generates .nocache.js file every time with the same name whenever a GWT application is compiled. So browser should always download the .nocache.js file to get the latest gwt application. gwt.js code actually appends a unique timestamp at the end of the file name so that browser always treat it a new file and should never cache it.

Posted Date:- 2021-12-01 10:19:19

What is the purpose of 'stylesheet' tag in *.gwt.xml file in GWT?

Automatically injects the external CSS file located at the location specified by src.

Posted Date:- 2021-12-01 10:18:53

Which widget represents a single line text box in GWT?

TextBox widget represents a single line text box.

Posted Date:- 2021-12-01 10:18:29

Which widget acts as a suggestion box in GWT?

SuggestBox widget represents a text box or text area which displays a pre-configured set of selections that match the user's input. Each SuggestBox is associated with a single SuggestOracle. The SuggestOracle is used to provide a set of selections given a specific query string.

Posted Date:- 2021-12-01 10:18:00

Which widget represents a list of choices to the user, either as a list box or as a drop-down list in GWT?

ListBox widget represents a list of choices to the user, either as a list box or as a drop-down list.

Posted Date:- 2021-12-01 10:17:36

Which widget represents a mutually-exclusive selection radio button widget in GWT?

RadioButton widget represents a mutually-exclusive selection radio button widget.

Posted Date:- 2021-12-01 10:17:14

Which widget represents a standard check box widget. This class also serves as a base class for RadioButton in GWT?

CheckBox widget represents a standard check box widget. This class also serves as a base class for RadioButton.

Posted Date:- 2021-12-01 10:16:56

Which widget represents a stylish stateful button which allows the user to toggle between up and down states in GWT?

ToggleButton widget represents a stylish stateful button which allows the user to toggle between up and down states.

Posted Date:- 2021-12-01 10:16:39

How do I create an app that fills the page vertically when the browser window resizes?

As of GWT 2.0, creating an application that fills the browser is easy using Layout Panels. LayoutPanels such as DockLayoutPanel and SplitLayoutPanel automatically resize to the size of the window when the browser resizes.

Posted Date:- 2021-12-01 10:15:53

What is the purpose of 'source' tag in *.gwt.xml file in GWT?

This specifies the names of source folders which GWT compiler will search for source compilation.

Posted Date:- 2021-12-01 10:15:11

How onModuleLoad functions get called if multiple entry-point classes are specified in *.gwt.xml?

They are called sequentially in the order in which entry-point classes appear in the module file. So when the onModuleLoad of your first entry point finishes, the next entry point is called immediately.

Posted Date:- 2021-12-01 10:14:45

Which method of a entry-point class is called when GWT application starts?

onModuleLoad function gets called and acts similar to main method of a java application.

Posted Date:- 2021-12-01 10:14:25

Which widget represents a standard push button in GWT?

Button widget represents a standard push button.

Posted Date:- 2021-12-01 10:13:54

What is the purpose of Anchor widget of GWT?

This widget represents a simple <a> element.

Posted Date:- 2021-12-01 10:13:35

What Is The Purpose Of 'supply' Tag In *.Gwt.Xml File In Gwt?

This specifies the names of supply folders which GWT compiler will search for source compilation.

Posted Date:- 2021-12-01 10:13:11

How Onmoduleload() Functions Get Called If Multiple Entry-factor Classes Are Specified In *.Gwt.Xml?

They are known as sequentially in the order in which entry-factor instructions appear in the module document. So while the onModuleLoad() of your first access point finishes, the next entry factor is called right now.

Posted Date:- 2021-12-01 10:12:55

Which Method Of A Entry-point Class Is Called When Gwt Application Starts?

onModuleLoad() function receives known as and acts similar to important method of a java application.

Posted Date:- 2021-12-01 10:12:36

Can You Have Multiple Entry-point Classes In A *.Gwt.Xml File?

Yes! Any range of entry-factor training may be introduced.

Posted Date:- 2021-12-01 10:12:21

Search
R4R Team
R4R provides Google Web Toolkit (GWT) Freshers questions and answers (Google Web Toolkit (GWT) Interview Questions and Answers) .The questions on R4R.in website is done by expert team! Mock Tests and Practice Papers for prepare yourself.. Mock Tests, Practice Papers,Google Web Toolkit (GWT) Interview Questions for Experieced,Google Web Toolkit (GWT) Freshers & Experienced Interview Questions and Answers,Google Web Toolkit (GWT) Objetive choice questions and answers,Google Web Toolkit (GWT) Multiple choice questions and answers,Google Web Toolkit (GWT) objective, Google Web Toolkit (GWT) questions , Google Web Toolkit (GWT) answers,Google Web Toolkit (GWT) MCQs questions and answers R4r provides Python,General knowledge(GK),Computer,PHP,SQL,Java,JSP,Android,CSS,Hibernate,Servlets,Spring etc Interview tips for Freshers and Experienced for Google Web Toolkit (GWT) fresher interview questions ,Google Web Toolkit (GWT) Experienced interview questions,Google Web Toolkit (GWT) fresher interview questions and answers ,Google Web Toolkit (GWT) Experienced interview questions and answers,tricky Google Web Toolkit (GWT) queries for interview pdf,complex Google Web Toolkit (GWT) for practice with answers,Google Web Toolkit (GWT) for practice with answers You can search job and get offer latters by studing r4r.in .learn in easy ways .