Best r-code online deploying practices for OO code

Posted by dziugasj on 17-Apr-2015 01:46

We have recently moved from procedure programing to OO.

We are new to OO, so probably this question is related to OO in general.

But nevertheless, what should we beware off when deploying changed classes r-code online (without AppServer restart)?

All Replies

Posted by Mike Fechner on 17-Apr-2015 01:50

Hi,
 
that depends a lot on your coding style!
 
Static instances (created when accessing static members of a class) are NEVER refreshed without restarting an agent.
 
Does your coding model keep instances in memory (singletons, service instances, registries, circular references, …)? Those won’t get refreshed. That’s the same as with Persistent Procedures.
 
Is trimming the AppServer agents possible? That leaves the broker running – but the agents are the ones keeping anything of the above in memory.
 
Regards,
Mike

This thread is closed