db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ole Ersoy <ole.er...@gmail.com>
Subject Re: Embedded and Network Simultaneous Connections
Date Thu, 06 Nov 2008 15:10:47 GMT
Hi Michael,

Thanks for the clarification.  That answers my question.

Thanks again,
- Ole

derby@segel.com wrote:
>> -----Original Message-----
>> From: Ole Ersoy [mailto:ole.ersoy@gmail.com]
>> Sent: Thursday, November 06, 2008 8:29 AM
>> To: derby-user@db.apache.org
>> Subject: Embedded and Network Simultaneous Connections
>> Hi,
>> I was wondering if it's possible for a network client to connect to a
>> derby instance running in embedded mode.  So in other words client A is
>> running embedded derby, and (client B - Separate JVM) wants to connect to
>> it using the network driver.
>> Thanks,
>> - Ole
> I don't think your question make sense.
> If you're running Derby in embedded mode, then you don't have a "client",
> you have an application which has a derby database embedded in it.
> So I think your question becomes "Application A has derby embedded in it. A
> separate application B, on a different JVM, would like to connect to the
> Derby instance running in A."
> Since you specified that the instance of Derby is embedded there is no
> network service started and thus you can't connect to that instance of Derby
> unless you write your own service as part of application A.

View raw message