Return-Path: X-Original-To: apmail-db-derby-user-archive@www.apache.org Delivered-To: apmail-db-derby-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A146510D80 for ; Fri, 18 Apr 2014 12:49:41 +0000 (UTC) Received: (qmail 33859 invoked by uid 500); 18 Apr 2014 12:49:41 -0000 Delivered-To: apmail-db-derby-user-archive@db.apache.org Received: (qmail 33633 invoked by uid 500); 18 Apr 2014 12:49:38 -0000 Mailing-List: contact derby-user-help@db.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Reply-To: "Derby Discussion" Delivered-To: mailing list derby-user@db.apache.org Received: (qmail 33618 invoked by uid 99); 18 Apr 2014 12:49:36 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Apr 2014 12:49:36 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS,UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of rick.hillegas@oracle.com designates 141.146.126.69 as permitted sender) Received: from [141.146.126.69] (HELO aserp1040.oracle.com) (141.146.126.69) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Apr 2014 12:49:28 +0000 Received: from acsinet22.oracle.com (acsinet22.oracle.com [141.146.126.238]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id s3ICn73t002094 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 18 Apr 2014 12:49:08 GMT Received: from userz7022.oracle.com (userz7022.oracle.com [156.151.31.86]) by acsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id s3ICn60C005258 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 18 Apr 2014 12:49:07 GMT Received: from abhmp0004.oracle.com (abhmp0004.oracle.com [141.146.116.10]) by userz7022.oracle.com (8.14.5+Sun/8.14.4) with ESMTP id s3ICn6Vd009874 for ; Fri, 18 Apr 2014 12:49:06 GMT Received: from dhcp-rmdc-twvpn-1-vpnpool-10-159-66-67.vpn.oracle.com (/10.159.66.67) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Fri, 18 Apr 2014 05:49:05 -0700 Message-ID: <53511F40.2080301@oracle.com> Date: Fri, 18 Apr 2014 05:49:04 -0700 From: Rick Hillegas User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.7; en-US; rv:1.9.2.18) Gecko/20110616 Thunderbird/3.1.11 MIME-Version: 1.0 To: derby-user@db.apache.org Subject: Re: Best way to have a DB browser in your destop app References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Source-IP: acsinet22.oracle.com [141.146.126.238] X-Virus-Checked: Checked by ClamAV on apache.org On 4/18/14 12:08 AM, Chux wrote: > Hello guys, > > I have a desktop app using Java FX and so I have Derby as embedded DB. > These builds I deploy to my clients. > > I need however a little tool to somehow access the embedded database for > viewing, and maybe some on-the-fly modifications. > > When the FX app is up and running the DB is locked to it. So my option is > to include a built in DB manager tool inside the app. > > So I was wondering if you know any java-based database viewers that I can > import and use inside my app? > > Best, > Chux Hi Chux, The real answer to your question will have to come from people who write better gui applications than I do. I think you are right that every database app needs a tool for inspecting the database and trouble-shooting production problems. I have written a couple, clumsy, Swing-based apps which are powered by Derby. For each of them I have added an interactive Help window which reads an SQL statement from a JTextArea and which then presents the results (for queries) as a JTable. Too crude for customers to pilot but useful enough for development and tech support; and not much code. Hopefully you'll get a better answer from someone who really knows how to write a gui app. Hope this helps, -Rick