E
Ebenezer
I'd like to request comments on the code in the archive on
this page -- http://webEbenezer.net/build_integration.html .
As you may know, I'm working on an on line code generator
that writes C++ marshalling code based on user input. The
code generator is closed source, but the interface to the code
generator is open source. The code in the archive mentioned
above is the interface code. I use a three-tier architecture
as follows:
C++ Middleware Writer (CMW) -- this is a server ... closed source
C++ Middleware Writer Ambassador (CMWA) -- this is a server ... open
source
"direct" program -- this program runs once and exits ... open source
The two open source tiers are in the archive along with supporting
files. One of the files in the archive -- msg_shepherd.hh -- is
output from the CMW. That file is based on another file in the
archive called direct.mdl and some include files.
One thing that I expect will be brought up is that the software
mixes naming conventions. I haven't picked one and been
consistent with it as is sometimes advised here. I agree with
that advice for the most part, but have been lazy about following
it so far.
There's a mediateResponse function in the CMWA that
may result in comments. Some knowledge of the CMW
is needed --- if the returned transaction number is zero, the
value of the request result (reqResult) will be false. I can
only think of oddities like sun storms that would cause
this to be violated. But it wouldn't be difficult to add code
that checks if returnedTransactionNbr == 0 and reqResult
is true and throws an exception.
In the "direct" program the function that connects to the
ambassador uses 127.0.0.1. That needs to be worked
on.
The software in the archive has been tested on Linux and Windows.
I'd appreciate advice on improving the existing code as well as
suggestions of new functionality. Thanks in advance.
Brian Wood
Ebenezer Enterprises
http://webEbenezer.net
(651) 251-9384
this page -- http://webEbenezer.net/build_integration.html .
As you may know, I'm working on an on line code generator
that writes C++ marshalling code based on user input. The
code generator is closed source, but the interface to the code
generator is open source. The code in the archive mentioned
above is the interface code. I use a three-tier architecture
as follows:
C++ Middleware Writer (CMW) -- this is a server ... closed source
C++ Middleware Writer Ambassador (CMWA) -- this is a server ... open
source
"direct" program -- this program runs once and exits ... open source
The two open source tiers are in the archive along with supporting
files. One of the files in the archive -- msg_shepherd.hh -- is
output from the CMW. That file is based on another file in the
archive called direct.mdl and some include files.
One thing that I expect will be brought up is that the software
mixes naming conventions. I haven't picked one and been
consistent with it as is sometimes advised here. I agree with
that advice for the most part, but have been lazy about following
it so far.
There's a mediateResponse function in the CMWA that
may result in comments. Some knowledge of the CMW
is needed --- if the returned transaction number is zero, the
value of the request result (reqResult) will be false. I can
only think of oddities like sun storms that would cause
this to be violated. But it wouldn't be difficult to add code
that checks if returnedTransactionNbr == 0 and reqResult
is true and throws an exception.
In the "direct" program the function that connects to the
ambassador uses 127.0.0.1. That needs to be worked
on.
The software in the archive has been tested on Linux and Windows.
I'd appreciate advice on improving the existing code as well as
suggestions of new functionality. Thanks in advance.
Brian Wood
Ebenezer Enterprises
http://webEbenezer.net
(651) 251-9384