HOW TO: Create Server-Side Plugins

Utilizing our Server Public API: http://www.servoy.com/docs/public-api/index.html you can create client-side and server-side plugins.

Creating a client side plugin is very easy. For people unfamiliar with Eclipse, there is an example at How To: Create Plugins using BlueJ - Classic Servoy - Servoy Community which shows a simple client-side plugin.

In addition, you have the ability to create server-side plugins. With a server-side plugin, a client can initiate a call to the server and have the server perform some processing and then return the result back to the client. Our open-souce mail plugin is another example of a server-side plugin.

I have attached some example code of a very simple server-side Hello World plugin.

ServerPluginExample.zip (6.58 KB)

Great job Scott…
This was really helpful for me, and am sure for the others …

Is there any such example for developer plugins?

In the public API, there really isn’t a lot more you can do with a developer plugin. However if you want to create a developer plugin, it is the same as a client plugin, except you use IDeveloperPlugin and IDeveloperPluginAccess instead of IClientPlugin and IClientPluginAccess.

I will give it a try …
Thanks Scott