You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "John H. Embretsen (JIRA)" <ji...@apache.org> on 2007/11/08 16:43:51 UTC

[jira] Created: (DERBY-3190) New simple demo suitable for supported Java ME platforms

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


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.


[jira] Updated: (DERBY-3190) New simple demo suitable for supported Java ME platforms

Posted by "John H. Embretsen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-3190?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

    Derby Info: [Patch Available]

> 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
>             Fix For: 10.3.1.5, 10.4.0.0
>
>         Attachments: d3190-minorfix.diff, 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.


[jira] Updated: (DERBY-3190) New simple demo suitable for supported Java ME platforms

Posted by "John H. Embretsen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-3190?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

    Derby Info: [Patch Available]

> 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.


[jira] Issue Comment Edited: (DERBY-3190) New simple demo suitable for supported Java ME platforms

Posted by "John H. Embretsen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DERBY-3190?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12542367 ] 

johnemb edited comment on DERBY-3190 at 11/14/07 6:20 AM:
--------------------------------------------------------------------

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 DERBY-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...


      was (Author: johnemb):
    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.


[jira] Resolved: (DERBY-3190) New simple demo suitable for supported Java ME platforms

Posted by "Myrna van Lunteren (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-3190?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Myrna van Lunteren resolved DERBY-3190.
---------------------------------------

       Resolution: Fixed
    Fix Version/s: 10.4.0.0
                   10.3.1.5
       Derby Info:   (was: [Patch Available])

I tested the patch (both with jdk15 and IBM's weme6.1), and liked it.
I fixed 3 tiny editing mishaps in simplemobile/readme.html,  then committed with revision 596792 for trunk, and 596793 for 10.3.

> 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
>             Fix For: 10.3.1.5, 10.4.0.0
>
>         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.


[jira] Updated: (DERBY-3190) New simple demo suitable for supported Java ME platforms

Posted by "John H. Embretsen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-3190?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

    Attachment: d3190-minorfix.diff

Attached d3190-minorfix.diff.

M      java/demo/simplemobile/readme.html
M      java/demo/simplemobile/SimpleMobileApp.java

This is a patch fixing the mistake of saying that one needs to include the compiled class in the classpath when re-compiling, in the class Javadoc for SimpleMobileApp.

Also adding the id attribute to named anchors in readme.html, a trick that prevents these page-internal anchors to change appearance when hovering in a CSS2-enabled browser iff the patch for DERBY-3118 is committed (in any case it doesn't hurt having the attributes there).

Any committers willing to check this in to trunk and 10.3 before Monday? Thanks...

> 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
>             Fix For: 10.3.1.5, 10.4.0.0
>
>         Attachments: d3190-minorfix.diff, 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.


[jira] Reopened: (DERBY-3190) New simple demo suitable for supported Java ME platforms

Posted by "John H. Embretsen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-3190?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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


Reopening to fix a small issue with a SimpleMobileApp javadoc comment.

> 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
>             Fix For: 10.3.1.5, 10.4.0.0
>
>         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.


[jira] Closed: (DERBY-3190) New simple demo suitable for supported Java ME platforms

Posted by "John H. Embretsen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-3190?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

John H. Embretsen closed DERBY-3190.
------------------------------------


Looks good, thanks for committing!
Closing the issue.

> 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
>             Fix For: 10.3.1.5, 10.4.0.0
>
>         Attachments: d3190-minorfix.diff, 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.


[jira] Resolved: (DERBY-3190) New simple demo suitable for supported Java ME platforms

Posted by "Myrna van Lunteren (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-3190?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Myrna van Lunteren resolved DERBY-3190.
---------------------------------------

    Resolution: Fixed
    Derby Info:   (was: [Patch Available])

The changes of the minor patch look ok to me, I committed them to trunk with revision 597475 and to 10.3 with revision 597476.

> 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
>             Fix For: 10.3.1.5, 10.4.0.0
>
>         Attachments: d3190-minorfix.diff, 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.


[jira] Updated: (DERBY-3190) New simple demo suitable for supported Java ME platforms

Posted by "John H. Embretsen (JIRA)" <ji...@apache.org>.
     [ 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.