🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.database.multi-tier
2 messages
2 total messages Started by Serif Selcuk Thu, 17 Aug 2000 00:00
conversion from two-tier to multi-tiier architecure
#1008
Author: Serif Selcuk
Date: Thu, 17 Aug 2000 00:00
13 lines
1278 bytes
Hi,
I have a two-tier accounting application I would l�ke to convert to
three-tier archecture using MIDAS. In my two-tier application I have several
identicaly structured databases (IB 5.5) each keeps the accounting data
belonging to a different company. When logging to application, user selects
which company he/she is interested and the application connects to that
company's database. The user might have several instances of the
application, each instance connected to different databases.

My question is how can I construct my application server so that different
clients will connect to different databases. It seems to me that when a
databases connection is made, all the clients use the same connection.
Serif
Re: conversion from two-tier to multi-tiier architecure
#1009
Author: Mark Cashman (TeamB)
Date: Thu, 17 Aug 2000 00:00
18 lines
1376 bytes
Hi, Serif!

It seems to me it might be easiest to have a separate RDM instance for
each company, and then just change which RDM you are using when the user
selects a new company.

What is not entirely clear to me is how to dynamically create instances
of the same class RDM on the middle-tier as needed for each company. If
you were to use CORBA, instance-per-client and single threaded might
make this easier. You will probably need to do some experiments with
what ever distribution technology you choose.

------
Mark Cashman, TeamB C++ Builder
http://www.temporaldoorway.com/programming/index.htm
C++ Builder, JBuilder programming information
Home of The C++ Builder Programmer's Webring - Join us!
------
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads