Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4034060
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T11:55:29+00:00 2026-05-20T11:55:29+00:00

I just read this article and it did confuse me a lot. Secondly, this

  • 0

I just read this article and it did confuse me a lot.

Secondly, this model allows us to minimize our use of GWTTestCase, which relies on the presence of a browser, and, for the bulk of our code, write lightweight (and fast) JRE tests (which don’t require a browser). [1]

Is this the whole benefit, I have from following this design pattern? It seems to make the code more complex… Do you use this pattern?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T11:55:30+00:00Added an answer on May 20, 2026 at 11:55 am

    I have to disagree, MVP makes code way less complex, especially in case of GWT. If you plan on medium to large size GWT project then MVP architecture is your primary option. I suggest to look at both GWT MVP (by Google) and at gwt-platform (suggested by KennethJ). There are other implementations as well.

    MVP’s main benefits (I mean MVP pattern – not just GWT MVP):

    • clear separation of GWT UI and
      business logic; all your client side
      Java code becomes extremely generic
      with minimal dependency on GWT
      implementation (primarily via
      interfaces). This helps tests
      tremendously but it’s invaluable
      benefit of UI design by itself.
    • maintainability of UI increases due to almost no dependency on business
      logic
    • increases amount of shared code between client and server due to
      limited GWT dependencies

    Other complementing technologies that you are likely to adopt:

    • gwt-gin (client side implementation of Google Guice): gwtp makes it almost required (or required – I never tried without it)
    • Guice (server side) for consistency with client code but not necessary technically
    • test mocking framework (e.g. mockito) always comes handy with MVP
    • GWT UIBinder – unless you are extremely dynamic in your UI design
    • GWT EventBus – main method of client side communication in asynchronous environment like AJAX/JavaScript
    • GWT-RPC via command pattern (gwtp dispatcher and/or RequestFactory)
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Just read this interesting article by Omar on his blog Linq to SQL solve
I just read this article on how to create global hotkeys using Carbon events.
Ok so I just read this question Do you ever use the volatile keyword
I just read this article SERVICE S = NEW SERVICEIMPL() - WHY YOU ARE
I've just read about @Resource annotation from this article ( http://www.infoq.com/articles/spring-2.5-part-1 ) and wish
I just read this post about why new-line warnings exist, but to be honest
Just finished read this post by Greg Young, where he is talking about Microsoft
I just started to read about this new technology... Does someone have some knowledge
I just read the Wikipedia article on mock objects , but I'm still not
I just read Joel Spolsky's article, Up the tata without a tutu , where

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.