Access the server from outside

The forum to discuss the Headless version of Servoy. Web, Java and Servlet development questions can all be posted here.

Access the server from outside

Postby MSibai » Tue Mar 25, 2008 10:45 pm

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??
Mohamad Sibai
http://www.Nothom.Com
User avatar
MSibai
 
Posts: 145
Joined: Tue Dec 05, 2006 7:17 am
Location: Saudi Arabia

Postby IT2Be » Wed Mar 26, 2008 12:07 am

Unless I misinterpret this you would still need a server running so why do you want this?
Marcel J.G. Trapman (IT2BE)
SAN partner - Freelance Java and Servoy
Servoy Components - IT2BE Plug-ins and Beans for Servoy
ServoyForge - Open Source Components for Servoy
User avatar
IT2Be
Servoy Expert
 
Posts: 4766
Joined: Tue Oct 14, 2003 7:09 pm
Location: Germany

Postby MSibai » Wed Mar 26, 2008 5:11 pm

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?
Mohamad Sibai
http://www.Nothom.Com
User avatar
MSibai
 
Posts: 145
Joined: Tue Dec 05, 2006 7:17 am
Location: Saudi Arabia

Postby IT2Be » Wed Mar 26, 2008 5:23 pm

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?
Marcel J.G. Trapman (IT2BE)
SAN partner - Freelance Java and Servoy
Servoy Components - IT2BE Plug-ins and Beans for Servoy
ServoyForge - Open Source Components for Servoy
User avatar
IT2Be
Servoy Expert
 
Posts: 4766
Joined: Tue Oct 14, 2003 7:09 pm
Location: Germany

Postby Jan Blok » Wed Mar 26, 2008 5:26 pm

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
Jan Blok
Servoy
Jan Blok
 
Posts: 2684
Joined: Mon Jun 23, 2003 11:15 am
Location: Amsterdam

Postby MSibai » Wed Mar 26, 2008 5:38 pm

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?
Mohamad Sibai
http://www.Nothom.Com
User avatar
MSibai
 
Posts: 145
Joined: Tue Dec 05, 2006 7:17 am
Location: Saudi Arabia

Postby Jan Blok » Wed Mar 26, 2008 6:30 pm

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.
Jan Blok
Servoy
Jan Blok
 
Posts: 2684
Joined: Mon Jun 23, 2003 11:15 am
Location: Amsterdam

Postby MSibai » Wed Mar 26, 2008 6:43 pm

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.
Mohamad Sibai
http://www.Nothom.Com
User avatar
MSibai
 
Posts: 145
Joined: Tue Dec 05, 2006 7:17 am
Location: Saudi Arabia

Postby ryanparrish » Thu May 15, 2008 7:25 pm

I would like to toss in my request for RemoteHeadlessClient also.
ryanparrish
 
Posts: 162
Joined: Thu May 17, 2007 7:49 pm
Location: Miami, FL

Re: Access the server from outside

Postby MSibai » Sat Jun 13, 2009 1:13 am

Hi,

Can we have this available with Servoy 4.2 Please?
Mohamad Sibai
http://www.Nothom.Com
User avatar
MSibai
 
Posts: 145
Joined: Tue Dec 05, 2006 7:17 am
Location: Saudi Arabia

Re: Access the server from outside

Postby Jan Blok » Mon Jun 15, 2009 2:28 pm

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
Jan Blok
Servoy
Jan Blok
 
Posts: 2684
Joined: Mon Jun 23, 2003 11:15 am
Location: Amsterdam

Re: Access the server from outside

Postby martinh » Mon Jun 15, 2009 2:58 pm

Jan,

Can you give an indication when 4.2 will be released?
Martin
------------------------------------------------
Servoy Developer
Version 5.2.10/5.2.13
Java version 1.6 update 31
Database SQL Server 2008 R2
martinh
 
Posts: 857
Joined: Wed May 09, 2007 5:34 pm
Location: Belgium

Re: Access the server from outside

Postby Jan Blok » Mon Jun 15, 2009 3:05 pm

As seen in the newletter, the beta period will start soon (normally we have a beta period of about 4 months)
Jan Blok
Servoy
Jan Blok
 
Posts: 2684
Joined: Mon Jun 23, 2003 11:15 am
Location: Amsterdam

Re: Access the server from outside

Postby ptalbot » Mon Jun 15, 2009 3:07 pm

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?
Patrick Talbot
Freelance - Open Source - Servoy Valued Professional
https://www.servoyforge.net
Velocity rules! If you don't use it, you don't know what you're missing!
User avatar
ptalbot
 
Posts: 1654
Joined: Wed Mar 11, 2009 5:13 am
Location: Montreal, QC

Re: Access the server from outside

Postby Jan Blok » Mon Jun 15, 2009 4:06 pm

Galileo yes
Jan Blok
Servoy
Jan Blok
 
Posts: 2684
Joined: Mon Jun 23, 2003 11:15 am
Location: Amsterdam

Next

Return to Servoy Headless Client

Who is online

Users browsing this forum: No registered users and 2 guests