[tao-users] CORBA Routers

Phil Mesnier mesnier_p at ociweb.com
Tue Jul 7 14:23:30 CDT 2015

Hi Mello,

> On Jul 7, 2015, at 12:35 PM, Cesar Mello <cmello at gmail.com> wrote:
> Hi!
> I saw the Router concept in this article from Doug and Steve:
> http://www.cs.wustl.edu/~schmidt/PDF/C++-report-col17.pdf
> Please I have 2 questions:
> 1) Is there an implementation of such a CORBA Router using TAO?

Unfortunately no. TAO implements callback AMI, but not poll, nor does it support store and forward capabilities. But we are happy to add it if you want! 

> 2) We are prototyping a web application and would like to explore the possibility of accessing TAO from Javascript code running in a web browser. A colleague implemented client IIOP over web sockets and he can successfully call methods using a web socket proxy in the server. But, we would need a way to handle callbacks through a router. Do you have any suggestion?

TAO has a pluggable transport protocol called HTIOP which bundles GIOP requests inside HTTP Get & Post requests to facilitate traversal of firewalls that only permit "web" traffic. By using 2 requests per channel, callbacks are supported. It is tolerant of aggressive proxies closing connections or creating new ones. Right now only TAO clients are supported but I'm sure the client side could be done with Javascript or similar.

Something else you can look at is a GPL proxy service called Lorica. Source available at https://github.com/colding/lorica. This was designed to add a layer of security for internet-facing applications. It uses the IFR or can take custom interface transformer modules. Ultimately Lorica probably isn't what you need, but shows what could be done. Unfortunately the copyright holder never chose to contribute Lorica back to TAO, so I would advocate starting new.

Best regards,

Phil Mesnier
Principal Software Engineer and Partner,   http://www.ociweb.com
Object Computing, Inc.                     +01.314.579.0066 x225

More information about the tao-users mailing list