Organization of This Book

This book is divided into two sections. Part I (Chapters 1-7) is a JXTA tutorial and is designed to teach you how to write JXTA programs from scratch.

Chapter 1

This chapter introduces the basic concepts of JXTA.

Chapter 2

This chapter discusses how to download JXTA, how to set up your environment to work with JXTA, and the major concepts of working with the JXTA framework. It uses a JXTA application — the JXTA Shell — to introduce these concepts.

Chapter 3

This chapter presents the basics of a JXTA application and shows how to initialize the JXTA platform and handle simple JXTA documents.

Chapter 4

This chapter shows how the basic application can be modified to discover and create other JXTA services, including other JXTA peers and peergroups. After reading this chapter, you’ll be able to write applications that can discover other peergroups, and create those peergroups if they do not already exist.

Chapter 5

This chapter shows how the basic application can be modified to use JXTA pipes for communication between two discovered peers. In this chapter, you’ll learn how to discover, create, and use such pipes.

Chapter 6

This chapter shows how we can take our basic JXTA application and turn it into a service. A JXTA service can be discovered by other peers and can even be instantiated, if necessary, by a peer that needs to use the service.

Chapter 7

This chapter discusses JXTA’s security features. These include standard cryptographic procedures, such as encrypting messages and peergroup authentication mechanisms.

Part II contains quick-reference material. It includes a quick-reference guide to the Java language bindings of the JXTA APIs, a quick reference to the JXTA Shell, and the JXTA protocol specifications.

Get JXTA in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.