<div dir="ltr">Hi Phil,<div><br></div><div>Thank you very much for the quick reply.</div><div><br></div><div>We are evaluating the possibilities and making prototypes,I'll check HTIOP.</div><div><br></div><div>Thank you very much!</div><div><br></div><div><br></div><div>Best regards</div><div>Mello</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jul 7, 2015 at 4:23 PM, Phil Mesnier <span dir="ltr"><<a href="mailto:mesnier_p@ociweb.com" target="_blank">mesnier_p@ociweb.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Mello,<br>
<span class=""><br>
> On Jul 7, 2015, at 12:35 PM, Cesar Mello <<a href="mailto:cmello@gmail.com">cmello@gmail.com</a>> wrote:<br>
><br>
> Hi!<br>
><br>
> I saw the Router concept in this article from Doug and Steve:<br>
><br>
> <a href="http://www.cs.wustl.edu/~schmidt/PDF/C++-report-col17.pdf" rel="noreferrer" target="_blank">http://www.cs.wustl.edu/~schmidt/PDF/C++-report-col17.pdf</a><br>
><br>
> Please I have 2 questions:<br>
><br>
> 1) Is there an implementation of such a CORBA Router using TAO?<br>
><br>
<br>
</span>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!<br>
<span class=""><br>
> 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?<br>
><br>
<br>
</span>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.<br>
<br>
Something else you can look at is a GPL proxy service called Lorica. Source available at <a href="https://github.com/colding/lorica" rel="noreferrer" target="_blank">https://github.com/colding/lorica</a>. 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.<br>
<br>
Best regards,<br>
Phil<br>
<br>
--<br>
Phil Mesnier<br>
Principal Software Engineer and Partner,   <a href="http://www.ociweb.com" rel="noreferrer" target="_blank">http://www.ociweb.com</a><br>
Object Computing, Inc.                     +01.314.579.0066 x225<br>
<br>
<br>
<br>
<br>
</blockquote></div><br></div>