Rob Walker wrote: > We're part way through an OSGi based application framework, and have reached > a need for XML/RPC callbacks (all code is in Java). > > One option we were considering is seeing if we could "embed" XMLBLASTER to > satisfy this need. Our framework already has a servlet based HTTP server (based > on Siena) on both the client and server app sides. So we'd be looking to hook the > listener/socket handling code in via the existing web server. > > Any views on steep the task of embedding the relevant parts of xmlblaster would > be?
Embeding xmlBlaster is easy, see xmlBlaster/src/java/org/xmlBlaster/util/ServerThread.java how to start xmlBlaster as a thread. An example how to use you find in xmlBlaster/testsuite/org/xmlBlaster/TestFailSave.java (and TestFailSavePing.java or TestPersistence2.java) enjoy, Marcel -- Marcel Ruff mailto:[EMAIL PROTECTED] http://www.lake.de/home/lake/swand/ http://www.xmlBlaster.org
