Executing method in external solution

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

Executing method in external solution

Postby martinh » Wed Jun 03, 2009 10:30 am

Hi,

Just want to know if the following is possible:

I want to write a queue mechanism. Each entry in this queue will have a solutionname and methodname.
This queue solution will run in the background as a batchprocessor.

From the batchprocessor I want to call an external Servoy solution with the given methodname, without the need to have this solution as a module in my batchprocessor.
So in fact it looks like that I need to start a headless client from Servoy script.

Is that possible? And if it is, how should this be done?

Martin
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: Executing method in external solution

Postby Harjo » Wed Jun 03, 2009 10:54 am

I think the userManager plugin of Dr.Maison is your solution for this!
Harjo Kompagnie
ServoyCamp
Servoy Certified Developer
Servoy Valued Professional
SAN Developer
Harjo
 
Posts: 4321
Joined: Fri Apr 25, 2003 11:42 pm
Location: DEN HAM OV, The Netherlands

Re: Executing method in external solution

Postby martinh » Wed Jun 03, 2009 12:06 pm

I'm not sure. As far as I can see that user manager can add a batch processor to the server.
But batchprocessors on the server remain active.

In my case I want from a batchprocessor (headless client) to execute another headless client. As soon as the method is completed, then this headless client must disappear.
I want it like you can do from a .jsp page (see Servoy example headless client from jsp page). But then not from a jsp page, but from Servoy scripting.
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: Executing method in external solution

Postby Harjo » Wed Jun 03, 2009 12:46 pm

what you discribe is possible with the userManager plugin!
Harjo Kompagnie
ServoyCamp
Servoy Certified Developer
Servoy Valued Professional
SAN Developer
Harjo
 
Posts: 4321
Joined: Fri Apr 25, 2003 11:42 pm
Location: DEN HAM OV, The Netherlands

Re: Executing method in external solution

Postby martinh » Wed Jun 03, 2009 1:15 pm

OK I'll have a closer look into this plugin
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


Return to Servoy Headless Client

Who is online

Users browsing this forum: No registered users and 8 guests