The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

import-bot (20211) [Avatar] Offline
#1
[Originally posted by iainshigeoka]

Hi all,

Although the book source code was intended to be purely educational, many
people are expressing interest in using it for more. I have several ideas on
transforming the book source into a viable software platform. So I've decide
to start the jj server project at http://www.jabberstudio.org

jj server stands for "java jabber" server and tells you how inventive I am
when it comes to naming products. smilie jj retains the basic architecture and
ideas from the book source, but makes it a bit more practical for
experimentation and production. Changes include a more flexible, and scalable
packet queue system I'm calling the "channel event based architecture" (CEDA)
based on the "stage event based architecture" (SEDA) by Matt Welch from UC
Berkeley. Also, the Xerces SAX hacks have been eliminated by using the XPP3
parser from www.xmlpull.org. This parser should also make it possible for us
to really scale this sucker up using java.nio.*. My goal is to be able to
support at least 5,000 simultenously connected users on a single CPU desktop
machine (hey we should all have lofty goals).

The source code to the semi-functional server is checked into CVS and I will
be packaging up a rough version of the server once I get messaging and
presence working again (currently registration and authentication work). One
nice thing is that you can currently create an account and login using Exodus
(see www.jabberstudio.org) or Jabber Instant Messenger (www.jabber.com). This
is something that the book server won't do because both require iq:private and
iq:vcard working. Note that jj just returns empty information for these
protocols to fool the clients.

Anyhow, once things are in better shape, I'll put up another announcement
here. If anyone is brave and would like to contribute to the project now,
please feel free to dig in, check out the CVS sources, and help me flesh out
the protocol handlers. Documentation is pretty much non-existant so you'll
have to dig into the source to really understand what's going on. However,
the design is basically a clone of the book source so reading the book should
put you into a pretty good position to understanding jj.

Due to jj's modular design, I hope that once I get the basic system in place
and documented, we can all contribute to rapidly fleshing the server
functionality out. Basically, anyone should be able to grab a protocol
handler and just go at it without worrying about stepping on anyone else's
toes...

Anyhow, I realize I'm rambling so I'll stop here.

-iain
import-bot (20211) [Avatar] Offline
#2
Re: Book source being developed as open source project
[Originally posted by jsissom]

Has anyone done anything with this code since 8/28? We're looking at running
Jabber servers at IU and we're more comfortable with Java than with C so we
want a Java server. This code is the closest we've found to a working server
in Java.

I just wondered if this code was being maintained and if there are any updates
to it.

Thanks
Jay
import-bot (20211) [Avatar] Offline
#3
Re: Book source being developed as open source project
[Originally posted by iain.shigeoka]

> Has anyone done anything with this code since 8/28? We're looking at running
> Jabber servers at IU and we're more comfortable with Java than with C so we
> want a Java server. This code is the closest we've found to a working server
> in Java.
>
> I just wondered if this code was being maintained and if there are any updates
> to it.

Hi Jay,

The code is currently idle. I'm presently working with a company (not
Messaging Logic) to develop a commercial version of the server and haven't had
the time to update the open source version. You are more than welcome to take
what is available on jabberstudio.org and continue development (it's BSD-style
licensed so you can pretty much do whatever you wish with it). I'll gladly
take any code you wish to donate back to the project and roll it into the
distribution. It's currently in pretty crude shape but I think the core
architecture is sound.

<mini-commercial>
If you'd prefer to work with an actively developed Java Jabber server, contact
me via email (should be at the head of this post). I can set you up with our
beta program (free) and can probably arrange for extremely low cost final
licensing if 'IU' is a university/US government/non-profit/etc. This is also
an open call to anyone else interested... smilie The company I'm working for
doesn't like to pre-announce products (so I'm keeping their name out of this
post) but we are looking to start beta testing shortly.
</mini-commercial>

Hope this helps.

-iain
import-bot (20211) [Avatar] Offline
#4
Re: Book source being developed as open source project
[Originally posted by iain.shigeoka]

Sorry, looks like emails aren't copied. my email is iain.shigeoka at
messaginglogic.com

Or you can use the author email for the book iainshigeoka at yahoo.com

Cheers

-iain
import-bot (20211) [Avatar] Offline
#5
Re: Book source being developed as open source project
[Originally posted by johnb]


"I will be packaging up a rough version of the server once I get messaging and
presence working again"

The server came with the book is wonderfully designed and implemented,
we are eagerly looking forward to the release of this jj server on
jabberstudio.org. Any predicatable dates in mind?



import-bot (20211) [Avatar] Offline
#6
Re: Book source being developed as open source project
[Originally posted by iain.shigeoka]

> The server came with the book is wonderfully designed and implemented,
> we are eagerly looking forward to the release of this jj server on
> jabberstudio.org. Any predicatable dates in mind?

Thanks. There are no definite plans in place yet. I've been side lined with
some commercial development which has placed jj development on hold for now.
Of course, being open source, anyone else is always welcome to dive in and
help out. smilie

-iain
import-bot (20211) [Avatar] Offline
#7
Re: Book source being developed as open source project
[Originally posted by micael]

I am going to take another couple looks at the book and jump right in here. I
think Jabber has a future with Java. I have some ideas about what to do with
it and I am sure a lot of other people do too. So, I want to get in on this
close to the ground floor. Be back in a few!!!!!!!!! ///8--)
import-bot (20211) [Avatar] Offline
#8
Re: Book source being developed as open source project
[Originally posted by micael]


> <mini-commercial>
> If you'd prefer to work with an actively developed Java Jabber server, contact
> me via email (should be at the head of this post). I can set you up with our
> beta program (free) and can probably arrange for extremely low cost final
> licensing if 'IU' is a university/US government/non-profit/etc. This is also
> an open call to anyone else interested... smilie The company I'm working for
> doesn't like to pre-announce products (so I'm keeping their name out of this
> post) but we are looking to start beta testing shortly.
> </mini-commercial>
>

<mini-answer>
I would be interested. I would love to work on any of this.
</mini-answer>