Welcome Guest Search | Active Topics | Members | Log In | Register

Using WebORB PHP for Server to Server Communication Options · View
Valdhor
Posted: Wednesday, November 16, 2011 12:26:36 PM
Rank: Newbie Coder
Groups: Member

Joined: 3/19/2008
Posts: 11
Points: 12
Location: USA
Is it possible to use WebORB PHP for Server to Server Communication?

In my situation I have to build a Web Service on a different server than the one that hosts WebORB.
The data that the Web Service is to provide is the same that is available directly to the Flex Application via WebORB.

My thinking is that I can invoke the WebORB service from the second server rather than copy/paste
the same code between servers so that I only have one set of code to maintain.

I could set up a socket client/server but PHP is limited in the number of open sockets and maintaining multiple
sockets is a major code pain. The code uses an ORACLE database and the queries can take up to 30 seconds to process.
Holding a socket open for long periods does not sound like a good idea.

I could set up a Web Service on the other server and a client on the Web Service server but that adds a lot of
complexity and headaches that I don't need (I already tried this and keeping track of the different clients and servers is a pain
and the connection was not reliable what with multiple XML messages being exchanged and was really difficult
to debug.

Any ideas?
Cyril
Posted: Friday, November 18, 2011 1:12:52 PM
Rank: Administration
Groups: Administration , Member

Joined: 9/10/2009
Posts: 320
Points: 778
Location: US
as I understand your description, you can achieve it only by using webservices. Unfortunately, WebORB has no php server-side client.
Users browsing this topic
Guest


Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Main Forum RSS : RSS

YAFVision Theme Created by Jaben Cargman (Tiny Gecko)
Powered by Yet Another Forum.net version 1.9.1.8 (NET v4.0) - 3/29/2008
Copyright © 2003-2008 Yet Another Forum.net. All rights reserved.
This page was generated in 0.083 seconds.