Unix Technical Forum

How to do an "http post" from within a Java UDR?????

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 ...


Go Back   Unix Technical Forum > Database Server Software > Informix

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-20-2008, 06:16 AM
Malc P
 
Posts: n/a
Default How to do an "http post" from within a Java UDR?????

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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-20-2008, 06:18 AM
Jonathan Leffler
 
Posts: n/a
Default Re: How to do an "http post" from within a Java UDR?????

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/
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 03:45 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com