In creating an Ice config file, please explain the difference between the two examples below:
In example 1 I believe that the Ice runtime automatically reads in the properties and applies them when I say in the code: createObjectAdapter("DefaultAdapter"). The client would say something like stringToProxy("UserInterface@FSDClient").
Example 1:
DefaultAdapter.AdapterId=FSDClient
DefaultAdapter.Endpoints=tcp
In example 2 I would say createObjectAdapter("FSDClient") and the client would say something like stringToProxy("UserInterface@FSDClient").
Example 2:
FSDClient.AdapterId=FSDClient
FSDClient.Endpoints=tcp
The questions are:
- What is the difference as far as the Ice runtime is concerned between the two examples?
- What is the recommendation for my own user property naming conventions, e.g.
DefaultAdapter.MyName=LarryOHeron
FSDClient.MyCity=Rochester
State.MyState=NewYork
Thank you,

Reply With Quote