New to Java? We'll help you get started with our revised beginner's tutorial, or our free online textbook.


Get the latest Java books
h t t p : / /w w w . j a v a c o f f e e b r e a k . c o m /

Java Coffee Break

JavaSpaces Principles, Patterns and Practice,
by Freeman, Hupfer, Arnold

Review Courtesy of Amazon.com

JavaSpaces Principles, Patterns, and Practice delivers an exciting introduction to the world of distributed, high-performance computing on Java's Jini platform using the new JavaSpaces API. Written for academic and business developers, this guide will help you begin using the Jini platform by outlining its powerful, elegant solutions for distributed computing.

After a foreword by distributed computing pioneer David Gelernter, the book provides a short technology overview describing the makeup of JavaSpaces. The authors atomize their description of JavaSpaces as an overseer application that lets programs running on separate computers store and share persistent data. While the JavaSpaces API is by itself remarkably simple, this book demonstrates with deliberate fanfare the resolution of common distributed computing problems using complex design patterns.

Early sections look at the basics of reading, writing, and searching for data stored in JavaSpaces as well as presenting task and result bags as solutions to managing work done in parallel. The book also elaborates on the readers/writers problem, well-known within the field of computer science, and even offers a means of addressing it. The authors use code samples from a chat message server and a model of a paging system using message channels during their discussion of message passing and communication with JavaSpaces.

One section on distributed patterns presents some common solutions to doing work in parallel, including the Marketplace pattern, illustrated with an e-commerce bidding application. Further sections cover distributed events and transactions as they apply to JavaSpaces. The book closes with two excellent examples, one for a distributed messaging service and another for a brute force attack on encrypted passwords.

With the debut of JavaSpaces, business developers gain access to distributed processing previously available only to academic researchers. The JavaSpaces solution, along with JavaSpaces Principles, Patterns, and Practice, will let any Java developer audition distributed computing for the first time. --Richard Dragan

 

 

JavaSpaces Principles, Patterns and Practice
ISBN : 0201309556

 

 

Experience level :
Intermediate-Expert

TriggerGETitat87x32.gif (1131 bytes)