DCOP bindings for Java

Matthias Hoelzer-Kluepfel recently announced Java bindings for DCOP. In other words, Java can now communicate with and control KDE2 applications. A welcome addition to the existing C bindings for DCOP, originally used by the long gone kmapnotify. Then, of course, there's kxmlrpc which provides a bridge to DCOP for anything that can speak HTTP and XML (eg, control DCOP-speaking apps from a shell script or python). And as if all that wasn't enough, there's the command-line or point-n-shoot DCOP browser/executor that just goes to show how far, flexible and mature DCOP has become in a short matter of time. Simplicity pays off in the end.

Dot Categories: 


by Dominik Niedermeier (not verified)

This sounds really interesting (javadcop). I'll have to try it once I find the time to install this on my box. If something useful comes out of it, I'll let you know ...



"Real programmers don't comment their code.
It was hard to write, it should be hard to understand."

by Antonie Fourie (not verified)

Will there ever be such a thing as kSOAP?

by Richard Moore (not verified)

Yes probably. There is already kxmlrpc which supports the similar XMLRPC protocol. SOAP is somewhat more complicated, but it will probably be added when someone has time.


by Kurt Granroth (not verified)

Absolutely! I wrote kxmlrpcd back before SOAP was announced (XMLRPC is a precursor to SOAP) and never got around to updating it. I'll be working on ksoapd (or whatever) after 2.0.

by Slava Pestov (not verified)

What's the point? If I wanted to write an app with KDE support, I would write a native KDE app, in C++, etc. The whole point of Java is to write cross-platform programs, which are not tied to any particular operating system. Don't get me wrong, I like KDE, but lets not add 'non-WORA' extensions to Java.

Java is a nice language, making it work well with KDE is the Right Thing (tm) to do. This only adds to the power of Java, not removes.

by Nils Olav Selåsdal (not verified)

Because you should have the opertunity to to whatever
you'd like.
And if you think component architecture, you can be sure that you once need to communicate with
an already existing component....!

by ac (not verified)

Instead of DCOP, they should called it ROBOCOP as in Realtime OBject Oriented COP!