We help IT Professionals succeed at work.

Check out our new AWS podcast with Certified Expert, Phil Phillips! Listen to "How to Execute a Seamless AWS Migration" on EE or on your favorite podcast platform. Listen Now

x

model in gwt mvp

bhomass
bhomass asked
on
Medium Priority
384 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?
Comment
Watch Question

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

Commented:
I am aware of the issues you mentioned. I am strictly talking about logic that must reside on the client.
Commented:
Unlock this solution with a free trial preview.
(No credit card required)
Get Preview

Author

Commented:
no applicable comments. this must be a very esoteric question.
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a free trial preview!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.