If in my GWT UI component I am using @Inject for reference of my CoolServiceAsync interface – will that create separate instance of the “implementation” of that service from GWT bindings? Or it is singleton and same instance of JavaScript object will be shared among all components?
Share
You must probably specify what you use for IoC in GWT. I assume you use google-gin. Unless you specify a binding as singleton, it will be created with help of GWT.create(), because of the deferred binding. GWT.create() always returns new instance.