ArcBees/GWTP — pull request #500 by hlavki (2014-05-31 16:22:04+00:00)
Title: add OSGI support for server side gwtp libraries

This is proposal for OSGi-fication of GWTP server side libraries.
It needs to be tested. Actually, I don't know which API should be exported and which are private.
There is also one OSGi like dirty thing in gwtp. Modules gwtp-dispatch-common-shared and gwtp-dispatch-rpc-shared exports same package (com.gwtplatform.dispatch.shared) whis is not good, but it works using split OSGi features. I tested it on karaf 3.0.1

Example of karaf feature.xml:
```xml

wrap:mvn:com.google.gwt/gwt-servlet/2.6.1
mvn:com.google.inject/guice/3.0
mvn:com.google.inject.extensions/guice-servlet/3.0
mvn:com.google.inject.extensions/guice-assistedinject/3.0
mvn:javax.inject/com.springsource.javax.inject/1.0.0
mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.aopalliance/1.0_6

gwt-server
mvn:com.gwtplatform/gwtp-dispatch-rpc-server/1.3-SNAPSHOT
mvn:com.gwtplatform/gwtp-dispatch-rpc-server-guice/1.3-SNAPSHOT
mvn:com.gwtplatform/gwtp-dispatch-rpc-shared/1.3-SNAPSHOT
mvn:com.gwtplatform/gwtp-dispatch-common-shared/1.3-SNAPSHOT
mvn:com.gwtplatform/gwtp-mvp-shared/1.3-SNAPSHOT

```