[JDEV] Java jabber client.
Leon Kwan
leon at icon.com.hk
Wed Aug 16 04:54:32 CDT 2000
Hello all, I am new to Jabber.
I have installed the jabber server in the linux machine.
and successfully connect it with WinJab.
Now I plan to use JabberBeans and Jabber-webb to implement
the jabber client in java applet version.
However, I do not know the correct procedure of interacting
with jabber server.
a. Connecting the server.
b. Use IQ to send login request to the server.
c. Send Presence packet?
d. Get the roster list?
e. Send Message packet?
What I can do now is that I can connect and login to the server
but cannot see its online status in another jabber client like
WinJab. I think the presence packet may not properly sent.
I got the exception:
ISH: SAX: Unknown/invalid root element: stream: error
java.lang.RuntimeException: Death of output thread
at org/jabber/jabberbeans/sax/ProtocolHandler.onOutputDeath
at org/jabber/jabberbeans/sax/OutputStreamHandler.run
I would like to ask if there exist any java client source code
that successful connect to server and send message or get the
roster list?
-Leon Kwan
More information about the JDev
mailing list