A
Adrian
We have a solution where one project contains a set of business rules. We
use the rules in a web application and they're integrated into the main web
project. Any global varaibles for the user are stored on the web session,
and that all works fine.
Now the fun part, we now have to be able to call these business rules from
an old powerbuilder app, where a web server isn't available, so have to use
a com interface layer to call the business rules. The problem is that we
need the com class to initialise some variables and make them available to
the rules class. I know there's not a session object, but how do you go
about coding for the two very different scenarios that the business object
will be living in?
Cheers
Adrian
use the rules in a web application and they're integrated into the main web
project. Any global varaibles for the user are stored on the web session,
and that all works fine.
Now the fun part, we now have to be able to call these business rules from
an old powerbuilder app, where a web server isn't available, so have to use
a com interface layer to call the business rules. The problem is that we
need the com class to initialise some variables and make them available to
the rules class. I know there's not a session object, but how do you go
about coding for the two very different scenarios that the business object
will be living in?
Cheers
Adrian