×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Filling Objects that exist in an Array

Filling Objects that exist in an Array

Filling Objects that exist in an Array

(OP)
I made a Server that creates an Array (the array is coded in a separate class). In the class List an Array is created and filled with Objects. These objects are empty and need to be filled by a Client.

The Client lives somewhere else and connects to the Server using an ORB (OpenORB from EXOLAB).

I do this all in JAVA.

The problem now is to fill in the data from the Client into the Objects in the Array. The Objects have other Objects in them too. For instance an Object "Car" with an Object "Seat" in it. Where I want to try and do a setSeatColor() in the Object "Seat".

So in the Client I want to put the color Blue in the SeatColor from the Car in the Array.

I hope I made myself clear if not I'm sorry for my crappy english :)

questions are always more than welcome.
Thank you.
Replies continue below

Recommended for you

RE: Filling Objects that exist in an Array

(OP)
Another addition to this question:

I think I might be able to do this by using object_to_string in the client and string_to_object in the server so i dont have to send objects(I think its not possible to send objects through an ORB).

Well thanks for listening, any input is welcome!

greetz
Krolsky

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login


Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close