DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Sam Learner Guest

    How do I transfer Image using RMI (Client / Server)?


    Hello,
    I would like to use RMI to transfer Images back and forth from Servr to client
    so the Client can display images located on the Server.
    how do I do that? unfortunately the Image class is Not Serializable...
    I don't know how to do that?
    could someone would give an idea with some sample codes?

    Thanks in advance,
    Samuel


  2. #2
    Rajkamal Gopinath Guest

    Re: How do I transfer Image using RMI (Client / Server)?


    Hi,

    Read jpg & gif files as Byte Arrays and save the ByteArrays to a file on
    the client or server for storage

    Hope this helps

    Regards

    Rajkamal



    "Sam Learner" <Samuel@Samjocelyn.com> wrote:
    >
    >Hello,
    >I would like to use RMI to transfer Images back and forth from Servr to

    client
    >so the Client can display images located on the Server.
    >how do I do that? unfortunately the Image class is Not Serializable...
    >I don't know how to do that?
    >could someone would give an idea with some sample codes?
    >
    >Thanks in advance,
    >Samuel
    >



Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links