Thread View: borland.public.cppbuilder.database.multi-tier
2 messages
2 total messages
Started by Steve Pietrykoski
Wed, 27 Sep 2000 00:00
Can anything at all be persistant in an MTS server?
Author: Steve Pietrykoski
Date: Wed, 27 Sep 2000 00:00
Date: Wed, 27 Sep 2000 00:00
11 lines
1141 bytes
1141 bytes
I currently have a MIDAS server containing a number of RDM's and one regular datamodule that contains info shared between the RDM's as well as info persistant to the server itself, like a list of users that are logged into the server. If I converted this server to use MTS, I understand that the RDM's would each become a server object and thus not be persistant. Could I still have an object somewhere in the server that is instantiated only once at server startup, that the server objects could reference? Thanks, Steve Pietrykoski
Re: Can anything at all be persistant in an MTS server?
Author: Mark Cashman (TeamB)
Date: Thu, 28 Sep 2000 00:00
Date: Thu, 28 Sep 2000 00:00
23 lines
1417 bytes
1417 bytes
Hi, Steve! Faced with a similar problem in regard to an ISAPI dll, I put the persistent data in the project source. However, if that doesn't work, you can always read and write your persistent information to / from a database. Also, COM does offer IStorage and IStream, which are covered fairly well in COM / DCOM Unleashed. How well these would work with an RDM under MTS is an open question AFAIK. For MTS, the better solution may be the MTS Shared Property Manager, again, explained in the aforementioned reference. I hope this helps. ------ 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