Common CORBA API logic remained the same as in the version 2.0. Just parameters and some methods names were changed and some new methods were added as well.
The changes are the next:
HTTPServ.idl file renamed to HTTP.idl.
createHandler renamed to create_handler.
Motivation of those changes is compatibility with idl style OMG recommendations
ab/98-06-03
set_cookie takes as cookie's life time number of seconds instead of three values (days, hours, minutes). i. е. in your programs you should change
calls of type:
\verb|httpStream->set_cookie(name,value,x,y,z);to calls:
\verb|httpStream->set_cookie(name,value,(((x*24)+y)*60+z)*60);
HTTPServ.idl renamed to HTTP.idl.
Extensions:
RequestInfo structure HTTP request method is added.
RedirectException exception.
consequently:
HTTP.idl in any case.
createHandler to create_handler
set_cookie calls
ORB_Args parameter ,
now by CbrokerORBArgs.
CbrokerLocation directive to the configuration - we handle this request
if URI directory starts from this parameter .
libcbroker.so to
mod_cbroker.so
<prefix>/libexec/apache2
consequently:
LoadModule cbroker_module <path>/libcbroker.so
should be changed to
LoadModule cbroker_module <path>/mod_cbroker.so
<Location cbroker> SetHandler cbroker-handler ORB_args -ORBInitRef NameService=cobaloc::my.host.com:2809/NameService </Location>
goes to the next form.
<IfModule mod_cbroker> CbrokerLocation cbroker CbrokerORBArgs -ORBInitRef NameService=corbaloc::my.host.com:2809/NameService </IfModule>
And configuration with authorization:
<Location cbroker> SetHandler cbroker-handler ORB_args -ORBInitRef NameService=cobaloc::my.host.com:2809/NameService AuthType Basic AuthName myService require valid-user </Location>
goes to
<IfModule mod_cbroker> CbrokerLocation ProtectedCbroker CbrokerORBArgs -ORBInitRef NameService=corbaloc::my.host.com:2809/NameService </IfModule> <Location ProtectedCbroker> AuthType Basic AuthName myService require valid-user </Location>