This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Distributed Java and the fly likes Sending object from VM to host Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "Sending object from VM to host" Watch "Sending object from VM to host" New topic
Author

Sending object from VM to host

M Bryan
Ranch Hand

Joined: Jun 15, 2011
Posts: 64
Hi,

I have a VM which does some things. Since performce inside the VM is kind of bad, I want to host system to do some calculations.
The program running in my VM should take a picture of the current screen and send that screenshot to the host system, which then should do some calculations. The screenshot should be taken every second and the program running in the host should start a thread everytine when it is receiving a screenshot.
What is the easiest way to realize this?

Thank you
M Bryan
Ranch Hand

Joined: Jun 15, 2011
Posts: 64
I did it using this: www.developer.com/design/article.php/3604491/Objects-and-ClientServer-Connections.htm
 
jQuery in Action, 2nd edition
 
subject: Sending object from VM to host