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?
Phantomas090198Asked:
Who is Participating?
 
shlomoyConnect With a Mentor Commented:
In that case RMI is the winner.
check out:
http://java.sun.com/docs/books/tutorial/rmi/index.html

0
 
shlomoyCommented:
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.

0
 
slokCommented:
use TCL/TK and XML..

TCL/TK
http://www.scriptics.com
or
comp.lang.tcl
0
The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

 
heyhey_Commented:
>> Is there a way or some ways to exchange data between different applications?

Java applications ?
TCP/IP (Sockets) ?
0
 
Phantomas090198Author Commented:
I mean messaging and data transfer between different Java client applications.
0
 
Phantomas090198Author Commented:
I mean messaging and data transfer between different Java client applications.
0
 
Phantomas090198Author Commented:
Would you use EJB for this?
0
 
shlomoyCommented:
I know RMI does it well.
If the EJB model supports message passing, yes.
I'm not familiar with the EJB enterprise-bean.
0
 
GregLCommented:
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.
0
 
shlomoyCommented:
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.
0
 
heyhey_Commented:
> I mean messaging and data transfer between
> different Java client applications.

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

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

0
All Courses

From novice to tech pro — start learning today.