Reputation: 8141
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... ?
Upvotes: 0
Views: 677
Reputation: 178350
Also have a serious look into CORS
A way to allow xmlhttp to access your site without problems in IE8 and FF 3.5+
Upvotes: 0
Reputation: 49114
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.
Upvotes: 2