db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Teja <t...@synapse.ws>
Subject Re: Embedded or Network Framework?
Date Thu, 09 Aug 2007 16:24:47 GMT

Thanks Manjula, John and Bryan; Not very clear yet, but in my situation of a
web server( strictly, application server) and a java app (actually a media
server app.. serves flash video files basically and lots of other
both on the same machine (and hence only one JVM in its normal definition)
where java app loads the web server (web server is shutdown when java app
shuts down)
,  so in this situation, I think embedded framework will suffice (as long as
the java app 'load's the embedded driver before web server is loaded and
none of the web apps try to 'load' the derby embedded driver again.).
I think I should be able to simultaneously (from the java app and also from
any http requests to the web apps) be able to access/modify same database
(will be booted by java app once after the driver is loaded)
without any fears of data corruption..

If I burn my hands, I will then go back to the network server framework...
will let you know..

Thanks u all for ur time..

Teja wrote:
> I am new to Derby and unable to figure out which framework suits my
> situation: Embedded or NetworkServer framework.
> I have a java application (which is a media server, sort of like flash
> media server, but written all in java), for which I wish to use derby as
> its database. The app will have say stuff like channels and channel
> schedules etc... very small database, just one database. Now, on the same
> machine in the java application I also embed (load) a servlet container
> (winstone: http://winstone.sourceforge.net/).
> Later on, I develop web applications where say users can look at the
> available channels and schedules.. (so the web app needs database
> interaction).
> So my question is, what framework needs to be used? will embedded
> framework suffice because I see only one JVM here? Please advise..

View this message in context: http://www.nabble.com/Embedded-or-Network-Framework--tf4242840.html#a12075614
Sent from the Apache Derby Users mailing list archive at Nabble.com.

View raw message