Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "RapExamples"

 
(RAP Example projects)
Line 1: Line 1:
==RAP Example projects==
+
==RAP running on OSGi==
 +
The example shows RAP running on OSGi. It consists of a
 +
RAP fontend and an RCP client, both sharing the same
 +
core plugin.
 +
 
 +
You can download the set of projects that form the example
 +
here: [http://w4teclipse.com/rap/rapsample.zip] (2.9 MB).
 +
 
 +
'''A brief overview of the content'''
 +
 
 +
''Note that project names are without the leading org.eclipse.''
 +
* '''rap.example.core''' provides the data model of the example. It is shared by the RCP client and the RAP frontend.
 +
 
 +
* '''rap.example.rcp''' contains the RCP client (includes a launch configuration)
 +
 
 +
* The RAP frontend is provided by '''rap.example.ui'''. You can launch it with the OGGi Equinox launcher, a launch configuration is stored in plugin project. You can access the demo with http://localhost/W4TDelegate. Make sure that no other service is using port 80.
 +
 
 +
* The '''example.data''' project stores the data that both projects use. Note that a new session is needed (RCP == new launch / RAP == new browser session) to access data that has been changed by the other application.
 +
 
 +
* The '''rap.ui.workbench''' plugin contains the RAP specific extenstion point (startup form) and a wrapper servlet.
 +
 
 +
* '''rap.viewer''' contains our JFace like API (has been contributed to eclipse.org)
 +
 
 +
* '''rap.w4t''' is the widget toolkit - we had to make some tweaks to make it run with OSGi, as we do not have the standard webapp environment that we rely on. Those tweaks are not final, we will work that into the CVS with some improvements.
 +
 +
* Last not least we tweaked the '''equinox.jetty''' manifest, as it required servlet version 2.4. Moving to this servlet version would have required additional work which we wanted to avoid for now.
 +
 +
We are experimenting with a tomcat based http service, as tomcat is already packaged with Eclipse and will contibute our work back to the incubator.

Revision as of 06:05, 27 September 2006

RAP running on OSGi

The example shows RAP running on OSGi. It consists of a RAP fontend and an RCP client, both sharing the same core plugin.

You can download the set of projects that form the example here: [1] (2.9 MB).

A brief overview of the content

Note that project names are without the leading org.eclipse.

  • rap.example.core provides the data model of the example. It is shared by the RCP client and the RAP frontend.
  • rap.example.rcp contains the RCP client (includes a launch configuration)
  • The RAP frontend is provided by rap.example.ui. You can launch it with the OGGi Equinox launcher, a launch configuration is stored in plugin project. You can access the demo with http://localhost/W4TDelegate. Make sure that no other service is using port 80.
  • The example.data project stores the data that both projects use. Note that a new session is needed (RCP == new launch / RAP == new browser session) to access data that has been changed by the other application.
  • The rap.ui.workbench plugin contains the RAP specific extenstion point (startup form) and a wrapper servlet.
  • rap.viewer contains our JFace like API (has been contributed to eclipse.org)
  • rap.w4t is the widget toolkit - we had to make some tweaks to make it run with OSGi, as we do not have the standard webapp environment that we rely on. Those tweaks are not final, we will work that into the CVS with some improvements.
  • Last not least we tweaked the equinox.jetty manifest, as it required servlet version 2.4. Moving to this servlet version would have required additional work which we wanted to avoid for now.

We are experimenting with a tomcat based http service, as tomcat is already packaged with Eclipse and will contibute our work back to the incubator.

Back to the top