db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Martin <j...@reportmill.com>
Subject Re: Embedded Server *and* client
Date Sat, 11 Jul 2009 15:23:11 GMT
Does the EmbeddedDriver allow for a simultaneous connection from a  
ClientDriver outside of the process?

jeff


On Jul 10, 2009, at 9:26 PM, Kathey Marsden wrote:

> Jeff Martin wrote:
>> I've written an app that embeds Derby and kicks off the network  
>> server programatically in a thread using new  
>> NetworkServerControl().start(null).
>>
>> This app lets you build and populate a database, then generates an  
>> applet to view the database. So I'd like to get a local JDBC  
>> connection to the database as well as allow another process to get  
>> a remote connection (the applet).
>>
> This doesn't relate to your tracing question. I am not sure why that  
> is happening, but in the the same jvm where you started network  
> server it is perfectly ok and probably performs better to connect  
> with the embedded driver.
>
> Kathey
>


Mime
View raw message