Questions tagged [jini]

jini (aka Apache River) is a SOA programming model that extends Java to create secure distributed systems consisting of clients and services. It allows for advanced distributed operations such as dynamic discovery, mobile code, and service groups (called federations).

Java Jini is no longer active under Sun, and has since become Apache River (http://river.apache.org/). For deeper information into jini (aka River), see the Apache River project page.

Jini accomplishes some of the issues behind doing distributed systems by employing a few essential elements. Codebases are used for mobile code via Java RMI, a Lookup Service (called "reggie") is used by client code to find Jini services, and Jini executes distributed transactions via a Transaction Service (called "mahalo"). For the basic services and how they inter-operate, see the Getting Started guide here: http://river.apache.org/user-guide-basic-river-services.html

25 questions
0
votes
1 answer

jini service discovery

In Jini service discovery, you can search for all types of services by providing null for the class[] of service types to discover. My question is what happens if you don't have in your classpath the discovered service interface. For example, in the…
quicky
  • 1
  • 1
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

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

Getting error while creating object space using JavaSpace?

I am using example from this wikipedia Article http://en.wikipedia.org/wiki/Tuple_space#JavaSpaces import java.lang.*; import java.rmi.RMISecurityManager; import net.jini.core.discovery.LookupLocator; import net.jini.core.entry.Entry; import…
user3578992
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
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

Android AudioRecord MP3 encoding AudioFormat.CHANNEL_IN_STEREO

I seem to be stuck with this problem, I am trying to get https://github.com/yhirano/SimpleLameLibForAndroid to work on channelConfig AudioFormat.CHANNEL_IN_STEREO mode. Below code works perfectly if i call it with channelConfig =…
nLL
  • 5,662
  • 11
  • 52
  • 87
0
votes
0 answers

Discovery System for android and desktop machines

I have a distributed system that consists of androids and desktop machines and they need to pass data (a simple serialized object) among themselves. I am interested in a jini-like discovery system for android using which androids/desktop machines…
aboli81
  • 3
  • 3
0
votes
1 answer

Implementing TransactionManager in JINI

I'm implementing Two-Phase Lock using JINI. I've done it by following algorithm definition. And in my implementation I have a few ArrayLists and HashMap to track which participants has committed or aborted transaction. Every time I do…
aumanets
  • 3,703
  • 8
  • 39
  • 59
1
2