- 1 API Tooling
- 2 Application Model
- 2.1 The Projects
- 2.2 How to Run
- 2.3 How it Works
- 3 Launcher Demos
- 4 Phone Demos
- 5 Provisioning Demos
- 6 Resource Monitoring Demos
- 7 Server-Side OSGi
- generate a snapshot for a particular set of source code (JARs or bundles)
- compare another source set with snapshot and get 3 summary pages
- breaking changes
- non-breaking changes
- version number checks
The Eclipse platform implements an application container that is based on the OSGi Application Admin Service specification. This demo shows how Eclipse applications can be managed using the OSGi Application Admin Service specification
The projects for the demo are stored in the Equinox Incubator on the main Eclispe CVS repository (dev.eclipse.org:/cvsroot/eclipse). All projects are under the directory equinox-incubator/demos/app-model/.
This project provides a simple RCP application that uses the application admin service to manage the other applications installed on the platform.
This project provides a simple headless application that sets up a shared display that other applications can share when they are launched.
example SWT applications
Each of the following projects provide an example SWT application that can be launched using the application admin service
How to Run
There are two ways to run the demo.
- Using the application selector UI
- Using the headless share display application
Using the application selector
This approach launches an RCP application called application selector. Since this approach uses an RCP application many other bundles are required to run. For example, the org.eclipse.ui.workbench and all of its dependencies. The application selector displays the following information about each SWT example application installed on the platform:
- The application name
- If the application is enabled.
- The application state (inactive, starting, running, stopping)
To start the application selector use the Eclipse Application launcher called demoAppSelector. This launcher is included in the org.eclipse.equinox.examples.app.selector project.
Start an Application
Select an application to start from the application selector then use the context menu to run the start operation. Note that the start operation will be disabled if the application state is not currently inactive This will cause the application to launch. You should notice the state of the application move to running and the application will become disabled. Disabled indicates that the application is no longer available for launch. This is because all applications in this demo have a cardinality of 1. Try launching other applications at the same time. You will be able to launch all applications that are enabled at the same time.
Stop an Application
Select an application to stop from the application selector then use the context menu to run the stop operation. Note that the stop operation will be disabled if the application is state is currently inactive. This will cause the application to stop. You should notice the state of the application move to inactive.
Stop the Application Selector
If the application selector is stopped while one or more of the example SWT applications are running then it will stop all of them before exiting the application selector.
How it Works
Demos related to the new launcher work.
Click here to check out some of the demos that the Equinox team has done for some cool phones.
Demos related to the new provisioning story can be found here.
Resource Monitoring Demos
Check out the Equinox Incubator for more information on our Resource Monitoring demos.
- JSPs - there are some demos that come with Tomcat and Struts
- Embedded in app server
- show the dev scenario - easy to use