I am developing a delphi xe5 datasnap client server application. In the server i have created several methods with parameters and i have some remote dataset providers. I use tcp/ip as protocol and a TSQLConnection in the client. I have generated the client classes with the wizard in the TSQLConnection.
Up until this point everything is working perfectly.
Now i am thinking about the following:
What approach must i choose to keep backwards compatibility for my clients when i keep developing the servers methods. It is impossible for me to update all the clients at the same time. It can take a long time between updating the first and last client to the same versions.
- What to do when i want to add extra (or delete) parameters in the server methods? Or want to change the datatype of the parameters?
- What to do when i want to add extra server methods? (this should not be a problem?)
- what to do when i change fields in the datasets in the server component?
- Can i run multiple versions of the datasnap server component on the same ip adress and same port nummer? Is there a sub-version / address?
- i have read something about dynamically generating the client classes on run-time, but i can not find anay detailed examples about that.
I hope i have typed my questions clearly for you.
Thnx for the help in advance!