Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

The full code is available as attachement (SampleShindigIntegrator.zip) of to this site.

1. Make an implementation for all three interfaces

...

No Format
<context-param>
  <param-name>guice-modules</param-name>
  <param-value>
      org.apache.shindig.common.PropertiesModule:
      org.apache.shindig.gadgets.DefaultGuiceModule:
      org.apache.shindig.social.core.config.ShindigIntegratorGuiceModule:     
      org.apache.shindig.gadgets.oauth.OAuthModule:
      org.apache.shindig.common.cache.ehcache.EhCacheModule
  </param-value>
</context-param>

Snippet of web.xml

There are several web.xml files in the shindig installation. Comments in the web.xml files indicate what they're for:

  • web.gadgets.xml: just the gadget rendering server
  • web.social.xml: just the social data / RESTful server
  • web.full.xml: both servers in a single container

4. Rebuild Shindig and you are ready

...