db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Db-derby Wiki] Update of "JavaMESupport" by JohnHEmbretsen
Date Tue, 27 Nov 2007 13:38:23 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Db-derby Wiki" for change notification.

The following page has been changed by JohnHEmbretsen:
http://wiki.apache.org/db-derby/JavaMESupport

The comment on the change is:
Added info on phoneME and J9

------------------------------------------------------------------------------
  
  == Java ME VMs tested with Derby ==
  
- Derby users and developers have reported running Derby successfully on the following Virtual
Machines for Java ME / CDC:
+ Derby users and developers have reported running Derby successfully on various Virtual Machines
for Java ME / CDC, including:
   * [#phoneME phoneME Advanced]
-  * [#j9 IBM's j9 (WCTME)]
+  * [#j9 IBM's j9]
  
  [[Anchor(phoneME)]]
  === phoneME Advanced ===
- Details to come...
+ In December 2006, Sun Microsystems released their implementation of Java ME for mobile handsets
and similar devices  as open source under the project name {{{phoneME}}}. This is licensed
under the GNU General Public License, GPL v2. phoneME Feature software is addressing the mainstream
feature phone segment in the mobile market, and is based on CLDC (not supported by Derby).
phoneME Advanced software is addressing technical needs of devices in the advanced phone segment
of this market, and is based on CDC.
+ 
+ You can obtain phoneME Advanced source code and binaries from [https://phoneme.dev.java.net/
the phoneME home page]. To include JSR-169 (JDBC) support, you currently need to build [http://java.sun.com/products/jdbc/download.html#cdcfp
the reference implementation of JSR-169] yourself, and link to it when building or running
the phoneME Advanced VM ({{{cvm}}}).
+ 
+ Building hints are available in [http://blogs.sun.com/wittyman/entry/building_jdbc_for_cdc_foundation
this blog] and on the [http://wiki.java.net/bin/view/Mobileandembedded/PhoneMEAdvancedBuildingJDBCandRMI
phoneME Advanced wiki]. By default, phoneME does not currently include the JDBC Optional Package
(JSR-169), so unless you build the VM yourself and include JSR-169, you must include the JSR-169
jar in the boot classpath of the VM, for example (for starting {{{ij}}} on Linux):
+ {{{
+ cvm -Xbootclasspath/a:jsr169.jar 
+   -classpath $DERBY_HOME/lib/derby.jar:$DERBY_HOME/lib/derbytools.jar
+   org.apache.derby.tools.ij -p ij.properties
+ }}}
+ (all on one line - line breaks inserted here for presentation purposes)
+ 
+ If JDBC support is included in the phoneME build, you may omit the {{{bootclasspath}}},
for example:
+ {{{
+ cvm
+   -classpath $DERBY_HOME/lib/derby.jar:$DERBY_HOME/lib/derbytools.jar
+   org.apache.derby.tools.ij -p ij.properties
+ }}}
  
  [[Anchor(j9)]]
- === IBM's j9 Foundation (WCTME) ===
+ === IBM's J9 Foundation ===
- Details to come...
+ J9 is IBM's Virtual Machine for the Java Platform, Micro Edition (Java ME). J9 has been
used in Derby testing since the dawn of Derby's CDC support. IBM's test reports from running
Derby tests using J9 can be found [http://people.apache.org/~fuzzylogic/derby_test_results/
here].
  
- == Java ME Tips and tricks ==
+ J9 is available on a variety of platforms through IBM's product portfolio for small devices,
and is for example part of the [http://www-306.ibm.com/software/wireless/weme/ WebSphere Everyplace
Micro Environment] (WEME).
  
+ Example of starting {{{ij}}} using J9 on Windows:
+ {{{
+ j9 -jcl:foun11 
+    -Xbootclasspath/a:jdbc.jar 
+    -classpath %DERBY_HOME%\lib\derby.jar;%DERBY_HOME%\lib\derbytools.jar 
+    org.apache.derby.tools.ij -p ij.properties
+ }}}
+ (all on one line - line breaks inserted here for presentation purposes)
+ 
+ == Tips and tricks ==
+ 
- If you see a problem that you don't know how to solve, post a question on the derby-user
[http://db.apache.org/derby/derby_mail.html mailing list].
+ If you run into a Derby-on-Java-ME related problem that you don't know how to solve, post
a question on the derby-user [http://db.apache.org/derby/derby_mail.html mailing list].
  
  You may also find useful information in previous mailing list topics by searching the archives,
for example [http://www.nabble.com/forum/Search.jtp?query=CDC&local=y&page=1&forum=93&daterange=0
Nabble].
  

Mime
View raw message