-5

Assumption: both are running on the same box.

What's the recommendation out of the whole set of options available?

Speed and reliability are the two spots the solution should hit.

Steve McLeod
  • 51,737
  • 47
  • 128
  • 184
Inder Singh
  • 319
  • 1
  • 5
  • 12
  • The question is too vague to answer. Without knowing what data you want to communicate, what direction it goes, how often it needs to be sent, how big it is, and so on, there's no "one right answer". – David Schwartz Feb 14 '13 at 05:06
  • Also, since speed seems to be kind of important to you, you should perhaps elaborate what OS, a description of the box and the specific type of data that needs to be communicated. – carlosdc Feb 14 '13 at 05:08
  • Duplicate of - http://stackoverflow.com/questions/165945/what-is-the-best-approach-for-ipc-between-java-and-c - http://stackoverflow.com/questions/1125534/what-is-the-best-way-to-access-memory-in-java-similar-to-mmap Sounds like a job for `ByteBuffer.allocateDirect()` – amdn Feb 14 '13 at 05:31

1 Answers1

2

This sounds like a task well-suited for sockets.

Steve McLeod
  • 51,737
  • 47
  • 128
  • 184