Results 1 to 1 of 1
  1. #1
    nephos is offline Member
    Join Date
    Apr 2011
    Posts
    15
    Rep Power
    0

    Default Retrieving object from server RMI

    Hi guys

    Ive made an RMI connection with a client and a server and I want to get an object from the server and give the client access to it. How do I go about doing this please?

    I've managed to retrieve a string but when trying to get an object it throws a ClassCastException: $Proxy1 cannot be cast to...

    Cheers!
    Last edited by nephos; 04-20-2011 at 10:37 PM.

Similar Threads

  1. Retrieving image stored as BLOB object in oracle
    By venkateshcoolmoon in forum JDBC
    Replies: 11
    Last Post: 01-17-2010, 07:06 PM
  2. Retrieving xml file from Web Server
    By keioGirl in forum Advanced Java
    Replies: 5
    Last Post: 01-16-2009, 06:36 PM
  3. JDO - Retrieving a persisted object
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 03-17-2008, 08:46 AM
  4. Retrieving data from the DB
    By yuchuang in forum JDBC
    Replies: 2
    Last Post: 11-27-2007, 09:59 AM
  5. Automation server can't create object
    By katie in forum JavaServer Pages (JSP) and JSTL
    Replies: 1
    Last Post: 08-06-2007, 11:53 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •