|
|
|
|||||
|
Hello,
I have started to study ICE for a few days in order to use it in new developments. I am happy to note that the source codes are clear and comprehensible ! I will have nevertheless a small question: Is it possible to use ICE with a relational data base like PostgreSQL in the place of Freeze? Currently, my company uses MICO like ORB and PostgreSQL as bases data. Jean-Michel |
|
||||||
|
Of course it is possible to use Ice with any database -- simply use in your servants both Ice and your database APIs. I want to be sure nobody reads this thread and gets a different impression!
Ice also offers a persistence mechanism, Freeze, with 3 layers (from lower to higher): * The Freeze Database API, a thin layer on top of Berkeley DB. It would not make sense to port or attempt to port this layer on top of any other database. * The Freeze Map, a persistent associative Map. It would be possible to port this layer to another database; however the locking behavior may be slightly different depending on the underlying system. * The Freeze Evictor, which provides automatic persistence for Ice objects. Since it's quite high level, it would be the easiest to port to another database without affecting code using this service. Currently these 3 layers are very tightly coupled, so porting for example the Freeze Evictor to PostgresSQL would not be possible without significant API changes. I am working on improving this for the next Ice release. Cheers, Bernard |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| how to replace file-in-use | kan | Help Center | 3 | 12-16-2005 03:47 AM |
| Can I integrate other database such as PostgreSQL with Freeze | Mjollnir | Help Center | 1 | 04-11-2005 10:03 AM |