JavaSpaces Example by Example

JavaSpaces Example by Example

By (author) 

List price: US$39.99

Currently unavailable

Add to wishlist

AbeBooks may have this title (opens in new window).

Try AbeBooks

Description

Writing distributed programs is hard. JavaSpaces technology simplifies the distributed computing environment in many ways. JavaSpaces is a Jini technology service. This book, for developers and programmers, will show the reader how to make the most effective use of JavaSpaces by providing a solid base of coherent examples. The author, Steven Halter, is the co-author of the highly successful ENTERPRISE JAVA PERFORMANCE (PH PTR, 2000).
show more

Product details

  • Paperback | 288 pages
  • 178.3 x 233.4 x 20.3mm | 548.86g
  • Prentice Hall
  • Upper Saddle River, United States
  • English
  • w. figs.
  • 0130619167
  • 9780130619167

Table of contents

Preface. I. GETTING TO KNOW JAVASPACES. 1. About JavaSpaces. What Is a JavaSpace? JavaSpace Interface. Jini and JavaSpaces. Shared Distributed Computing. Persistent Object Repository. Uses of JavaSpaces. Information Sharing. Compute Serving. Work Flow. What's Next.2. Obtaining and Installing JavaSpaces. Getting Java Installed. Getting and Installing Jini. Sun Community Source License (SCSL). Getting Jini. Installing Jini. Getting a JavaSpace Running. Starting the Supporting Services. Starting with the GUI. Starting from the Command Line. Running the Ray-Tracing Example. What's Next.3. JavaSpaces Basics. Coding Conventions. Finding a JavaSpace. Compiling. Running the Services. Running the Example. Entries. Writing an Entry. Compiling. Running the Example. Reading an Entry. Entry Templates. Compiling. Running the Example. Taking an Entry. Compiling. Running the Example. The Snapshot Method. What's Next.4. More JavaSpaces. Leasing. Using Leases with JavaSpaces. Compiling. Running the Example. Using Transactions with JavaSpaces. Creating a Transaction. Transactions and JavaSpace Methods. Using Transactions with JavaSpaces. Distributed Events. Distributed Events and JavaSpaces. Event Example. Persistence. What's Next.II. DISTRIBUTED PROGRAMMING. 5. Encouraging Distribution. Distributed Concepts. Parallelism. Partial Failure. Communication/Synchronization. Distributed Structures. Arrays. Compiling. Running the Example. Queues. Unordered Structures. What's Next.6. Synchronization Issues. Types of Synchronization Problems. Data Corruption. Deadlock Problems. Starvation Problems7. Synchronization Methodologies. Basic JavaSpace Mechanisms. Space Initialization. Semaphores. The Music Store Example. Compiling. To compile the classes for the synchronization example in Windows, use the following. What's Next.7. Fairly Sharing Resources. Sharing Fairly. Order-Processing Example. Item Viewer. Compiling. Running the Example. What's Next.III. GOING TO THE NEXT LEVEL. 8. Parallel Computing. Parallel Computing in General. Splitting Tasks up. Piecing Together the Results. A Parallel Computing Framework. A Prime Number Counter Application. Compiling. Running the Example. Scaling Further. Scaling Further Still. What's Next.9. Security Issues. Security in General. Security Model. RMID Security. Policy Files. Service Policies. Client Policy Files. Signing Files. JavaSpaces Security.10. Wrapping It up. Useful Places for Information. Web Sites. Mailing Lists. Other Technologies of Interest.Conclusion. Index.
show more

About Steven L. Halter

STEVEN L. HALTER is a Software Engineer at Retek in Rochester, Minnesota. He is the co-author of Enterprise Java Performance (Prentice Hall PTR). He formerly served as a Senior Staff Software Engineer at Imation's Software Research and Development Rochester Laboratory, where he worked extensively with Jini, and as a Staff Software Engineer for the IBM Software Systems Division, where he was a member of the San Francisco performance team. He holds twelve issued U.S. patents.Technical EditorsJohn McClain and Pascal Ledru, Sun Microsystems, Inc.
show more