It is not easy to answer your question... The long answer would be to write a book on the subject, but I am afraid it would take some time...

I don't know the kind of constraints you have, and depending on that, different solutions may be applicable.

The easiest one is to make a jar containing only the necessary classes, e.g., for remote invocation using Jeremie. It means removing most of David, the multicast-related code, and some other stuff.

But, doing that, you'll still have some dependencies with some CORBA classes. To remove these dependencies, you will have to develop a new invocation protocol (there was such a protocol in Jonathan 1.x, but it did not survive the different evolutions), and a binder similar to JIOP. This is not a really difficult work (essentially take GIOP, IIOPBinder and JIOP, and remove CORBA specific code, like exceptions), but this would let you use the Jeremie programming model in a lightweight way. Another possibility would be to implement the JRMP protocol (used by standard RMI).

If you need something really simpler, then you may want to dive into the existing code and remove what you don't need. For instance, you may want to have only a "client" version of Jonathan. This would allow you to remove code in several places (protocols, stub-factories). But this is clearly much more work, although it may be very useful.

Another solution would be to use protocols directly. I am not really in favour of such a solution, since it is clearly our goal to provide an object-oriented programming model for distributed applications, and not a low-level, message-oriented one. But we may discuss that too.

To answer your question about documentation, there is alas not much material available, except what you can find on the ObjectWeb site, and the javadoc.

Best regards,

Bruno
 
 

Per Christian Nodtvedt wrote:

Hi.I need a very lightweigth middleware, and the two existing Jonathan personalities are too big.  The project I'm working on has therefore set out to build a personality on top of Jonathan.Where can I find documentation on how to make a Jonathan personality on the web?  If this kind of document does not exist, where can I find a tutorial on using Jonathan without the David- or Jeremie personalities?  (it should be possible to send dummy tcp-segments, or am I completely in the dark now?) I have attemted to read the source code, but I end up running in circles trying to figure out how to make Connections, Sessions, Session_Highs and Session_Lows in the TcpIpProtocol.  Any feedback would be greatly appreciated. Regards,
Per Christian Nodtvedt
begin:vcard 
n:Dumant;Bruno 
tel;cell:06 75 20 76 64
tel;fax:33 1 49 26 09 76
tel;work:33 1 42 44 40 74
x-mozilla-html:FALSE
url:www.kelua.com
org:Kelua SA
adr:;;55 rue Sainte Anne;Paris;;75002;France
version:2.1
email;internet:[EMAIL PROTECTED]
x-mozilla-cpt:;1
fn:Bruno Dumant
end:vcard

Reply via email to