• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Ganesh Patekar
  • Stephan van Hulst
  • Pete Letkeman
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Ron McLeod
  • Vijitha Kumara

how can we send data from one application to other in java  RSS feed

 
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
what are the ways to send data from one application to other? if any one knows please reply me.
 
Ranch Hand
Posts: 3640
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Originally posted by Praveen palukuri:
hi,
what are the ways to send data from one application to other? if any one knows please reply me.



(1) Are both pure Java based application?
(2) What kind of data you want to send?
 
Java Cowboy
Sheriff
Posts: 16084
88
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There are lots of different ways to have two Java applications communicate. Which you should choose depends on a lot of factors. Some of your options are:

- Java RMI (Remote Method Invocation)
- Sockets (one application (server) listens for connections on a port, the other (client) connects to the port)
- XML over HTTP (SOAP, web services)
- Message queue (using JMS)
- File system (one app writes a file somewhere, the other app periodically checks for the file and reads it)
 
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

You could use a P2P system like JXTA, too.

Thansk
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!