Planning my datasnap server application. Where should I place the connection to the database?
Create a TDatamodule "MainConn" with only the connection (and necessary drivers) and access from my other datamodule (dm1, dm2 dm..), to this MainConn.connection1.
Another option would be to place TFDConnection in the datamodule where TDSServer resides next to all the TDSServerclass.
And finally, each DM with its own TFDConnection (very unlikely)
What would be the right option?
I look forward to your comments