Re: connect databases via http
Date: Fri, 01 Feb 2008 21:32:02 -0600
Ana C. Dent wrote:
> prunoki <hegyvari_at_ardents.hu> wrote in news:f8c01d18-c872-4a00-9fa6- > 33e7491f46a3_at_e25g2000prg.googlegroups.com: >
>> Do you know of any means to connect two Oracle 10g databases via http
>> or https without using a middle tier (php, java, whatever...)? One db
>> here, one db there and the traffic have to go through company
>> firewalls. No proxys would be standing in the way, we get direct
>> connectivity via http. It would be very nice to be able to query the
>> other database somehow directly from pl-sql.
> > Oracle RDBMS does not speak hhtp or https. > > So the short answer is, "NO!".
Actually your network does not understand HTTP or HTTPS or any other APPLICATION protocol [OSI Layer 7 - APPLICATION]. Your network understands TCPIP and PORTS [OSI Layer 4- TRANSPORT, Layer 3 - NETWORK Layer 2 - DATA LINK and finally Layer 1 - PHYSICAL]. Your firewall has a port open that passes datagrams unchecked - it does not care about the application data being passed.
- create another listener on port 80 or 443 on target server - provided no webserver is running on the target.
- create a TNSNAMES.ORA entry that points to the serverIPaddress/port
- use a database link in source and select data from target. In this scenario, you would not be talking HTTP protocol - but SQL*Net or Oracle Net or whatever it is called today on ports "reserved" for HTTP/HTTPS...
Just because you CAN do this, does not mean you SHOULD do this... [and if I were your corp security and found you did this, I would fire you on the spot!!!] Received on Fri Feb 01 2008 - 21:32:02 CST