http://www-900.ibm.com/developerworks/cn/xml/x-jabberbk/index.shtml to three books related to this protocol book
John Zukowski (Jaz@zukowski.net) President, JZ Ventures, Inc. 2002 June
Jabber is an open, XML-based protocol that can be used to add instant messaging to the application. If you are interested in learning Jabber, but it is not very confident that you will start, then this article is to help you start from the right place.
For example, AOL Instant Messenger (AIM), ICQ, MSN Messenger, or Yahoo! Messenger, etc., which requires access to vendor-specific servers to facilitate communication between multiple users. Although some vendors allow you to add instant messaging capabilities to your application, you still have to use their server and access control. If you want to transfer instant messaging to your own app, but keep control on it -, for example, in an enterprise network or even in the Internet - Jabber may be very suitable for you.
Jabber is an open, XML-based instant messaging and existing protocol. In this article, I will explore three books available in May 2002, which will help you understand what Jabber and how to develop applications using Jabber protocols. In order to let alpha, the books are:
Instant Messaging in Java, IAIN SHIGEOKA (Manning, 2002) Jabber Programming, Stephen Lee and Terence Smelser (M & T Books, 2002) Programming Jabber, D.j. Adams (O'Reilly, 2002)
The winner is ... in this section, I will review each book in detail. However, if you prefer to understand the rapid and brief comparisons of these books, please refer to the quick comparative guide ended in this article.
Comment is measured with a star to five stars. A star said that the evaluation is quite worse, and the five-star expressing the article is well received.
Instant Messaging in Java Iain Shigeoka, Manning, 2002,39.95 US dollars, 380 pages, ISBN 1-9301-1046-4. Suitable for those who are interested in creating their own Java-based Jabber servers.
Instant Messaging in Java describes a method of learning Jabber-centric Java. The book is divided into two parts: the first part introduces instant messaging and jabber, and the second part analyzes various Jabber protocols. In essence, the second part constructs a Jabber server, and continues to add some new features, eventually providing a perfect Jabber system with user account and message delivery. The end of the book discusses enabling enterprise messaging capabilities (such as using SSL extended security) and creates a (JMS) server that conforms to Java messaging services. (The keyword here is discussion; this chapter has not introduced any code at all.)
When you read instant message in java, you will have several questions, such as how much Java knowledge needs to be learned. And considering Jabber is a client-server protocol, then readers must be good at creating multithreaded client-server applications? From the literal judgment - after reading the introduction - I think the reader should at least be an intermediate Java programmer. When exploring some topics, IAIN SHIGEOKA will not guide you in hand, but you will learn different aspects of Jabber-specific encoding. The reader should also be familiar with unified model language (UML)) and design mode; because there are some charts that run through, some of the modes mentioned in the same manner have little explanation. Do not have a pattern knowledge, you can barely read the article, but this will make learning more complicated because some explanations are short and readers have knowledge such as Command Pattern or Models - View-Controller (MVC).
The book's focus is to understand Jabber and its various protocols to use them when creating a Jabber server in (Java). If this is what you seek, then the book will give you a lot of help. Some topics (such as message protocols and client authentication) covered in the book provide the required details for the creation server. You will then need to integrate the Jabber client into your own application, or use an open source or business client to talk to the server. A client has developed a client, but it means that it is used for server testing, not true as an instant messaging client for functionality.
Advantages: It is good to cover the underlying protocol and architecture.
Disadvantages: The current server is free. Why do you have to create a new one?
Jabber Programming Stephen Lee and Terence Smelser, M & T Books, 2002,399, 350, ISBN 0-7645-4934-0. Usually suitable for any interest in creating a Visual Basic-based Jabber client.
Jabber Programming uses the Visual Basic method to explore the Jabber. The book is divided into three parts, providing an overview of Jabber and available clients, and the installation instructions for the Linux machine on the Linux machine and how to create your own Jabber instant messaging client. Different from Instant Messaging in Java, Jabber Programming clearly focused on creating a Jabber client relative to your own server. Because the author Stephen Lee and Terence Smelser have written an existing client, the focus of the book is not surprising.
Jabber Programming begins with the discussion of the client and settings the server. Client information is related to Myjabber, Rival Messenger, WinJAB, and Jabber Instant Messenger clients. In fact, Myjabber information is more than three outlines, about 40 pages about communication with this tool. Since there is no local server, it is connected to a public server. Then construct and configure the local server for testing - mainly testing the contents of your development, not for testing Myjabber.
Sketch, the second half of the book discusses how to create its own Jabber client. After introducing a small amount of available Jabber COM libraries to handle communication, the book leads you to create a Visual Basic form interface in Visual Studio and connect the necessary source code to each part. Although the book can help you build a good job-operated Jabber client, you will not really understand the nature of the underlying protocol. All things are hidden in the Jabber COM library used, which is described in the appendix. The "Cannounced Source Codes" in the Quick Compare Guide *: Although the source code of this book CD is divided by chapter, it cannot be found online on the author or publisher's website. This information is illustrated. You can get Jabber client software, not only the chapter segment of the source code. In addition, since I didn't use the Linux system, there was no definition installation described in the test book.
Advantages: Key points to create a client instead of a server.
Disadvantages: Jabber itself explains less.
Programming Jabber D.j. Adams, O'Reilly, 2002,39.95 US dollars, 460 pages, ISBN 0-596-00202-5 Senior. The architecture and markers were studied in depth. Indicates that Jabber is not only an IM protocol.
Programming Jabber has taken a more language-independent approach to explore the Jabber. The book is divided into two parts, and Part 1 explores the architecture and system configuration, and Part 2 in-depth studies use all kinds of messages used in Jabber protocols. Although the author D.j. Adams preferred Perl (considering that the author of the Jabber :: Connection library is not surprising), the examples included in the book also use Python and Java. But a pity, each example is not expressed in all three languages.
The beginning of Chapter 1 will display a fictional Jabber IM session as a series of XML messages. This provides an appropriate desired setting for most of the chapters behind. Due to the detailed description of the Jabber architecture and to you demonstrate how to install and configure a Jabber server, it is largely said that Programming Jabber is actually a reference guide for markers, properties, and namespaces of Jabber messages. .
Another point of the book is that Jabber is not only an instance of instant delivery messages, but also any event-driven notification scheme can send messages to a waiting subscriber.
The last chapter explores how to use Jabber messages to maintain your address book, perform XML-RPC calls and connect to SAP R / 3 systems.
Advantages: Descriptions with languages.
Disadvantages: Lack of complete code examples.
Quick Compare Guide The following table provides a quick reference overview of the features of the books commented on:
Jabber Book Overview Instant Messaging in Java Jabber Program Programming Jabber Price $ 39.95 US $ 39.99 $ 39.95 Page Number 380 350 460 CD-ROM / You can get source code from Web / * No * None / Author 1 2 1 architecture Good differences in good faults, good configuration, good configuration, good language / platform Java Visual Basic, Linux Perl, Python and Java, Linux level, high-grade medium and low-level high-grade evaluation criteria: unspeak, poor, medium, good, star in the star No. (*) means providing more details on this topic in in-depth reviews.
Note in some items:
The architecture range indicates the overall JABBER system architecture. The protocol scope suggests that the ingestion of the underlying protocol is explored. The configuration range indicates how much knowledge about configuring the operational environment. Language / Platform Indicates what programming language is used in the examples, and how the platform is provided to run an example. The platform is displayed only when needed. Level indicates the reader level of the book. Conclusion Because these books have only a difference in 4 cents, certainly cannot agree or oppose a book based on prices. Which book chooses to actually depends on where you want to use Jabber, and what you want to use it in the programming language.
In my opinion, I prefer to see three books into a book, where the author explains the architecture, demonstrates how to set up Java-based test servers (not in Linux machines), and then explore each The Jabber protocol will guide me to create a graphical client. However, there is no completely do this in these books. Programming Jabber may be close closer, but if you want to create a Java server for Jabber, Instant Messaging in Java may be a better choice; at least, it focuses on more knowledge about this topic. If you want to create a Visual Basic client, Jabber Programming is more suitable for you.
Reference
Learn more about Jabber's knowledge in Jabber Software Foundation. Please visit the home page of Instant Messaging In Java (including source code and chapter sample). Please visit the home page of Programming Jabber (including source code and chapter sample). Please visit the Jabber Programming home page (including chapter sample). Get the source code of the OpenIM client (M & T Bibliography). Find AOL Instant Messenger (AIM). Learn about MSN Messenger. Get information about Yahoo! Messenger. Find more knowledge about Jabber on the gerhard poul article on developerWorks. (DeveloperWorks, May 2002) Get the IBM WebSphere Studio Site Developer, which is a built-in, test, and deploy Java Server Pages, servlets, and an easy-to-use development environment related to XML-related applications and websites. See how to become an IBM certification developer of XML and related technology. Find more XML resources on the developerWorks XML technology area.
About the author John Zukowski is a strategic Java consultant for JZ Ventures, Inc., and is a permanent guidance of Java FAQ maintained by many JGuru communities. His nearest works include Mastering Java 2, J2se 1.4 and Learn Java with JBuilder 6. You can contact him through jaz@zukowski.net.