Table of Contents
Thsi is really hard
Sample project / solution
- Openhab: websocket with atmosphere
Jetty 9.x repository
- P2 Jetty: http://download.eclipse.org/jetty/
- P2 Orbit (apache jar bundled for osgi): http://download.eclipse.org/tools/orbit/downloads/
3rd party dependencies
Howto?
- In PDE add jetty-9.x and orbit p2 repositories to target platform.
-
- following bundles are needed: http://download.eclipse.org/jetty/orbit/
Problem: Embedded Jetty in RCP (PDE) can serve static html/js. Install Rest/websocket backen? webapp? Spring?
Whare technologies are there?
- ich habe eine RCP-Anwendung und muss die Geschäftslogik auf einen remote Applikationserver auslagern. Das Ziel ist dabei, das eine so angepasste Anwendung installationsabhängig entweder als standalone RCP-Client oder als verteilte Server/Client RCP Anwendung deployed werden kann. Dafür möchte ich Spring DM mit dem Spring HTTPInvoker für die Kommunikation zwischen RCP-Client und OSGI-Server einsetzen
- I have explained how to use CXF/DOSGi in RCP Application with Spring DM and JAX-RS at http://angelozerr.wordpress.com/about/eclipse_spring/eclipse_spring_dosgi/ . Hope it will help you.
- Spring DM Web-Extender nicht. Wichtig ist, dass der funktioniert, da ansonsten die webapps nicht automatisch deployed werden. (wenn das webappbundle gestartet wurde). Die Spring DM distribution hat aber sowohl eine tomcat, als auch eine jetty Version dabei.
PDE vs OSGI TIPS
- Add 3rd bundles to PDE: http://stackoverflow.com/questions/11126566/eclipse-pde-project-add-bundle-dependency