• 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:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Junilu Lacar
  • Paul Clapham
  • Knute Snortum
Saloon Keepers:
  • Stephan van Hulst
  • Ron McLeod
  • Tim Moores
  • salvin francis
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • 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
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
 
today's feeble attempt to support the empire
global solutions you can do at home or in your backyard
https://www.kickstarter.com/projects/paulwheaton/better-world-boo
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!