call external C function from Java

Matthew Johnson dbus at matthew.ath.cx
Sun Jun 19 03:36:11 PDT 2011


On Thu Jun 16 17:27, Marcus Nascimento wrote:
> I don't know if there is a dbus java binding.
> If not, you may use JNI to call native C functions that interface with Dbus.

There is, dbus-java, details on the dbus web pages:

http://dbus.freedesktop.org/doc/dbus-java/
http://www.freedesktop.org/wiki/Software/DBusBindings

Yes, you can make a dbus call from a Java program to a C program, subject to
the normal restrictions of the web application having access to the correct
bus. If you send us more information about the architecture we might be able to
provide some more detail suggestions.

Matt



More information about the dbus mailing list