RMI Access to Servoy App Server

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

RMI Access to Servoy App Server

Postby michaelwirz » Wed Feb 01, 2006 3:53 pm

Hi Servoyans, hello Jan.

During a recent discussion with Patrick on the topic of further
integration of servoy business logic into our heterogenuous environment
we found an interesting question to ask.

As we see it, Servoy Client Plugins are based on RMI.
You get yourself an IClientPluginAccess-Handle and transport
IScriptObjects as well as POJOs over to the server and back to the client
when talking to an IServerPlugin.

Regarding interfaces we discussed the following: Patrick has a bunch of POJOs
in his hands (in a servoy plugin) and wants them to be transferred to a different
Java process outside of servoy. We thought
about serializing them into xml in the servoy server and deserialize them in
my Java VM afterwards (using headless and xml-strings).
But why not use std Java marshalling and RMI directly?
We'd have to know the stub/skeleton functions we could use --
or how to embed our own.

I'd just like to know what you think about this idea.
Best regards,
Posts: 23
Joined: Mon Sep 13, 2004 1:47 pm

Postby michaelwirz » Wed Feb 15, 2006 10:25 am


Is anybody out there? Is my question too abstract
or generic or way out of scope? I'd really appreciate
any comment on the rosen subject of using RMI to
communicate with the servoy server directly -- heading
towards a more standard "servoy enterprise integration"
direction. If this is beyond the current scope just let me

Thanks for your replies,
Michael Wirz
Posts: 23
Joined: Mon Sep 13, 2004 1:47 pm

Postby IT2Be » Wed Feb 15, 2006 11:19 am

Hi Michael, I have looked at your question more than once. For me it is a little too abstract, now that you ask.

To begin with I would say you have a client, server or client/server plugin. A client plugin doesn't use any RMI services as far as I know (not too much :) ).
A server plugin does and it is very easy to set up.

And that leads me to what I think is the core of your question: Can I set up more than one RMI service. IMHO the answer is yes. In fact that is what I do with the fax plugin. It communicates with the server to retrieve preferences and it communicates with InterFax via SOAP services. You can set up the additional RMI server within your plugin or just in an external library.

Not sure that this is the answer you are looking for, but it is a start...

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
Servoy Expert
Posts: 4766
Joined: Tue Oct 14, 2003 7:09 pm
Location: Germany

Return to Servoy Headless Client

Who is online

Users browsing this forum: No registered users and 2 guests