Server-side inheritance of RequestFactory services with generics works fine. See http://turbomanage.wordpress.com/2011/03/25/using-gwt-requestfactory-with-objectify/
Client-side inheritance of RequestContext interfaces is coming in 2.4. See http://code.google.com/p/google-web-toolkit/issues/detail?id=6234 Happy generifying! /dmc On Thu, Jun 23, 2011 at 10:18 AM, Elhanan <[email protected]> wrote: > i know this has been asked before, but i'm not sure how to respond to > it. > > given that requestContext and it's implementation parallal the Dao's > of jpa, it's plausible to create a generic dao with entity methods > like persist > > so i thought i would create a generic interface like > CommonRequestContext that would extent the RequestContext and define > persit method with the same signature of edit ... create etc. (using > base proxy) > > i also thought about creating a common base class of the actuall dao > that would define persist in a generic way. > > none of the options and alternatives i tried, worked because the gwt > compile doesn't treat generics the same way as java.. > > anyone tried something similar? > > -- > You received this message because you are subscribed to the Google Groups > "Google Web Toolkit" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/google-web-toolkit?hl=en. > > -- David Chandler Developer Programs Engineer, Google Web Toolkit w: http://code.google.com/ b: http://googlewebtoolkit.blogspot.com/ t: @googledevtools -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
