Oracle and other databases (including Derby server mode) - the DB runs
as a separate process and the application talks to it over a network
connection. Embedded databases such as Derby the database runs inside
your application, the database is on a local disk and the application
objects talk directly to the DBMS objects via method calls.

Actually doing the embedding basically requires two things:

1. including derby.jar in your classpath

2. connecting to the database using a URL that specifies a local file

Otherwise - what Rick said - the Derby documentation is pretty
straightforward and useful.

Donald

On Mon, Nov 30, 2009 at 10:50 AM, 120113698 <[email protected]> wrote:
> How can I embed the Derby-Database to a Desktop Java Application?
> and what is the deffirence between using Oracle Database in Deaktop Java
> Apps and using derby in desktop java apps?
-- 
Family photographs are a critical legacy for
ourselves and our descendants. Protect that
legacy with a digital backup and recovery plan.

Join the photo preservation advocacy Facebook group:
http://www.facebook.com/home.php?ref=logo#/group.php?gid=148274709288

Reply via email to