# Jaggernaut or Jabber for IM in Rails?

**URL:** <https://www.ruby-forum.com/t/jaggernaut-or-jabber-for-im-in-rails/146252>\
**Category:** Rails\
**Created:** [August 19, 2008, 2:27pm UTC](https://www.ruby-forum.com/t/jaggernaut-or-jabber-for-im-in-rails/146252 "2008-08-19T14:27:13Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![vidya1111](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/v/b3f665/32.png) [@vidya1111](https://www.ruby-forum.com/u/vidya1111)\
**Post date:** [August 19, 2008, 2:27pm UTC](https://www.ruby-forum.com/t/jaggernaut-or-jabber-for-im-in-rails/146252/1 "2008-08-19T14:27:13Z")

</div>

Hi All,

I have experienced connecting to the server using Juggernaut plugin.  
I have also heard about Jabber for instant messaging.  
Can you tell me which one is better for Rails? Jabber or Juggernaut?

Also please give some link for referring on installation procedure for  
Jabber.

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![vidya1111](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/v/b3f665/32.png) [@vidya1111](https://www.ruby-forum.com/u/vidya1111)\
**Post date:** [August 19, 2008, 2:38pm UTC](https://www.ruby-forum.com/t/jaggernaut-or-jabber-for-im-in-rails/146252/2 "2008-08-19T14:38:44Z")

</div>

On Tue, Aug 19, 2008 at 8:27 AM, Vidya Ramachandren  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Thanks in advance.  
> Um, Jabber is a chat protocol. It has nothing to do with Rails.  
> Juggernaut allows you to push information out to web browsers without  
> them first requesting information. This is a Rails plugin.

Put together as needed.

Jason

---

<div class="post-metadata">

**Author:** ![vidya1111](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/v/b3f665/32.png) [@vidya1111](https://www.ruby-forum.com/u/vidya1111)\
**Post date:** [August 19, 2008, 2:46pm UTC](https://www.ruby-forum.com/t/jaggernaut-or-jabber-for-im-in-rails/146252/3 "2008-08-19T14:46:57Z")

</div>

On Tue, Aug 19, 2008 at 8:27 AM, Vidya Ramachandren \<  
removed\_email\_address@domain.invalid\> wrote:

> I have experienced connecting to the server using Juggernaut plugin.  
> I have also heard about Jabber for instant messaging.  
> Can you tell me which one is better for Rails? Jabber or Juggernaut?

We actually worked on a project earlier this year where we used a jabber  
server and JSJaC ([http://zeank.in-berlin.de/jsjac/](http://zeank.in-berlin.de/jsjac/)), a javascript Jabber  
client. It wasn’t without it’s share of hassles, but it was actually an  
interesting solution. It enabled us to do chat in the browser that was  
completely separated from the Rails app.

> Also please give some link for referring on installation procedure for  
> Jabber.

I don’t instructions, but if you’re interested to hear more about it,  
feel  
free to contact me and I could put you in touch with the guys on our  
team  
that did most of the heavy lifting.

Brandon

## –

Sessions by Collective Idea: Ruby on Rails training in a vacation  
setting  
[http://sessions.collectiveidea.com](http://sessions.collectiveidea.com)

---

<div class="post-metadata">

**Author:** ![vidya1111](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/v/b3f665/32.png) [@vidya1111](https://www.ruby-forum.com/u/vidya1111)\
**Post date:** [August 21, 2008, 7:40am UTC](https://www.ruby-forum.com/t/jaggernaut-or-jabber-for-im-in-rails/146252/4 "2008-08-21T07:40:03Z")

</div>

Is there any plugin in rails for Jabber?

---

<div class="post-metadata">

**Author:** ![vidya1111](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/v/b3f665/32.png) [@vidya1111](https://www.ruby-forum.com/u/vidya1111)\
**Post date:** [August 21, 2008, 8:01am UTC](https://www.ruby-forum.com/t/jaggernaut-or-jabber-for-im-in-rails/146252/5 "2008-08-21T08:01:31Z")

</div>

Googling for “rails jabber” turns up this:

[http://www.rubyinside.com/actionmessenger-basic-im-jabber-support-for-rails-142.html](http://www.rubyinside.com/actionmessenger-basic-im-jabber-support-for-rails-142.html)

which is a bit old.

You could use xmpp4r: [http://home.gna.org/xmpp4r/](http://home.gna.org/xmpp4r/) and learn how to use  
it  
[Introduction to XMPP and XMPP4R for Ruby Developers](http://www.rubyinside.com/introduction-to-xmpp-and-xmpp4r-for-ruby-developers-709.html)  
as any self-respecting programmer would due with “new” technology.
