# Executing method in external solution

**URL:** <https://forum.servoy.com/t/executing-method-in-external-solution/10741>\
**Category:** Classic Servoy\
**Created:** [June 3, 2009, 8:30am UTC](https://forum.servoy.com/t/executing-method-in-external-solution/10741 "2009-06-03T08:30:43Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![martinh](https://avatars.discourse-cdn.com/v4/letter/m/848f3c/32.png) [@martinh](https://forum.servoy.com/u/martinh)\
**Post date:** [June 3, 2009, 8:30am UTC](https://forum.servoy.com/t/executing-method-in-external-solution/10741/1 "2009-06-03T08:30:43Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Harjo](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/harjo/32/4873_2.png) [@Harjo](https://forum.servoy.com/u/Harjo)\
**Post date:** [June 3, 2009, 8:54am UTC](https://forum.servoy.com/t/executing-method-in-external-solution/10741/2 "2009-06-03T08:54:27Z")

</div>

I think the userManager plugin of Dr.Maison is your solution for this!

---

<div class="post-metadata">

**Author:** ![martinh](https://avatars.discourse-cdn.com/v4/letter/m/848f3c/32.png) [@martinh](https://forum.servoy.com/u/martinh)\
**Post date:** [June 3, 2009, 10:06am UTC](https://forum.servoy.com/t/executing-method-in-external-solution/10741/3 "2009-06-03T10:06:56Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Harjo](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/harjo/32/4873_2.png) [@Harjo](https://forum.servoy.com/u/Harjo)\
**Post date:** [June 3, 2009, 10:46am UTC](https://forum.servoy.com/t/executing-method-in-external-solution/10741/4 "2009-06-03T10:46:23Z")

</div>

what you discribe is possible with the userManager plugin!

---

<div class="post-metadata">

**Author:** ![martinh](https://avatars.discourse-cdn.com/v4/letter/m/848f3c/32.png) [@martinh](https://forum.servoy.com/u/martinh)\
**Post date:** [June 3, 2009, 11:15am UTC](https://forum.servoy.com/t/executing-method-in-external-solution/10741/5 "2009-06-03T11:15:29Z")

</div>

OK I’ll have a closer look into this plugin
