Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Mention the pros and cons of UIBinder in GWT.

I want to develop a big project. Is it flexible to use UIBinder for my project?

share|improve this question
up vote 2 down vote accepted

UI Binder lets you write your display elements using a xml/html like language, and in a declarative way. This is generally cleaner than not using it and creating your display elements in Java code.

Also, if you work with designers, they will be much more comfortable working the UIBinder to modify the display of a page, rather than Java code. I would recommend using UIBinder if you can.

share|improve this answer
@Oleski can I get the better output by without using UI binder? – YuPPie Jul 11 '13 at 0:39
@YuPPie Not as fast as I know. You can check which features they support, but I believe you should be able to do almost the same set of things with each. – Oleksi Jul 11 '13 at 23:39

The biggest advantage of GWT in the process creating DOM is UiBinders, also known as “Declarative Layout”.

  • The UiBinder is a framework designed to separate Functionality and View of User Interface.

  • The UiBinder framework allows developers to build gwt applications as HTML pages with GWT widgets configured throughout them.

  • The UiBinder framework makes easier collaboration with UI designers who are more comfortable with XML, HTML and CSS than Java source code

  • The UIBinder provides a declarative way of defining User Interface.

  • The UIBinder separates the programmic logic from UI.

  • The UIBinder is similar to what JSP is to Servlets.

Copied from tutorialspoint: GWT - Using UiBinder

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.