db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John H. Embretsen (JIRA)" <j...@apache.org>
Subject [jira] Updated: (DERBY-3190) New simple demo suitable for supported Java ME platforms
Date Wed, 14 Nov 2007 09:24:43 GMT

     [ https://issues.apache.org/jira/browse/DERBY-3190?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

John H. Embretsen updated DERBY-3190:
-------------------------------------

    Attachment: readme.html
                d3190-v01.diff

Description of patch d3190-v01.diff:
------------------------------------

M      java/demo/csfull.css

Added style class for ordered lists with decimal (arabic) numbers.

A      java/demo/simplemobile

New directory containing the new demo for Java ME platforms.

A      java/demo/simplemobile/readme.html

Information about the new demo, including instructions for how to run it.
HTML validated using http://validator.w3.org.

A      java/demo/simplemobile/SimpleMobileApp.java

The new Java ME demo. Pretty similar in functionality to SimpleApp.java in
the java/demo/simple/ directory, but using EmbeddedSimpleDataSource only.

M      java/demo/demo.html

Added short description of the new demo on the demo overview page. Also fixed
an html error (too many closing li tags) and some code alignment details.

M      java/demo/navbar.html

Added a link to the new "Simple Mobile Demo" to the left-hand frame of the main
demo documentation page.

M      java/demo/build.xml

Modifications for building the new demo with compiler level 1.4.

M      tools/release/build.xml

Modifications to include the new demo in -bin distributions. Source, class file
and readme.html will be placed into the demo/programs/simplemobile/ directory.

---

Also attaching readme.html separately, for reviewers' convenience (no CSS style
will be shown when viewing this stand-alone).

The new demo has been tested successfully on trunk and Linux (Fedora Core 5) 
using:
   * phoneME (phoneme_advanced_mr2-b47) with Foundation Profile 1.1 and built-in
     JSR-169 support
   * phoneME (phoneme_advanced_mr2-b34) with Personal Basis Profile 1.1 and
     external JSR-169 support (bootclasspath).

It would be good if someone could test this on some other Java ME VM as well, for
example IBM's j9.

Patch was created from trunk, but should apply cleanly to the head of the 10.3 
branch as well. If this (and the fix for DEBY-3176) gets committed into the 10.3 
branch as well as trunk, we may fix the partly broken SimpleApp demo in 10.3 as 
well, see DERBY-3187.

Please review...


> New simple demo suitable for supported Java ME platforms
> --------------------------------------------------------
>
>                 Key: DERBY-3190
>                 URL: https://issues.apache.org/jira/browse/DERBY-3190
>             Project: Derby
>          Issue Type: New Feature
>          Components: Demos/Scripts
>    Affects Versions: 10.4.0.0
>         Environment: Java ME / J2ME
> CDC / Foundation 1.1
>            Reporter: John H. Embretsen
>            Assignee: John H. Embretsen
>         Attachments: d3190-v01.diff, readme.html
>
>
> DERBY-2216 added J2ME (Java ME) support in the simple demo (SimpleApp), but broke the
basic client functionality of the demo (at least in some VMs). Since DERBY-3187 fixes this
by removing Java ME support from SimpleApp, a separate simple demo for Java ME should be included
along with the other demos available in Derby distributions.
> Currently supported Java ME platforms are Java ME Virtual Machines with Connected Device
Configuration (CDC) support and the Foundation Profile 1.1 or better, with the optional package
for JDBC (JSR-169).
> The new demo should be easy to use and understand, and should be well commented. The
demo code should demonstrate how to create and connect to a Derby database in a valid Java
ME environment, and perform some basic database operations (insert, update, query). A readme
file describing the demo (and instructions for building and running it) should be included.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message