Return-Path: Delivered-To: apmail-db-derby-commits-archive@www.apache.org Received: (qmail 84554 invoked from network); 22 Nov 2007 18:19:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 22 Nov 2007 18:19:07 -0000 Received: (qmail 48613 invoked by uid 500); 22 Nov 2007 18:18:55 -0000 Delivered-To: apmail-db-derby-commits-archive@db.apache.org Received: (qmail 48592 invoked by uid 500); 22 Nov 2007 18:18:55 -0000 Mailing-List: contact derby-commits-help@db.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: "Derby Development" List-Id: Delivered-To: mailing list derby-commits@db.apache.org Received: (qmail 48581 invoked by uid 99); 22 Nov 2007 18:18:55 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Nov 2007 10:18:55 -0800 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Nov 2007 18:19:05 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 16E431A9832; Thu, 22 Nov 2007 10:18:44 -0800 (PST) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r597476 - in /db/derby/code/branches/10.3/java/demo/simplemobile: SimpleMobileApp.java readme.html Date: Thu, 22 Nov 2007 18:18:43 -0000 To: derby-commits@db.apache.org From: myrnavl@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20071122181844.16E431A9832@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: myrnavl Date: Thu Nov 22 10:18:42 2007 New Revision: 597476 URL: http://svn.apache.org/viewvc?rev=597476&view=rev Log: DERBY-3190 ; backport comment/doc edits of revision 597475 Modified: db/derby/code/branches/10.3/java/demo/simplemobile/SimpleMobileApp.java db/derby/code/branches/10.3/java/demo/simplemobile/readme.html Modified: db/derby/code/branches/10.3/java/demo/simplemobile/SimpleMobileApp.java URL: http://svn.apache.org/viewvc/db/derby/code/branches/10.3/java/demo/simplemobile/SimpleMobileApp.java?rev=597476&r1=597475&r2=597476&view=diff ============================================================================== --- db/derby/code/branches/10.3/java/demo/simplemobile/SimpleMobileApp.java (original) +++ db/derby/code/branches/10.3/java/demo/simplemobile/SimpleMobileApp.java Thu Nov 22 10:18:42 2007 @@ -54,9 +54,9 @@ * Derby databases: org.apache.derby.jdbc.EmbeddedSimpleDataSource. * This is demonstrated in this simple demo application. *

- *

To compile this application on your own, make sure you include both - * derby.jar and the location (directory) of the compiled version of this source - * file in the compiler's classpath. + *

To compile this application on your own, make sure you include derby.jar + * in the compiler's classpath; see readme.html for + * details. *

*/ public class SimpleMobileApp { Modified: db/derby/code/branches/10.3/java/demo/simplemobile/readme.html URL: http://svn.apache.org/viewvc/db/derby/code/branches/10.3/java/demo/simplemobile/readme.html?rev=597476&r1=597475&r2=597476&view=diff ============================================================================== --- db/derby/code/branches/10.3/java/demo/simplemobile/readme.html (original) +++ db/derby/code/branches/10.3/java/demo/simplemobile/readme.html Thu Nov 22 10:18:42 2007 @@ -18,7 +18,7 @@ - + Simple Java ME Database Application @@ -37,7 +37,7 @@ -

Overview

+

Overview

This document describes SimpleMobileApp, an example of a small Java application using JDBC to create and @@ -67,7 +67,7 @@ -

Requirements

+

Requirements

In order to run this demo, you need a Java Runtime Environment with access to the compiled class (SimpleMobileApp.class) @@ -90,7 +90,7 @@

-

Conventions

+

Conventions

Conventions used in this document:

@@ -131,7 +131,7 @@ -

What's Included?

+

What's Included?

Before running this demo, you should see the following files and directories in the $DERBY_HOME/demo/programs/simplemobile/ directory: @@ -156,7 +156,7 @@ -

How to run this sample application

+

How to run this sample application

Unless noted otherwise, the example commands shown are (UNIX) bash shell commands. See conventions used in this document for details on @@ -216,7 +216,7 @@ -

Results

+

Results

Console output:

SimpleMobileApp started
@@ -296,7 +296,7 @@

-

How to modify this sample application

+

How to modify this sample application

To change the behavior of this demo, for example if you want the program not to delete the table when data processing has finished, you may do the following: