Home Help Center

Moving config files into a database?

Would someone give me some advice about the sanity of this - I'm (very)
new to Ice:

We've been a CORBA shop in the past but are looking at using Ice for an
upcoming project. We've been using a PostgreSQL database to hold configs
for our applications and like doing so in our distributed environment.

So, we'd like to continue doing so under Ice. Is this as simple as it looks:

in the 'startup' code for each server/client just load the Ice property
table from the database, effectively igoring the config file?

Thanks!

Comments

  • mesmes CaliforniaAdministrators, ZeroC Staff Mark SpruiellOrganization: ZeroC, Inc.Project: Ice Developer ZeroC Staff
    Sure, you can use populate a property set however you wish, and then initialize a communicator using initializeWithProperties.

    - Mark
Sign In or Register to comment.