Currently, I am in need of the following:
I need to create a GWT module that can be seamlessly incorporated into a GWT app without requiring recompilation - essentially a plug-and-play solution. This module should include a widget along with various classes, and any GWT apps using it should have the ability to extend its functionality.
My initial thought is to compile the GWT module into JavaScript, distribute this JS file, and then utilize JSNI to connect to it.
Is there a standardized approach for achieving this kind of functionality?
Additionally, I am curious about methods for ensuring browser compatibility, such as tapping into GWT's bootstrap process to load the appropriate JS file based on the current browser.