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


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

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

  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
    >



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


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center