I would like to start the discussion surround how messengers org.xmpp.packet implementation could be unified (between smack and messenger) and made pluggable in context of this project.
This url http://www.jivesoftware.org/community/thread.jspa?threadID=15708&tstart=0&messa geID=103277#103277thread[/url] raises the issue and this url http://www.jivesoftware.org/community/message.jspa?messageID=104915post[/url] brings up the desire to investigate alternatives to text based xml.
Dom4j is the current implementation, but lacks the standard interface that would allow it to “swapped” out. DOM/SAX/StAX are all standard interface in JavaSE 5 so they provide a plugin point. Nux/bnux doesn’'t support these interfaces, but does support XQuery. This brings an interesting point. We could interface the XMPP packet stanzas as XQuery paths and let the best implementation be the default provider.
Performance is definitely the deciding factor so benchmarking and a framework/test harness to reproduce the results should also be generated.
What do you think?