model in gwt mvp

Posted on 2011-04-28
Last Modified: 2012-05-11
when using MVP in gwt, the model is usually the DTO. in case the behavior of the model is complex, do you add the behavior methods in the DTO classes or in the presenter, or another group of dedicated model classes?

any best practice guidelines for that?
Question by:bhomass
    LVL 5

    Expert Comment

    by:Gidi Kern
    You should take into consideration that GWT does not support all java libraries. So if you want to use it in the client side it is easier to use a dedicted model. In general, I would recommend to implement additoinal service layer (In the data access layer) for imlplement the logical part.

    Author Comment

    I am aware of the issues you mentioned. I am strictly talking about logic that must reside on the client.

    Accepted Solution

    no applicable comments. closing.

    Author Closing Comment

    no applicable comments. this must be a very esoteric question.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Suggested Solutions

    Title # Comments Views Activity
    sameEnds challenge 25 55
    IT Company 5 54
    Saving Tweets with emojis using Twitter4J in a Mysql table 2 18
    create a gui in perl 3 21
    Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
    Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
    Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
    Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…

    737 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    22 Experts available now in Live!

    Get 1:1 Help Now