Questions tagged [javaspaces]

Javaspaces provides a cooperative marketplace for posting and retrieving groups of related objects across a network

See this link for more info

29 questions
1
vote
3 answers

What are the advantages/disadvantages for distributing multi stage tasks via JMS or JavaSpaces?

When trying to distribute work that requires a multiple stage processing pipeline what are the communication, synchronization and throughput costs limitations in JMS vs JavaSpaces?
JavaUser
1
vote
0 answers

MS solution for distributed computing

I've recently moved to a MS Gold partner company after spending years in the land of community solutions and Java. I'm just starting on a project that requires distributed management of objects. In Java, javaspaces/jini would be ideal. I'm wondering…
user815809
  • 351
  • 5
  • 24
0
votes
2 answers

JavaSpaces tutorials

Where could I find JavaSpaces tutorials? Points of interests for me: What can I do with it? How do I use it? How does it work?
Alexis Dufrenoy
  • 11,784
  • 12
  • 82
  • 124
0
votes
3 answers

Jini/JavaSpaces discovery error

On this article: http://java.sun.com/developer/technicalArticles/tools/JavaSpaces/ is a tutorial how to run JavaSpaces client. I wrote these classes in Eclipse, started Launch-All script and Run example. It works. After that I exported these classes…
Иван Бишевац
  • 13,811
  • 21
  • 66
  • 93
0
votes
1 answer

Trying to convert a JLabel to JList using a setCellRenderer

I am trying to convert the data that I am storing in my Jlabel into a JList using the "topicPostArea.setCellRenderer" method within the code, reason being that I have some delete functionality that requires the data to be stored in a list before I…
Matthew
  • 23
  • 8
0
votes
1 answer

How to deploy JavaSpaces on two computers?

I successfully installed JavaSpace on Ubuntu, tried one example and it worked. Now I don't know how to deploy JavaSpace on other Ubuntu and use it like JavaSpace node. I installed JavaSpace on the second Ubuntu but now what? Two Ubuntu machines are…
Иван Бишевац
  • 13,811
  • 21
  • 66
  • 93
0
votes
0 answers

PrintWriter.println - works - but not print?

i have a really suspicious case here, envolving a simple method which is supposed to write into a .txt file. public void extractCoNLL(int n, String outputFile) throws IOException { String msg; PrintWriter pr = new PrintWriter(outputFile); …
user8220047
0
votes
1 answer

javaspace(Apache river) cannot initialize outrigger script

I need to use jini (Apache river) to set up JavaSpaces service. The problem is I cannot start the space service script while the net.jini.core.lookup.ServiceRegistrar works well. Here are the output I'm getting: Any help?
Lily Gong
  • 1
  • 1
0
votes
1 answer

Notifications of Lease expiration in Jini/Apache-River and JavaSpaces

I've been looking at the use of Lease and specifically their expiration. I am a little confused about how to reflect this expiration in a client side application. This is pretty trivial using some kind of polling mechanism - but after seeing the…
whitfin
  • 4,539
  • 6
  • 39
  • 67
0
votes
2 answers

Fast object sharing between java applications

I'm looking for a way to share large in-memory objects between java applications and have been looking at JMS (ActiveMQ) and JavaSpaces. Will any of theese allow me to reliably send/share objects between two or more java applications? Is ActiveMQ…
0
votes
1 answer

Simple Jlist Topic Board

So I am currently attempting to create a simple Javaspace Topic Board as a side project, to do this I have a basic intereface that allows for Topics and messages to be added from a text field into two seperate DefaultListModels, my questions is…
0
votes
1 answer

Reading multiple Entries template

I'm working with Apache River javaspaces project and I'm trying to figure out a way to write a template that reads multiple entries in the space and returns the ones I don't already have stored somewhere for example: User writes three Entries to the…
Mantas
  • 3,179
  • 4
  • 20
  • 32
0
votes
1 answer

Issue with java boolean

I'm attempting to create a chat client, I'm returning a message from the javaSpace, Then setting newMessage = true; So the client can see that there is a new message that needs to be read. public void notify(RemoteEvent ev) { try { …
user1725794
  • 247
  • 1
  • 5
  • 14
-1
votes
1 answer

JavaSpaces - how to purge all spaces

I am not familiar with JavaSpaces, but am working on an application that uses them. Question Does anyone know how to purge all spaces from the space? The application is reading existing spaces, which I need to remove. I am guessing they are stored…
Richard
  • 8,193
  • 28
  • 107
  • 228
1
2