This is a discussion on How to do an "http post" from within a Java UDR????? within the Informix forums, part of the Database Server Software category; --> We've just managed to get Java UDRs working (IDS 9.30HC5, HP-UX 11i) and I'm now being asked how/if we ...
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| We've just managed to get Java UDRs working (IDS 9.30HC5, HP-UX 11i) and I'm now being asked how/if we can issue an "http post" request from a J-UDR to a remote machine? I haven't a clue meself. Confused of Tunbridge Wells. |
| ||||
| Malc P wrote: > We've just managed to get Java UDRs working (IDS 9.30HC5, HP-UX 11i) > and I'm now being asked how/if we can issue an "http post" request > from a J-UDR to a remote machine? > I haven't a clue meself. > Confused of Tunbridge Wells. How would you write a Java class that executed an http post request? So, write that class. Now, look at what it takes to register a class within IDS. Modify your class, or wrap it, so that it can be called from within IDS. Register your interface with the DBMS (each database within the DBMS instance). Use it. Worry about re-entrancy and non-blocking rules. -- Jonathan Leffler #include <disclaimer.h> Email: jleffler@earthlink.net, jleffler@us.ibm.com Guardian of DBD::Informix v2003.04 -- http://dbi.perl.org/ |