This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes Distributed Java and the fly likes How can I transmit an Image through RMI connection? 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 "How can I transmit an Image through RMI connection?" Watch "How can I transmit an Image through RMI connection?" New topic
Author

How can I transmit an Image through RMI connection?

Shay Gaghe
Ranch Hand

Joined: Sep 03, 2001
Posts: 102
Hi
How can I transmit an Image through RMI connection?
I would like to receive a code that allow it.
Thanks
Shay Gaghe
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12769
    
    5
Seems to me that a byte[] or int[] (depending on what format you have the image in) would work just fine.
Bill
Kris Schneider
Ranch Hand

Joined: Feb 14, 2001
Posts: 71
If you can use Swing, javax.swing.ImageIcon is serializable. If not, at least check out the code for its readObject and writeObject methods to see how it's done.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How can I transmit an Image through RMI connection?