create a java application to get information from another java application -


i have java application generate informations , print out informations on screen.my problem out information , transfer them java application.this application has own main.i know seems general don't know how explain case study better

your question is general, here few pointers (from low-level comprehensive):

  • output in console:

    $ java -jar first-app.jar | java -jar second-app.jar 

    in scenario console output first-app redirected standard input of second-app. requires both applications work on same machine. solutions below allow distributing producer , consumer across network.

  • - java supports them natively , nicely

  • - de facto standard of java-to-java communication via binary protocol, -like
  • - -based protocol on , or
  • - asynchronously sending messages via so-called message broker
  • shared database/file/memory, e.g. using

Comments

Popular posts from this blog

javascript - backbone.js Collection.add() doesn't `construct` (`initialize`) an object -

php - Get uncommon values from two or more arrays -

Adding duplicate array rows in Php -