My company has a Java webapp that contains a product catalog feature. We are looking for a way to integrate the catalog into other sites in a way that no server side code would need to be written(on the external sites). I’m just looking for suggestions for ways that one might go about doing something like this… ?
Share
Are you assuming that the other sites will include your Javascript software into their html pages?
If so, you can provide the other sites with a javascript include statement that will pull the javascript from your server. Your JS library will then pull the data from your server using JSONP.
It will all work cross-domain. User Interface options to your JS library can be set using JS variables that your library will look for.