What is the default space name used for a JavaSpace, and how do I change this default?

Tim Rohaly

Sun's implementation of JavaSpaces, called "Outrigger", uses the default space name "JavaSpace". This can be changed by setting the Sun-specific system property com.sun.jini.outrigger.spaceName to be equal to the desired name, before starting Outrigger.

Note that all the JavaSpaces examples that come with the Jini distribution, including the Jini Software Services Startup example (com.sun.jini.example.service.StartService), as well as all the examples in the book JavaSpaces Principles, Patterns, and Practice, override this default and substitute "JavaSpaces" (with an 's' at the end) as the space name.

0 Comments  (click to add your comment)
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

About | Sitemap | Contact