Link to home
Start Free TrialLog in
Avatar of Phantomas090198
Phantomas090198

asked on

Data exchange between different applications

Is there a way or some ways to exchange data between different applications?
Is the EJB the way to do it? or is there a better way?
Avatar of shlomoy
shlomoy

two popular ways:

1) message passing (MPI/RPC/RMI...)
2) shared memory (MILLIPEGE/DSM....)

if you explain what EJB is - i might be more helpful.

use TCL/TK and XML..

TCL/TK
http://www.scriptics.com
or
comp.lang.tcl
>> Is there a way or some ways to exchange data between different applications?

Java applications ?
TCP/IP (Sockets) ?
Avatar of Phantomas090198

ASKER

I mean messaging and data transfer between different Java client applications.
ASKER CERTIFIED SOLUTION
Avatar of shlomoy
shlomoy

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I mean messaging and data transfer between different Java client applications.
Would you use EJB for this?
I know RMI does it well.
If the EJB model supports message passing, yes.
I'm not familiar with the EJB enterprise-bean.
EJB is the server-side component model for Java.  It requires an Application server to be used and provides support for CORBA, JNDI, transactions, concurrency and much more.  The best solution to your problem is RMI for communication between two jvm client applications.
RMI, however, would not be a preferable choice if you wat to message-pass with other application not written in Java (but in C/fortran, etc'...) - in that case CORBA would be more suitable.

BUT if Java is all you use, then RMI is the best supported and simple way to do it.
> I mean messaging and data transfer between
> different Java client applications.

applets ?
RMI (still) does not work everywhere (applet-to-applet communications :)

I didn't know that. how come, heyhey_?