Sunday, May 30, 2010

GWT.runAsync and Command Pattern

Hi,

I am trying to split a GWT app that uses the command (action) pattern.
The problem is that "GWT.create(ActionService.class)" causes every
subclass of the return and parameter types to be included in the
initial fragment.

For instance, my action interface is:

public interface ActionService extends RemoteService {
<T extends Response, V extends Request> T execute(V req) throws
ActionFailedException;
}

the problem is that "module1.SomeRequest" and "module2.OtherRequest"
gets included in the initial fragment.
Do you see a way around this?

Thanks,
Julio Faerman

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

No comments:

Post a Comment