?
Solved

model in gwt mvp

Posted on 2011-04-28
4
Medium Priority
?
363 Views
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?
0
Comment
Question by:bhomass
  • 3
4 Comments
 
LVL 5

Expert Comment

by:Gidi Kern
ID: 36006446
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.
0
 

Author Comment

by:bhomass
ID: 36007203
I am aware of the issues you mentioned. I am strictly talking about logic that must reside on the client.
0
 

Accepted Solution

by:
bhomass earned 0 total points
ID: 37452507
no applicable comments. closing.
0
 

Author Closing Comment

by:bhomass
ID: 37475327
no applicable comments. this must be a very esoteric question.
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
Suggested Courses
Course of the Month13 days, 19 hours left to enroll

807 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