Prepare Interview

Mock Exams

Make Homepage

Bookmark this page

Subscribe Email Address

GWT Interview Questions and Answers

Ques 11. What are the disadvantages of GWT?

Problems with indexing by search engines - IMHO, this should be the biggest disadvantage of using GWT, or pure JS web applications in general. Since the content, layout, everything is created "on-the-fly" with JS, the search engine will only see a very short HTML page and that's that - you have to take care of this somehow yourself (for example, using cloaking). Google has finally started to work on a solution for this, however it doesn't seem to attractive to me.
Update: Google has finally addressed this problem. However, I'll leave this as a trade-off because making the application crawable still requires more effort than in other frameworks. At least now we have a "standard" to follow and don't have to use some dubious techniques (like cloaking).

Need lot of memory to run it in dev mode.
High compile time.
Every server call will be ajax.
You will loose control on your javascript.

Is it helpful? Add Comment View Comments
 

Ques 12. What is GWT Compiler?

GWT Compiler used to convert the client side Java code to Javascript at the time of building the source files.

Is it helpful? Add Comment View Comments
 

Ques 13. Is GWT works in all the browsers? If yes why?

Yes GWT works in all the browsers because GWT compiler creates javascript code per browser and per localization.

I meant, if you configure module.xml with Firefox and IE then GWT compiler will create javascript code for both browsers seperately.

And when you load the application it first check from which browser you are opening the application and it will load the corresponding javascript.

It means GWT supports Cross browser functionality.

Is it helpful? Add Comment View Comments
 

Ques 14. What is GWT - Java Emulation library?

Google Web Toolkit includes a library that emulates a subset of the Java run-time library. The list below shows the set of JRE packages, types and methods that GWT can translate automatically. Note that in some cases, only a subset of methods is supported for a given type.

java.lang
java.lang.annotation
java.math
java.io
java.sql
java.util
java.util.logging

Is it helpful? Add Comment View Comments
 

Ques 15. What is Bootstrap process in GWT or How an applications loads in GWT?

HTML
|
nocache.js ( Bootstrap javascript file )
|
|->( Loads the browser specific files)
|
module.xml ( *.gwt.xml )
|
|->( which loads the entry point class )
|
onModuleLoad() method
|
|
|
Loads the application

Is it helpful? Add Comment View Comments
 

Most helpful rated by users:

©2024 WithoutBook