CEO, Tech IT Easy Lab of Pervasive VM Computing +91 9830740684 A Beginner’s Guide to XMPP.

Slides:



Advertisements
Similar presentations
Client-server practices DSC340 Mike Pangburn. Agenda Overview of client-server development Editing on client (e.g., Notepad) or directly on server (e.g.,
Advertisements

PC Client Training Customer Name © 2010 CYPRESS COMMUNICATIONS, INC. 1.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 8: Monitoring the Network Connecting Networks.
W alkie Doggie is a web application that allows dog owners to help each other with their dog walks. It’s main feature is the walkies, which are the user’s.
P2P (Peer To Peer) Used: when applications need to communicate between devices. Examples: – Interactive game of checkers – Instant Messaging P2P can be.
6/3/2015topic1 Web Security Qiang Yang Simon Fraser University Thanks: Francis Lau (HKU)
 Guy Jacob  Roee Shapiro Project B Spring, 2009 Cloudio  Project Supervisor: Eddie Bortnikov  Lab Chief Engineer: Dr. Ilana David.
A CHAT CLIENT-SERVER MODULE IN JAVA BY MAHTAB M HUSSAIN MAYANK MOHAN ISE 582 FALL 2003 PROJECT.
Building Web Pages With Microsoft Office. Introduction This tutorial is for the beginning web builder. It utilizes software that you already have, Microsoft.
Master’s course Bioinformatics Data Analysis and Tools Lecture 6: Internet Basics Centre for Integrative Bioinformatics.
VCT May 20, 2009 Sapna Blesson Advisor: Dr.Christopher Pollett.
How Clients and Servers Work Together. Objectives Learn about the interaction of clients and servers Explore the features and functions of Web servers.
Implementing Application Protocols. Overview An application protocol facilitates communication between applications. For example, an client uses.
Basics Dayton Metro Library Place photo here August 10, 2015.
Remote Assistance  Using this program you can allow someone to work on your computer, chat with you and view your screen with your permission  The other.
Open Source XMPP for Cloud Services Matt Tucker, CTO Jive Software.
HOW TO PULL YOUR VOICE MAILS INTO YOUR CLIENT Primary advantage: You will have a permanent.wav file on your PC and you choose when to delete it.
Telnet/SSH: Connecting to Hosts Internet Technology1.
Portal and AQAS-Philadelphia University 21-22/6/2011 AVCI Platform in PU Dr. Abdel-Rahman Al-Qawasmi Philadelphia University Director of Computer Center.
B UZZ - ME L OCATION BASED DATING SERVICE Arun Ponnusamy Abhisheak Iyer Deepak Swathi Gangisetty.
Backup Local Online For secure offsite storage of your , and making it available from any computer or smart phone. Backup accessed with.
BRIDGE COURSE of INFORMATION & COMMUNICATION TECHNOLOGY
Databases and the Internet. Lecture Objectives Databases and the Internet Characteristics and Benefits of Internet Server-Side vs. Client-Side Special.
IT 424 Networks2 IT 424 Networks2 Ack.: Slides are adapted from the slides of the book: “Computer Networking” – J. Kurose, K. Ross Chapter 2: Application.
Introducing XMPP For real-time communication. Agenda Protocol Market Implementation.
XMPP Extensible Messaging and Presence Protocol. Chat In the beginning there was instant messaging and chat. Lots of binary standards: Unix talk, IRC,
Postacademic Interuniversity Course in Information Technology – Module C1p1 Contents Data Communications Applications –File & print serving –Mail –Domain.
XP New Perspectives on Browser and Basics Tutorial 1 1 Browser and Basics Tutorial 1.
Instant Messaging for the Workplace A pure collaborative communication tool that does not distract users from their normal activities.
Instant Messaging for the Workplace A pure collaborative communication tool that does not distract users from their normal activities.
Sauna Network Protocol. Create User $SAU,CU,[UserName],[Password],[Firstname],[ Lastname],[ ],[Phone]
Chapter 1: The Internet and the WWW CIS 275—Web Application Development for Business I.
Protecting Internet Communications: Encryption  Encryption: Process of transforming plain text or data into cipher text that cannot be read by anyone.
Jabber Client Jeevan Varma Anga Distributed Systems(CSC8530) Villanova University.
Internet Business Foundations © 2004 ProsoftTraining All rights reserved.
4BP1 Electronic & Computer Engineering Paul Gildea th Year Interim Project Presentation.
Chapter 3: Services of Network Operating Systems Maysoon AlDuwais.
Application Block Diagram III. SOFTWARE PLATFORM Figure above shows a network protocol stack for a computer that connects to an Ethernet network and.
NETWORK HARDWARE AND SOFTWARE MR ROSS UNIT 3 IT APPLICATIONS.
Principles of Information Systems, Sixth Edition 1 The Internet, Intranets, and Extranets Chapter 7.
Saving State on the WWW. The Issue  Connections on the WWW are stateless  Every time a link is followed is like the first time to the server — it has.
1 WWW. 2 World Wide Web Major application protocol used on the Internet Simple interface Two concepts –Point –Click.
Mercury. One single online platform: Mercury Highlights – USP’s Web-based platform: accessible from any computer in any location without installing any.
Worldwide Lexicon Brian McConnell May, WWL – Brian McConnell Worldwide Lexicon Intro Automatic discovery of dictionary, semantic net and translation.
Implementing and Using the SIRWEB Interface Setup of the CGI script and web procfile Connecting to your database using HTML Retrieving data using the CGI.
FCM Workflow using GCM.
Facebook is a social utility that connects you with the people around you. Use Facebook to…  Keep up with friends and family  Share photos and videos.
27.1 Chapter 27 WWW and HTTP Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
External Messaging Services. Page 2 External Messaging: Extends the power of Presence and Instant Messaging outside corporate Network Provided only to.
POPAnything A Universal POP3 and SMTP Service to retrieve any web bases into pop3 supporting client like outlook.
COMP2322 Lab 4 Socket Programming Toby Lam March 2, 2016.
INTERNET AND . WHAT IS INTERNET The Internet can be defined as the wired or wireless mode of communication through which one can receive, transmit.
Simple Web Services. Internet Basics The Internet is based on a communication protocol named TCP (Transmission Control Protocol) TCP allows programs running.
How to configure webmail with gmail- Step by Step guide provided by web hosting company in India Call us
How to make an Interactive Voice Response (IVR) using an OzML script This slideshow is intended to be a great explanation on how to develop an Interactive.
Network Programming. These days almost all devices.
How to develop a VoIP softphone in C# that enables SIP Instant Messaging (IM) This presentation describes how to create a softphone in C# that allows you.
March 16, 2009 Jabber IM Client. March 16, 2009 What is Jabber? An open instant message protocol Defines client/server communication Uses XMPP –XML-Based.
How to develop a VoIP softphone in C# by using OZEKI VoIP SIP SDK This presentation demonstrates the first steps concerning to how to develop a fully-functional.
APACHE Apache is generally recognized as the world's most popular Web server (HTTP server). Originally designed for Unix servers, the Apache Web server.
COMP2322 Lab 4 Socket Programming
Instructor Materials Chapter 5 Providing Network Services
Some bits on how it works
Department of Computer Science University of Calgary
File Transfer Protocol
Part 2 Setting up a web server the easy way
Chapter 8: Monitoring the Network
Part 2 Setting up a web server the easy way
NETWORK SECURITY LAB Lab 8. Firewall and VPN.
Access eJournals Form Your Home
Presentation transcript:

CEO, Tech IT Easy Lab of Pervasive VM Computing A Beginner’s Guide to XMPP

XMPP : what and why?  Existing Web Technologies have 2 broad categories  Pull (Example HTTP where connection is initiated by Client and initial communication is unidirectional (HTTP Request)  Push (Where communication is initiated by clients but connection is bi-directional, and keeps alive till disconnection or log-out )  Need and utility of (Server) Push: Real time Messaging (IM) like Google Talk, Facebook chat etc Delicate and urgent information like Stocks quotes that need be initiated to clients Real time Location tracking News feeds Cricket scores

XMPP a Push Protocol Extensible Messaging and Presence Protocol In G-talk you find if the other end is typing, entered message or her status like busy, idle, away etc

Jabber Jabber may refer to: The original name of the Extensible Messaging and Presence Protocol (XMPP), the open technology for instant messaging and presence.Extensible Messaging and Presence Protocol Jabber.org, the public, free instant messaging and presence service based on the XMPP protocol. Jabber.org Jabber XCP, a commercial product which is an implementation of the XMPP protocol. Acquired by Cisco Systems in 2008.Cisco Systems

Smack 1. Smack is an Open Source XMPP (Jabber) client library for instant messaging and presence. 2. A pure Java library 3. It can be embedded into your applications to create anything from a full XMPP client to simple XMPP integrations such as sending notification messages and presence-enabling devices. 4. We learn in next slides how to use Smack and make a simple Java application client for XMPP

Smack: Getting started 1. Pre-requites: a) Java SE 1.4 or above, SDK, language basics and concept b) An active Internet connection c) At least two Google accounts d) The Jabber Smack API Download SiteDownload Site 2. Step-1 a) Have the 2 jar files, i.Samck.jar ii.Smackx.jar that come with the API in your build path (CLASSPATH) a) We make sure that the two Google id can chat with each other, i.e. they are friend to each other b) We make sure we are connected to Internet

Smack Tutorials Some useful terms:  Roster  A list, especially of names : Dictionary meaning  While we chat we refer to our Friends in chat list as Roster Connect to an XMPP Server : default Port for XMPP (used by most of the providers) 2. We connect to talk.google.com with our google (gmail) id and password

Code Snippets to Connect XMPPConnection  The Java type that represents an XMPP connection It needs a ConnectionConfiguration object to set up The configuration object needs host, port and service name connection.connect() connects to the server & no authentication (login) done connection.login(user,password) succeeds on an Active Network if user and pasword are valid, else fails XMPPConnection  The Java type that represents an XMPP connection It needs a ConnectionConfiguration object to set up The configuration object needs host, port and service name connection.connect() connects to the server & no authentication (login) done connection.login(user,password) succeeds on an Active Network if user and pasword are valid, else fails

Connection set up continued… XMPP Server Port Number User IDPassword My password not shown here

Send a Text Message XMPPConnection Text Message Recipient ID Chat type message Add text Output console and browser notification

Listen For An Incoming Message Output

References You can study   