db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lance J. Andersen" <Lance.Ander...@Sun.COM>
Subject Re: Using Derby with Java Web Start
Date Sat, 01 Sep 2007 22:02:11 GMT


Alan Burlison wrote:
> Néstor Boscán wrote:
>
>> I need to create a standalone Swing application with an embedded 
>> database
>> that can be downloaded to 500 workstation using Java Web Start. I 
>> have the
>> following questions:
>>  
>> 1.- Can I use Derby downloading it using Java Web Start?
>
> Yes, just include the derby JAR file in your JNLP file:
>
>   <resources>
>     <j2se version="1.5+" java-vm-args="-Xms8m -Xmx32m"
>      href="http://java.sun.com/products/autodl/j2se"/>
>     <jar href="<MyApp.jar"/>
>     <jar href="derby.jar"/>
>   </resources>
>
You might find the following  blog useful WRT JPA and Derby with Java 
Web Start 
http://weblogs.java.net/blog/lancea/archive/2007/06/using_java_web.html

-lance
>> 2.- What happens when I download a new version of Deby? Will it 
>> upgrade my
>> database files automatically without ANY user intervention?
>
> You might find the following links helpful:
>
> http://db.apache.org/derby/docs/dev/devguide/cdevupgrades.html
> http://wiki.apache.org/db-derby/MetadataUpgrade
> http://db.apache.org/derby/papers/versionupgrade.html
> http://davidvancouvering.blogspot.com/2007/08/how-to-upgrade-derbyjava-db-database.html

>
>

Mime
View raw message