Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>Your question <strong>is</strong> to general, but here are few pointers (from most low-level to most comprehensive):</p> <ul> <li><p><a href="/questions/tagged/pipe" class="post-tag" title="show questions tagged 'pipe'" rel="tag">pipe</a> output in console:</p> <pre><code>$ java -jar first-app.jar | java -jar second-app.jar </code></pre> <p>In this scenario all console output from <code>first-app</code> will be redirected to standard input of <code>second-app</code>. This requires both applications to work on the same machine. All solutions below allow distributing producer and consumer across network.</p></li> <li><p><a href="/questions/tagged/socket" class="post-tag" title="show questions tagged 'socket'" rel="tag">socket</a> - Java supports them natively and nicely</p></li> <li><a href="/questions/tagged/rmi" class="post-tag" title="show questions tagged 'rmi'" rel="tag">rmi</a> - de facto standard of Java-to-Java communication via binary protocol, <a href="/questions/tagged/rpc" class="post-tag" title="show questions tagged 'rpc'" rel="tag">rpc</a>-like</li> <li><a href="/questions/tagged/web-services" class="post-tag" title="show questions tagged 'web-services'" rel="tag">web-services</a> - <a href="/questions/tagged/xml" class="post-tag" title="show questions tagged 'xml'" rel="tag">xml</a>-based protocol over <a href="/questions/tagged/http" class="post-tag" title="show questions tagged 'http'" rel="tag">http</a>, <a href="/questions/tagged/soap" class="post-tag" title="show questions tagged 'soap'" rel="tag">soap</a> or <a href="/questions/tagged/rest" class="post-tag" title="show questions tagged 'rest'" rel="tag">rest</a></li> <li><a href="/questions/tagged/jms" class="post-tag" title="show questions tagged 'jms'" rel="tag">jms</a> - asynchronously sending messages via <em>so-called</em> message broker</li> <li>shared database/file/memory, e.g. using <a href="/questions/tagged/hazelcast" class="post-tag" title="show questions tagged 'hazelcast'" rel="tag">hazelcast</a></li> </ul>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload