Java bindings for D-BUS (revisited)

John (J5) Palmieri johnp at redhat.com
Tue Oct 4 23:16:28 PDT 2005


On Tue, 2005-10-04 at 18:15 -0600, David Simmons wrote:
> Hi,
> 
> I've been investigating the availability of Java bindings for D-BUS.  It 
> looks like there have been (or will be) three attempts at this:
> 
> 1. Carlos Romero's (aka "kidcrash") JNI interface
> 	- no build support (no makefiles or automake stuff)
> 		- (although it was easy for me to whip up a
> 		   suitable Makefile quickly.)
> 	- low-level bindings exposed, no high-level bindings
> 	- this code can segfault in certain situations
> 		- (null message pointers and such)
> 	- one release in April
> 	- back in April, there was talk of integrating kidcrash's stuff 		 
> into the D-BUS CVS, but it doesn't look like anything came of 		  that.
> 2. Alberto Galdo's (aka "argaldo") pure-Java interface
> 	- not 100% pure - UNIX-domain sockets must use native code
> 	- no releases yet
> 3. Java-GNOME project's proposed dbus bindings
> 	- was on the roadmap for java-gnome 2.12
> 	- from the looks of the CVS, this work hasn't been started.
> 
>  From the looks of it, if I want to use D-BUS in Java, the best route 
> would be:
> 	1. Start with kidcrash's code
> 	2. Iron out the handling of exceptional conditions
> 	3. Add a high-level layer similar to the Python bindings
> 
> Comments?

Go for it.  We would love to see great Java bindings that are well
maintained.  

-- 
John (J5) Palmieri <johnp at redhat.com>



More information about the dbus mailing list