----- Original Message ----- From: "Dean Michael Berris" <[EMAIL PROTECTED]> To: "Philippine Linux Users' Group Mailing List" <[EMAIL PROTECTED]> Sent: Sunday, March 30, 2003 3:59 PM Subject: [plug] unified way of data exchange
> is there a way for 2 (or more) completely different and unrelated > applications to be able to exchange persistent information (i.e. data, > objects) via some channel/server? > > i've thought of using shared memory, but my obstacle was applications > that ran on different machines that are connected by a network. Try Berkeley DB (http://www.sleepycat.com). It runs on all platforms (Windows, Linux, Solaris, BSD etc...) and supports most languages (C++, PERL, PHP, JAVA, Visual Basic, Delphi etc...) > socket programming is too OS specific and too much a burden for an > application to incorporate into it consciously. > Local connections are mapped directly to a BTREE file. Remote connections are done via RPC, however, the RPC layer is totally transparent. You simply link the API (.lib or .so) to your application on any platform. Best of all, code changes are NOT required when porting from different platforms. > databases are too demanding for systems that need to exchange small > chunk size data objects. BDB is embedded and does not carry the overhead of databases, however, it does support transactions which allows you to safely store dependent/multiple objects as one transaction. Of cpurse this includes storing streamable C++ or JAVA objects. The best feature, especially if the data you are sharing is mission criitcal, is the high availability feature which allows replication of your data store for full fault tolerance. >currently, i am working on xmlgos -- XML Generic Object Server -- which >would act as a repository of data objects which offers user >authentication (and maybe later on SSL ;)) and a simple >storage|retrieval system ala FTP. this project is still in its alpha >stages, as i am still figuring out some details as to how i will >implement the commands and the XML wrapping that i will employ (libxml). If you are willing to wait, BDB's XML library is already in beta. It basically provides the storage and retrieval of XML data with all the features I mentioned above. HTH. From, Carlos Yu CYWare Inc. _ Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph To leave: send "unsubscribe" in the body to [EMAIL PROTECTED] Fully Searchable Archives With Friendly Web Interface at http://marc.free.net.ph To subscribe to the Linux Newbies' List: send "subscribe" in the body to [EMAIL PROTECTED]
