Web Services In Jade

For questions and postings not covered by the other forums
ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

Web Services In Jade

Postby ConvertFromOldNGs » Fri Aug 07, 2009 12:42 pm

by Brian Mills >> Thu, 21 Oct 2004 1:12:02 GMT

I've started using web services in Jade 6. It's all going smashingly, except it occured to me that I'm making a http web call to the jadehttp.dll. which then passes that request on to jade via a TCP call. I wondered weather there would be much overhead in this 2 step communication that occurs, or weather I really should be making a TCP call to Jade directly.

Brian.

ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

Re: Web Services In Jade

Postby ConvertFromOldNGs » Fri Aug 07, 2009 12:42 pm

by allistar >> Thu, 21 Oct 2004 4:39:29 GMT

I think jadehttp.dll talks to JADE using named pipes, not the TCP/IP stack, which is more efficient. I wouldn't be too concerned about this double up in communication. Also since jadehttp.dll is developed in either C or C++ the communication handling would be much more efficient than if it were done in JADE itself.

Regards,
Allistar.
--
------------------------------------------------------------------
Allistar Melville
Software Developer, Analyst allistar@silvermoon.co.nz
Auckland, NEW ZEALAND

Silvermoon Software
Specialising in JADE development and consulting
Visit us at: http://www.silvermoon.co.nz
*NEW* Simple web access to Jade at: www.silvermoon.co.nz/jhp.html ------------------------------------------------------------------

ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

Re: Web Services In Jade

Postby ConvertFromOldNGs » Fri Aug 07, 2009 12:42 pm

by Patwos >> Thu, 21 Oct 2004 6:37:09 GMT

Actually you can choose when defining your web enabled app whether to use named pipes or TcpIp. If you're going to be running through a firewall then you need to use TcpIp.

As Allistar has already said I wouldn't be too concerned about the double handling. I have a couple of systems communicating via this setup and it takes longer for the apps to do their processing than it does to send the message data between them - although sometimes the update has happened so fast I wonder why it's taking so long before I realise it had finished before I even saw the screen refresh for the first time.

Of course, for Jade to Jade system communication that has no requirement to be visible elsewhere a direct TcpIp to TcpIp "Web Service" option would be nice to remove IIS and the jadehttp.dll altogether. :)

Hope that helps,
Pat.


Return to “General Discussion”

Who is online

Users browsing this forum: No registered users and 18 guests