Jump to: navigation, search

Difference between revisions of "Equinox Demos"

 
 
(62 intermediate revisions by 5 users not shown)
Line 1: Line 1:
==Nokia 9300 Communicator==
+
==Application Model==
 +
The [[Equinox Application Model Demo]] shows how to create and run multiple OSGi MEG applications.
  
===Local Machine Setup===
+
==API Tooling==
* Download and install the [http://nokia.com/pcsuite Nokia software].
+
* Ensure you can use Bluetooth to connect to the phone from your PC.
+
* The File Manager tool is useful for transferring files from your local machine to the phone.
+
  
===The Java VM on the phone (J9)===
+
The [[API Comparison demo]] uses comparison of Eclipse SDK 3.1 and 3.2 to show how to generate reports on:
* the VM on the phone is J9 Personal Profile 1.0 (ppro10)
+
<ul>
* to mimic this VM on your local machine
+
<li>breaking API changes</li>
** download the [[J9 | Foundation 1.0/Personal Profile 1.0 VM]]
+
<li>binary backward-compatible changes</li>
** add the VM as an Installed JRE (<code>Window -> Preferences -> Java -> Installed JREs</code>)
+
<li>version number checks</li>
** add the 2 extra libraries as external JARs (<code>ppro-ui.jar</code>, <code>ppro-extras.jar</code>)
+
</ul>
** add the following default VM arg: <code>-jcl:ppro10</code>
+
  
===Running an application on the phone===
+
==Launcher Demos==
* The file-system can be referenced like Windows with <code>C:</code> and <code>D:</code> (the <code>D:</code> drive is the memory card).
+
Demos related to the new launcher work.
* The J9 VM is associated with the <code>.j9</code> file-type. You create a <code>.j9</code> file with all the command-line arguments for your application and then when you click on it in the file manager it will run J9.
+
* The file contains everything that you want on the command line except the reference to the VM executable. (e.g. <code>-cp foo.jar com.Foo</code>)
+
* ''Note:'' any arguments '''after''' the class name on the commandline are passed to the class as arguments to the application and are '''not''' interpreted by the VM. Therefore if you are trying to set system properties, it should be done early in the command-line. (e.g. <code>-Dfoo=bar -cp foo.jar com.Foo</code>)
+
  
====Writing to the Console====
+
==[[Equinox Phone Demos | Phone Demos]]==
* <code>C:/logs/j9vm</code> - You ''must'' have this directory created or your Java application will hang when it tries to write something to <code>System.out</code> or <code>System.err</code>.
+
Click [[Equinox Phone Demos | here]] to check out some of the demos that the Equinox team has done for some cool phones.  
* When you run your Java application 2 files will be created in this directory, one for <code>System.err</code> and one for <code>System.out</code>.
+
* Setting up the [[Equinox_Phone_Demos#Nokia_9300_Communicator | Nokia 9300 Communicator]].
* The files will be named <code>&lt;pid&gt;_syserr.txt</code> and <code>&lt;pid&gt;_sysout.txt</code>
+
* Using the [[Equinox_Phone_Demos#SavaJe | SavaJe]] phone.
* Output will always be to this directory, even if your JAR files are on a different drive.
+
  
====Extras====
+
==Provisioning Demos==
* j9 -io:host:port
+
Demos related to the new provisioning story can be found here.
* console telnet
+
 
 +
==Resource Monitoring Demos==
 +
 
 +
Check out the [http://www.eclipse.org/equinox/incubator/monitoring/index.php Equinox Incubator] for more information on our Resource Monitoring code. Here is a link to our [[Equinox Resource Monitoring Demo | EclipseCon 2007 demo script]].
 +
 
 +
==Server-Side OSGi==
 +
* JSPs - there are some demos that come with Tomcat and Struts
 +
* Embedded in app server
 +
* show the dev scenario - easy to use
 +
 
 +
[[Category:Equinox|Demos]]

Latest revision as of 11:16, 22 March 2007

Application Model

The Equinox Application Model Demo shows how to create and run multiple OSGi MEG applications.

API Tooling

The API Comparison demo uses comparison of Eclipse SDK 3.1 and 3.2 to show how to generate reports on:

  • breaking API changes
  • binary backward-compatible changes
  • version number checks

Launcher Demos

Demos related to the new launcher work.

Phone Demos

Click here to check out some of the demos that the Equinox team has done for some cool phones.

Provisioning Demos

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 code. Here is a link to our EclipseCon 2007 demo script.

Server-Side OSGi

  • JSPs - there are some demos that come with Tomcat and Struts
  • Embedded in app server
  • show the dev scenario - easy to use