JavaSpaces™ Principles, Patterns, and Practice

JavaSpaces™ Principles, Patterns, and Practice

          
5
4
3
2
1

Out of Stock


Premium quality
Premium quality
Bookswagon upholds the quality by delivering untarnished books. Quality, services and satisfaction are everything for us!
Easy Return
Easy return
Not satisfied with this product! Keep it in original condition and packaging to avail easy return policy.
Certified product
Certified product
First impression is the last impression! Address the book’s certification page, ISBN, publisher’s name, copyright page and print quality.
Secure Checkout
Secure checkout
Security at its finest! Login, browse, purchase and pay, every step is safe and secured.
Money back guarantee
Money-back guarantee:
It’s all about customers! For any kind of bad experience with the product, get your actual amount back after returning the product.
On time delivery
On-time delivery
At your doorstep on time! Get this book delivered without any delay.
Notify me when this book is in stock
Add to Wishlist

About the Book

"Ever since I first saw David Gelernter's Linda programming language almost twenty years ago, I felt that the basic ideas of Linda could be used to make an important advance in the ease of distributed and parallel programming. As part of the fruits of Sun's Jini project, we now have the JavaSpaces technology, a wonderfully simple platform for developing distributed applications that takes advantage of the power of the Java programming language. This important book and its many examples will help you learn about distributed and parallel programming. I highly recommend it to students, programmers, and the technically curious." Bill Joy, Chief Scientist and co-founder, Sun Microsystems, Inc. JavaSpaces technology, a powerful Jini service from Sun Microsystems, facilitates building distributed applications for the Internet and Intranets. The JavaSpaces model involves persistent object exchange "areas" in which remote processes can coordinate their actions and exchange data. It provides a necessary ubiquitous, cross-platform framework for distributed computing, emerging as a key technology in this expanding field. This book introduces the JavaSpaces architecture, provides a definitive and comprehensive description of the model, and demonstrates how to use it to develop distributed computing applications. The book presents an overview of the JavaSpaces design and walks you through the basics, demonstrating key features through examples. Every aspect of JavaSpaces programming is examined in depth: entries, distributed data structures, synchronization, communication, application patterns, leases, distributed events, and transactions. You will find information on such vital topics as: *Distributed data structures *Synchronization techniques *Loosely coupled communication *Message passing *Channel data structures for communication *Application patterns such as replicated worker, command pattern, and marketplace *Leases and automated lease renewal *Using distributed events with spaces *Handling partial failure with distributed transactions *The official JavaSpaces specification from Sun Microsystems JavaSpaces Principles, Patterns, and Practice also includes two full-scale applications--one collaborative and the other parallel--that demonstrate how to put the JavaSpaces model to work. 0201309556B04062001

Table of Contents:
(Most chapters conclude with a Summary and Exercises.) 1. Introduction. Benefits of Distributed Computing. Challenges of Distributed Computing. What Is JavaSpaces Technology? Key Features. JavaSpaces Technology in Context. JavaSpaces Technology Overview. Entries and Operations. Going Further. Putting It All Together. Advantages of JavaSpaces Technologies. Chapter Preview. 2. JavaSpaces Application Basics. Entries. The Entry Interface. Instantiating an Entry. Adding Fields and Methods. Building an Application. The SpaceAccessor. Writing Entries into a Space. A Closer Look at write. Reading and Taking Entries. Associative Lookup. The Basics of read and take. The Rules of Matching. Dealing with null-valued Fields in Entries. Primitive Fields. A Closer Look at read and take. Going Further with the Example. Subclassing an Entry. Adding a Few More Methods. Trying the Game. Post-Game Analysis. Serialization and Its Effects. Entry Serialization. Matching and Equality. The No-arg Constructor. The Entry Interface Revisited. Improving Entry Serialization Using snapshot. 3. Building Blocks. Introduction to Distributed Data Structures. Building Distributed Data Structures with Entries. Shared Variables. Atomic Modification. Additional Operations. Creating a Web Counter. Stepping Back. Unordered Structures. Bags. Task Bags and Result Bags. Ordered Structures. Distributed Arrays Revisited. 4. Synchronization. Semaphores. Implementing a Semaphore. Implementing a License Manager. The License Manager Installer. The License Manager Client Library. Using Multiple Semaphores. The Dining Philosophers. Fairly Sharing a Resource. Using a Queue to Take Turns. Round-Robin Synchronization. Barrier Synchronization. Advanced Synchronization: The Readers/Writers Problem. Implementing a Readers/Writers Solution. Implementing a Counter. Implementing a Space-based Readers/Writers Application. 5. Communication. Basic Message Passing. Playing Ping-Pong. Characteristics of Space-based Communication. Tightly Coupled Communication. Loosely Coupled Communication. Benefits of Loose Coupling. Beyond Message Passing. A Basic Channel. The Channel Message. The Channel Tail. Creating a Channel. Appending a Message to a Channel. Implementing a Channel Writer. Implementing a Channel Reader. Demonstrating the Channel Writer and Reader. Building a Chat Application with Channels. The Graphical User Interface. Combining Channel Writing and Reading. A Consumer Channel. Implementing a Pager Service. The Pager Message Entry. Tracking the Start and End of a Channel. The Index Entry. Creating a Consumer Channel. Sending Messages to the Channel. Reading and Removing Messages from the Channel. Demonstrating the Pager. Bounded Channels. The Status Entry. Channel Creation Revisited. Writing to a Bounded Channel. Taking from a Bounded Channel. Demonstrating the Bounded Channel. 6. Application Patterns. The Replicated-Worker Pattern. Computing the Mandelbrot Set. Task and Result Entries. The Master. The Worker. The Command Pattern. Implementing a Compute Server. The Generic Worker. The Generic Master. Creating Specialized Tasks and Results. Creating a Specialized Master. Running the Compute Server. The Marketplace Pattern. An Automobile Marketplace. Interaction in the Marketplace. The Bid Entry. The Application Framework. The Buyer. The Seller. Running the Marketplace. Other Patterns. Specialist Patterns. Collaborative Patterns. 7. Leases. Leases on Entries. The Lease Object. Lease Expiration. Renewing a Lease. Cancelling a Lease. Lease Maps. Creating a Lease Map. Adding and Removing Leases. Renewing Leases. Cancelling Leases. Automated Lease Renewal. The LeaseManager Interface. Implementing the Constructors. Adding Leases. Cancelling a Lease. Renewing Leases. Checking Leases. Processing Renewal Failures. Putting It All Together. 8. Distributed Events. Events in the Distributed Environment. Hello World Using notify. The Notification API. The JavaSpace notify Method. The EventRegistration Class. The RemoteEventListener Interface. The RemoteEvent Object. Putting the Pieces Together. The Channel Relay Application. The Channel Reader Thread. The Relayer Listener. The Notify Handler Thread. 9. Transactions. The Distributed Transaction Model. Creating a Transaction. Web Counter Revisited. The Spaceis Transactional Properties. Operational Semantics Under Transactions. Writing Entries Under a Transaction. Reading Entries Under a Transaction. read versus readIfExists. Taking Entries Under a Transaction. Notifications Under Transactions. 10. A Collaborative Application. The Messenger. Implementing a Messenger User. The Account. The Account Object. User Sessions. The Session Object. Friends List. The FriendsList Object. The FriendsListMonitor Object. Communication Channel. Message Entries and Indices. The Channel Object. Retrieving Messages from the Channel. The Messenger Applet. Logging in via the Login Object. The loginCallback Method. Adding to the Friends List. Chatting with Friends. Sending Messages. Listening for Messages. 11. A Parallel Application. The Compute Server. The Command Interface Revisited. The Task Entry. The Generic Worker. A Generic Master. The Crypt Application. Background. The Generic Worker and Crypt Task. The Crypt Master. Generating Tasks. Improving Space Usage with Watermarking. Collecting Results. A Little Poison. Exploring Crypt. 12. Further Exploration. Online Resources. Related Java and Jini Technologies. Background Reading. Distributed Systems. Transactions. Historical Resources. Appendix A: The Jini(TM) Entry Specification. Entries and Templates. Operations. Entry. Serializing Entry Objects. Unusable Entry Exception. Templates and Matching. Serialized Form. Comments. Appendix B: The Jini(TM) Entry Utilities Specification. Entry Utilities. Abstract Entry. Serialized Form. Comments. Appendix C: The JavaSpaces(TM) Specification. Introduction. The JavaSpaces Application Model and Terms. Benefits. JavaSpaces Technology and Databases. JavaSpaces System Design and Linda Systems. Goals and Requirements. Dependencies. Comments. Operations. Entries. net.jini.space.JavaSpace. write. readIfExists and read. takeIfExists and take. snapshot. notify. Operation Ordering. Serialized Form. Transactions. Operations Under Transactions. Transactions and ACID Properties. Further Reading. Linda Systems. The Java Platform. Distributed Computing. Index. 0201309556T04062001


Best Sellers


Product Details
  • ISBN-13: 9780201309553
  • Publisher: Pearson Education (US)
  • Publisher Imprint: Addison-Wesley Educational Publishers Inc
  • Edition: 1
  • Language: English
  • Returnable: Y
  • Spine Width: 16 mm
  • Width: 233 mm
  • ISBN-10: 0201309556
  • Publisher Date: 19 Jun 2002
  • Binding: Paperback
  • Height: 187 mm
  • No of Pages: 368
  • Series Title: Jini Technology
  • Weight: 635 gr


Similar Products

How would you rate your experience shopping for books on Bookswagon?

Add Photo
Add Photo

Customer Reviews

REVIEWS           
Click Here To Be The First to Review this Product
JavaSpaces™ Principles, Patterns, and Practice
Pearson Education (US) -
JavaSpaces™ Principles, Patterns, and Practice
Writing guidlines
We want to publish your review, so please:
  • keep your review on the product. Review's that defame author's character will be rejected.
  • Keep your review focused on the product.
  • Avoid writing about customer service. contact us instead if you have issue requiring immediate attention.
  • Refrain from mentioning competitors or the specific price you paid for the product.
  • Do not include any personally identifiable information, such as full names.

JavaSpaces™ Principles, Patterns, and Practice

Required fields are marked with *

Review Title*
Review
    Add Photo Add up to 6 photos
    Would you recommend this product to a friend?
    Tag this Book
    Read more
    Does your review contain spoilers?
    What type of reader best describes you?
    I agree to the terms & conditions
    You may receive emails regarding this submission. Any emails will include the ability to opt-out of future communications.

    CUSTOMER RATINGS AND REVIEWS AND QUESTIONS AND ANSWERS TERMS OF USE

    These Terms of Use govern your conduct associated with the Customer Ratings and Reviews and/or Questions and Answers service offered by Bookswagon (the "CRR Service").


    By submitting any content to Bookswagon, you guarantee that:
    • You are the sole author and owner of the intellectual property rights in the content;
    • All "moral rights" that you may have in such content have been voluntarily waived by you;
    • All content that you post is accurate;
    • You are at least 13 years old;
    • Use of the content you supply does not violate these Terms of Use and will not cause injury to any person or entity.
    You further agree that you may not submit any content:
    • That is known by you to be false, inaccurate or misleading;
    • That infringes any third party's copyright, patent, trademark, trade secret or other proprietary rights or rights of publicity or privacy;
    • That violates any law, statute, ordinance or regulation (including, but not limited to, those governing, consumer protection, unfair competition, anti-discrimination or false advertising);
    • That is, or may reasonably be considered to be, defamatory, libelous, hateful, racially or religiously biased or offensive, unlawfully threatening or unlawfully harassing to any individual, partnership or corporation;
    • For which you were compensated or granted any consideration by any unapproved third party;
    • That includes any information that references other websites, addresses, email addresses, contact information or phone numbers;
    • That contains any computer viruses, worms or other potentially damaging computer programs or files.
    You agree to indemnify and hold Bookswagon (and its officers, directors, agents, subsidiaries, joint ventures, employees and third-party service providers, including but not limited to Bazaarvoice, Inc.), harmless from all claims, demands, and damages (actual and consequential) of every kind and nature, known and unknown including reasonable attorneys' fees, arising out of a breach of your representations and warranties set forth above, or your violation of any law or the rights of a third party.


    For any content that you submit, you grant Bookswagon a perpetual, irrevocable, royalty-free, transferable right and license to use, copy, modify, delete in its entirety, adapt, publish, translate, create derivative works from and/or sell, transfer, and/or distribute such content and/or incorporate such content into any form, medium or technology throughout the world without compensation to you. Additionally,  Bookswagon may transfer or share any personal information that you submit with its third-party service providers, including but not limited to Bazaarvoice, Inc. in accordance with  Privacy Policy


    All content that you submit may be used at Bookswagon's sole discretion. Bookswagon reserves the right to change, condense, withhold publication, remove or delete any content on Bookswagon's website that Bookswagon deems, in its sole discretion, to violate the content guidelines or any other provision of these Terms of Use.  Bookswagon does not guarantee that you will have any recourse through Bookswagon to edit or delete any content you have submitted. Ratings and written comments are generally posted within two to four business days. However, Bookswagon reserves the right to remove or to refuse to post any submission to the extent authorized by law. You acknowledge that you, not Bookswagon, are responsible for the contents of your submission. None of the content that you submit shall be subject to any obligation of confidence on the part of Bookswagon, its agents, subsidiaries, affiliates, partners or third party service providers (including but not limited to Bazaarvoice, Inc.)and their respective directors, officers and employees.

    Accept

    New Arrivals


    Inspired by your browsing history


    Your review has been submitted!

    You've already reviewed this product!
    ASK VIDYA