To use gwt-dispatch we create an object like:
private static final DispatchAsync dispatchAsync = GWT.create(DefaultDispatchAsync.class);
Is there any way to do this with injection, I mean how to inject this DispatchAsync
object into other classes where we need to use it.
This is something related to @Inject
annotation!