Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Communications Framework (ECF) » XMPP(Building an Instant Messaging Application Using Jabber/XMPP)
XMPP [message #523928] Mon, 29 March 2010 21:10 Go to next message
Ireland is currently offline IrelandFriend
Messages: 6
Registered: March 2010
Location: London
Junior Member
Hi guys,

I am trying to build IM client using;

-Eclipse IDE
-Smack API(with smack.jar files)
-Openfire(as the server)

I would like an advice on how to build this client using eclipse and am finding difficult on how to build a simple program that sends message from one client to another one using the server.

I would appriciate if anyone could help with this.

Thanks in advance,

Ireland
Re: XMPP [message #523950 is a reply to message #523928] Tue, 30 March 2010 00:44 Go to previous message
Scott Lewis is currently offline Scott LewisFriend
Messages: 975
Registered: July 2009
Senior Member
Hi Ireland,

Ireland wrote:
> Hi guys,
>
> I am trying to build IM client using;
>
> -Eclipse IDE
> -Smack API(with smack.jar files)
> -Openfire(as the server)
>
> I would like an advice on how to build this client using eclipse and am
> finding difficult on how to build a simple program that sends message
> from one client to another one using the server.

ECF uses the smack API (v 3.1) to implement our abstract presence API.
There is example code for creating a basic chat client that uses the
presence API (and smack provider) here:

org.eclipse.ecf.example.clients.applications.ChatRobotApplic ation

This class is in this project: org.eclipse.ecf.example.clients

See also the class:

org.eclipse.ecf.example.clients.XMPPChatClient

in that same project (XMPPChatClient is used by the ChatRobotApplication):

See below for the info about CVS access to this example code.

If you have other questions about this example and/or the presence API I
would suggest posting these questions to the ecf-dev mailing list, as it
is monitored more closely than this newsgroup by ECF committers (myself
as well as others). There is information and archive for the ecf-dev
mailing list here: https://dev.eclipse.org/mailman/listinfo/ecf-dev

Thanks,

Scott

Anonymous CVS access

The org.eclipse.ecf.example.clients project/source code is located here
in anonymous CVS:

connection type: pserver (or extssh)
host: dev.eclipse.org
repo path: /cvsroot/rt
module: org.eclipse.ecf/examples/bundles/org.eclipse.ecf.example.cli ents

There's more info on getting anonymous CVS access to this (and all the
ECF) code on the ECF dev resources page:

http://www.eclipse.org/ecf/dev_resources.php
Previous Topic:XMPP
Next Topic:Share Editor with Open Fire XMPPS
Goto Forum:
  


Current Time: Fri Dec 19 04:12:02 GMT 2014

Powered by FUDForum. Page generated in 0.01593 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software