I am working on POC for our new project, we are building a application which manages documents and it's contents. I want a UI with portlets and each portlets represents meta-data contents of particular document so basically it's not a social web application.
*Requirement:* Portal we need to build with widgets, all the widgets are web application some will be hosted by our container, others may be by different containers on different domain. I'm hoping Apache shindig would allow us to do this. *POC Use-case:* I want to create three web application *(i & ii) *two of them running on the shindig container but in a different domain and *(iii)*third one is running on non-shindig container (a simple web-app) in a different domain. *So far what I did:* I checked out source code from SVN, build successfully, also added maven archetype in eclipse to create a template for shindig web-app. Also deploy the shindig-server.war to tomcat and it's up and running fine sample gadget is working fine as well. Also went through how to implement own services and inject via Guice. *Problems:* I am not getting how to create simple gadget with it's own container and how to deploy with some basic service implementation. I am using shindig maven archetype which is added in eclipse to create new shindig web application so is this approach right? if not please suggest me alternative. *Questions:* 1. Is shindig able to full fill our requirements? 2. How does it handle web application running on different domain while integrating as a widget on the base portal? 3. What is the basic step to create simple hello-world shindig web-app from start to end with one simple service implementation, which has its own simple hello-world gadget and gadget container? (if you can please give me step by step instruction) 4. Right now shindig running on root of the tomcat, if I want to deploy as a non-root what configuration changes do I need to require, I followed available solution for that on website but not working, If I am running as non-root what other things I should take care while deploying my own shindig container? 5. Please, throw some light on two other POC use-cases as well, which is written above. 6. If I want to use shindig only for portlet then how it is superior then Ext-JS or JSR-168. 7. Is communication possible between portlets, if yes how? Please guide me in above concerns, I tired searching the web but didn't get my answers. Thank you Kishan