Java Services

From WebOS Internals
Revision as of 23:38, 21 July 2009 by Hopspitfire (talk | contribs) (New page: We will do a quick overview on how to create a Java-based service and get it running under the dbus system. The service framework of webOS depends largely on dbus, but Palm wrote most of ...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

We will do a quick overview on how to create a Java-based service and get it running under the dbus system.

The service framework of webOS depends largely on dbus, but Palm wrote most of the services in Java (there are maybe two or three native services). They've used a dbus Java library in order to communicate with the dbus and wrote more libraries to make the creation of these services much easier. The library of interest is serviceframework.jar, located under /usr/lib/luna/java.

All Java services extend from either the LunaServiceThread class directly or from a subclass of LunaServiceThread.

TODO: finish! need to research a little bit more