Summary

In this chapter, we provided the skeleton of a basic JXTA application. This application shows us how to initialize the JXTA platform and perform basic operations with JXTA advertisements and peergroups.

While the HelloWorld class is a complete JXTA application and has allowed us to understand the basic structure of programming in JXTA, it doesn’t actually do anything except print out a lot of interesting information. In the next few chapters, we’ll develop a more complete example, one that leverages the features of the JXTA platform to create a community of cooperating peers.

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.