Read without ads and support Scribd by becoming a Scribd Premium Reader.
 
Practical JXTA II
Cracking the P2P puzzle
 
Practical JXTA II 
Copyright © 2010 by DawningStreams, Inc. The Netherlands
First edition: 
July, 2008.
Second edition: 
July, 2010.All right reserved. No part of this book may be reproduced or transmitted in any form or by anymeans, electronic or mechanical, including photocopying, recording, or by any information stor-age and retrieval system, without written permission from the publisher, except for the inclusionof brief quotations in a review.
International Standard Book Number:
978-1-4461-3956-1
Limit of Liability/Disclaimer of Warranty:
While the publisher and the author have used their best effort in preparing this book, they make no representation or warranties with respect to theaccuracy or completeness of the contents of this book.The software code examples, advice, strategies herein are provided “as is” and any expressed orimplied warranties, including, but not limited to, the implied warranties or merchantability andfitness for a particular purpose are disclaimed. No warranty may be created or extended by salesrepresentatives or written sales materials. In no event, shall DawningStreams, Inc. be liable forany direct, indirect, incidental, special, exemplary, or consequential damages (including, but notlimited to, procurement of substitute goods or services; loss of use, data, or profit; or business in-terruption) however caused and on any theory of liability, whether in contract, strict liability, ortort (including negligence or otherwise) arising in any way out of the use of the software code ex-amples, advice, strategies, even if advised of the possibility of such damages. You should consultwith a professional where appropriate.
Trademarks:
DawningStreams, Inc. is a registered trademarks of DawningStreams, Inc. in theUnited States and other countries and may not be be used without permission. All other trade-marks are the property of their respective owners. DawningStreams, Inc. is not associated withany products or vendors mentioned in this book.
Publisher:
Lulu Enterprises, Inc. (www.lulu.com)- 2
 
Table of Contents
Foreword11
Why This Book?.............................................................................................................................................................................12Why A Second Edition?................................................................................................................................................................13Who Should Read This Book?.....................................................................................................................................................14Prerequisites..................................................................................................................................................................................15
Introduction16
Peer to Peer....................................................................................................................................................................................16A Bad Reputation?.................................................................................................................................................................16A Quick Historical Review....................................................................................................................................................18Architectures & Design Principles..............................................................................................................................................20Client/Server..........................................................................................................................................................................20Three-tier & Multi-tier ..........................................................................................................................................................21Clustering & Load Balancing ...............................................................................................................................................21Service Oriented Architecture & Middleware....................................................................................................................22Grid Computing.....................................................................................................................................................................23Cloud Computing..................................................................................................................................................................23About Needs That Have Shaped IT Solutions....................................................................................................................23What is P2P?..................................................................................................................................................................................24ICQ...........................................................................................................................................................................................24Napster....................................................................................................................................................................................25Gnutella...................................................................................................................................................................................26Kazaa.......................................................................................................................................................................................27BitTorrent................................................................................................................................................................................28Freenet.....................................................................................................................................................................................28Pure P2P..................................................................................................................................................................................28Initial Objectives and Evolution...........................................................................................................................................29Benefits....................................................................................................................................................................................30Drawbacks..............................................................................................................................................................................30So, What Is The Use of P2P?..................................................................................................................................................32Towards Universality ...........................................................................................................................................................32 JXTA...............................................................................................................................................................................................34Introduction............................................................................................................................................................................34The Three Layer Cake............................................................................................................................................................35The JXTA Project....................................................................................................................................................................36 JXSE Community....................................................................................................................................................................36C/C++..............................................................................................................................................................................37 JXME.................................................................................................................................................................................37Documentation, Forum & FAQ............................................................................................................................................37
Understanding JXTA39
Introduction...................................................................................................................................................................................39A Tribes-In-Islands Metaphor...............................................................................................................................................39The Concepts.................................................................................................................................................................................40Overview.................................................................................................................................................................................40Peer..........................................................................................................................................................................................41Peer Group..............................................................................................................................................................................43Service......................................................................................................................................................................................44Resources.................................................................................................................................................................................47Advertisement........................................................................................................................................................................47Peer Advertisement.........................................................................................................................................................48Peer Group Advertisement............................................................................................................................................48Publication.......................................................................................................................................................................48ID..............................................................................................................................................................................................49
- 3
Search History:
Searching...
Result 00 of 00
00 results for result for
  • p.
  • Notes
    Load more