Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 4 of 4 total
Thread Using a mixture of local and remote databases
Tue, Mar 11 2008 9:25 AMPermanent Link

edhrx
Hi. I wonder if someone could offer some advice.
I have an application which needs to be coded so it can run stand alone, but can also run remote (but not the same installation).  Further, if it is set
up to run remotely then I populate a load of 'local' table to populate look ups.  In a datamodule I have edbengine, session and database to run the
local tables
and edbengine , session and database to handle either the remote or stand alone.  Question: when running for a remote set up does this engine
become redundent as the configuration in the session handles the connections to the remote data. If I sound confused its because I am.  In DBISAM
world the scenario was fairly easy to handle, but this is the start a large project and want to get off on the correct foot.

best wishes Ed.
Tue, Mar 11 2008 9:53 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

edhrx


You only need one set of engine/sessions/databases since the switch from local to c/s (which is what I presume you're talking about with remote) is a simple alteration of a few properties for the engine (eg EngineType).

I think you should even be able to set all the stuff in the engine and session and then flip between them using UseLocalSessionEngineSettings.

Roy Lambert
Tue, Mar 11 2008 4:58 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Ed,

<< Question: when running for a remote set up does this engine become
redundent as the configuration in the session handles the connections to the
remote data. >>

Yes, the engine component isn't really used for remote sessions.  Instead,
the engine component in the ElevateDB Server (that the remote session
connects to) handles the configuration, etc. that is normally required for
local or direct sessions.

--
Tim Young
Elevate Software
www.elevatesoft.com

Tue, Mar 11 2008 5:00 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Roy,

<< You only need one set of engine/sessions/databases since the switch from
local to c/s (which is what I presume you're talking about with remote) is a
simple alteration of a few properties for the engine (eg EngineType).

I think you should even be able to set all the stuff in the engine and
session and then flip between them using UseLocalSessionEngineSettings. >>

Not quite, but close. Smiley Once everything is set up, the only thing that
requires changing is the TEDBSession.SessionType property, which will change
from stLocal to stRemote (or vice-versa).

--
Tim Young
Elevate Software
www.elevatesoft.com

Image