File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA 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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Sending object from VM to host