Solved

about Infobus

Posted on 2001-06-07
1
185 Views
Last Modified: 2010-05-18
Hi,
1 - Is there any way to create 2 apllications that send data to each other throught infobus?
2 - I saw the example that 2 applets that communication (send data to each other) throught infobus, but this 2 applets were put on the same browser. What will i do if we put 2 applet on the 2 browser separative
0
Comment
Question by:sontnvn
1 Comment
 
LVL 19

Accepted Solution

by:
Jim Cakalic earned 50 total points
ID: 6171471
Per the InfoBus FAQ
    (http://java.sun.com/products/javabeans/faq/faq.infobus.html)
the product is intended for communication between components that exist within a single JVM. The last two questions in the FAQ compare InfoBus with IIOP and RMI and allude to the possibility that specific components could act as connectors to the "outside" world, obtaining data that they then publish on the bus for consumption by other connected components. However, it is clear that the bus itself is exclusively inter-JVM (within the confines of one Java Virtual Machine running in a single native process), _not_ intra-JVM (multiple JVMs in the same or multiple native processes on the same or different physical machines).

In short, InfoBus was not designed for the purpose to which you are attempting to apply it. You want a distributed communication mechanism if it is your intent that two components in separate JVMs communicate.

Best regards,
jim Cakalic
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Suggested Solutions

INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now