Page 1 of 2

Access the server from outside

PostPosted: Tue Mar 25, 2008 10:45 pm
by MSibai
Hi,

I have noticed that the SHC cannot run outside the context of the Servoy server ..

In other words, if a third party system wants to access Servoy natively by just adding the SHC jar files to the class path of the client system, and then pass the configuration of the (Server Host or IP) in addition to the form name and the username and password ...

Is this feature there, or is it on the plan??

PostPosted: Wed Mar 26, 2008 12:07 am
by IT2Be
Unless I misinterpret this you would still need a server running so why do you want this?

PostPosted: Wed Mar 26, 2008 5:11 pm
by MSibai
Hi Marcel,

I believe that you got my point ...

yes server should be always on and an exception should be thrown if the server came down (or inaccessible because of firewall or proxy)

This question was asked by one guy who is responsible of the Enterprise Application Integration (EAI) team for one client and they are planning to create a Servoy adapter for the EAI tool which is (WebMethods) from Software AG.

They are planning to access the Servoy server using the API because it is more robust and powerful compared to the web services, and of course better that DB direct access (no need to double code the relevant actions and calculations).

So, the question again, is this feature available?

PostPosted: Wed Mar 26, 2008 5:23 pm
by IT2Be
What I created for a client once was running the SHC as a service itself to post and request to/from, triggering methods etc from the id that was sent.

Maybe that will do what you need?

PostPosted: Wed Mar 26, 2008 5:26 pm
by Jan Blok
The headless client is meant to be run inside the Servoy server, it cannot run outside the server.
If there is demand we could easily make a RemoteHeadlessClient as well, for use in any Java application

PostPosted: Wed Mar 26, 2008 5:38 pm
by MSibai
Hi Jan,
Jan Blok wrote:If there is demand we could easily make a RemoteHeadlessClient as well, for use in any Java application

I hope this is really easily doable ...

We are not in a rush, but it is good that other systems will be able to access Servoy natively..

The whole story here is about the interoperability 8)

We are even thinking about writing multiple adapters for variant vendors to access Servoy.

However, is this planned so I can tell the EAI guy and any body who asks later?

PostPosted: Wed Mar 26, 2008 6:30 pm
by Jan Blok
This is not planned and not requested before, but if multiple people have actual need for this we could consider to provide this.
But as IT2BE suggests making webservice ontop of current headless client might be a better idea for interfacing with servoy solutions from remote.

PostPosted: Wed Mar 26, 2008 6:43 pm
by MSibai
I know that is possible to wrap it as a web service, refer to the following post:
http://forum.servoy.com/viewtopic.php?t=8776

However, as mentioned before, NATIVE is on other option that is more robust and powerful.

However, I have filed a feature request (#124117) to have it in the queue.

PostPosted: Thu May 15, 2008 7:25 pm
by ryanparrish
I would like to toss in my request for RemoteHeadlessClient also.

Re: Access the server from outside

PostPosted: Sat Jun 13, 2009 1:13 am
by MSibai
Hi,

Can we have this available with Servoy 4.2 Please?

Re: Access the server from outside

PostPosted: Mon Jun 15, 2009 2:28 pm
by Jan Blok
Servoy 4.2 will not contain remote headless client (this release is closed for new enhances)
However the 4.2 release will contain a REST web service plugin, which makes it possible to expose (form) methods as REST API handlers

Re: Access the server from outside

PostPosted: Mon Jun 15, 2009 2:58 pm
by martinh
Jan,

Can you give an indication when 4.2 will be released?

Re: Access the server from outside

PostPosted: Mon Jun 15, 2009 3:05 pm
by Jan Blok
As seen in the newletter, the beta period will start soon (normally we have a beta period of about 4 months)

Re: Access the server from outside

PostPosted: Mon Jun 15, 2009 3:07 pm
by ptalbot
Hi Jan,

Great news about the REST web service plugin, can't wait to try it!

BTW, I was dying to ask, is the 4.2 going to be based on Eclipse Galileo?

Re: Access the server from outside

PostPosted: Mon Jun 15, 2009 4:06 pm
by Jan Blok
Galileo yes