Saturday, April 6, 2013

Implementing a service using request factory : static method in a type vs instance methods in a service class

I'm using JDO with RequestFactory and MVP pattern. Example to  implement service in firty way is very clear to me from https://developers.google.com/web-toolkit/doc/latest/DevGuideRequestFactory#entity_service

But how do you implement a service as instance methods in a service class? I am not very clear with the definition and use of ServiceLocator , Locator. When do you use them?

Is a service class different from persistence capable entity?

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments:

Post a Comment