L
Laura Stern
Guest
First, this works nothing like the JMS adapter. Without getting into the details, the .NET framework is loaded into the process so that we can just make calls into it. Yes, for hybrid objects, the proxy is generated at run-time. Yes, we use reflection for making all calls to the methods/properties that the ABL is trying to reference. We did think about generating assemblies for the proxy types during compilation but thought that this presented its own problems in terms of file management and deployment. But we never tried to do it (or to simulate it manually) to compare the performance. As usual, there were constraints on our time and we could not go down all paths. I’m sure it would save some time, but what percentage of the time is the question, We only create the proxy type once per class type. So once it’s done, it’s done. Executing code via reflection also takes more time I believe. But to avoid that, we’d also have to generate not just the proxy type, but code that calls it and store in the r-code the # of the method to call... or something like that!
Continue reading...
Continue reading...