good xmpp java libraries server side?
i anticipating exercise rudimentary xmpp server java.
what i need library parse know xmpp requests client. i have looked during bruise (mentioned below) jso. bruise appears fan wholly while competence assistance parsing packets doesn't know respond clients. jso reliable looks unequivocally old. wholly aspiring opening lift removed openfire an whole blurb (oss) xmpp server.
i only anticipating few lines formula tip netty mina, i started guess messages off wire.
joe -
well answer i am perplexing rather enlarged - i'll try keep short.
there twin things, wholly loosely related:
1) i wanted an xmpp server since i suspect minute tradition custom twin clients communicate. fundamentally i am pondering networked iphone app - nonetheless i didn't wish rest low-level binary protocols since controlling something xmpp means app "grow up" unequivocally fast internal wifi formed app an internet formed one...
the msgs exchanged should comparatively low latency, quite utterance binary custom best, nonetheless i felt competence value exploring xmpp didn't broach too many over such i following reap advantages it's extensability flexability later.
2) i work terracotta - i have crazy focussed cluster everything. shortly i started pondering minute tradition server code, i figured i wanted cluster it. terracotta creates scaling out java pojos trivial, guess build super rudimentary xmpp server explanation app terracotta. fundamentally any user bond server over tcp connection, register user hashmap. any user have linkedblockingqueue listener thread holding summary queue. following any connected user wants send summary any user (e.g. any aged discuss application) simply issues an xmpp summary (as usual) user over connection. server picks up, looks adult analogous user vigilant map places summary onto queue. given reserve clustered, regardless wether finish user connected same physical server, opposite physical server, summary delivered thread listening picks adult sends behind down finish user's tcp connection.
so - too brief outline i'm afraid. nonetheless that's i wish do. i suspect i only plugin openfire accomplish #1 nonetheless i cruise takes caring lot plumbing it's harder #2 (especially given i anticipating unequivocally little volume formula fit rudimentary 10-20kb maven project).
Comments
Post a Comment