Difference between a Client and a Server plugin?

Hi,

I’m attached to a team using Servoy to develop our in-house CRM system. I’ve written a plugin which interfaces with a webservice and returns the response. Internally, my plugin needs a few other libraries to function - axis, jaxrpc, wsdl etc.

Where can I find out what the difference between a client and a server plugin is - i.e. whether I need to provide a jnlp for my libraries?

Thanks,

Neil

Where can I find out what the difference between a client and a server plugin is - i.e. whether I need to provide a jnlp for my libraries?

The first part of your question is in no way related to the other.

  1. A client plugin runs solely on the client, A server plugin runs only on the server and a client-server plugin is a plugin where the client part interacts with the server part over rmi (in case of Servoy). More information can be found in many java docs.
  2. a jnlp is what you need when you need libraries to make your plugin work. based on what you wrote the answer is yes. Also here, search the web for information about this, it is standard java/jws stuff.

Hope this helps.

Thanks, but that’s not quite what I was looking for.

As for part 1 of your answer, how can I tell whether the plugin is a client-side or server-side plugin? My colleague - who should know this as he’s worked with Servoy for quite a few years - has no clue. In the Servoy Developer environment, I see my plugin listed, and I can call it’s methods from a form or dialog. Does this make it a client-side plugin?

And once that question is answered, part 2 is obvious - if yes, I’d need a jnlp for the plugin and all dependencies.

nhatherly:
I’ve written a plugin

nhatherly:
how can I tell whether the plugin is a client-side or server-side plugin?

If you wrote the plugin yourself and you don’t know, I would say that it is a client-side plugin. :)

For a server-side plugin you need a class that implements IServerPlugin.
Take a look at the mail-plugin (the source is included) for an example of a client-server plugin.

My post is gone due to login issues but is basically the same as the one Joas wrote.

Additionally. Please do some reading. You are the developer and should know about this. Not the other way round.
Otherwise you have to share what you have so that we can help you.

To make thing more complicated . You can have a client-server plugin without implementing IServerPlugin but then it will act as a client plugin without the server part interacting with Servoy :twisted:

Thanks, yes - it’s a client plugin.

I’ve got other problems now, but that’s not a topic for this thread :wink: