runtime getting of object

hi friends,Iam executing an java program which print the datas in console periodically,i need to get the object of the running java program from the other java program,,,?is it possible to get the object ...?
[215 byte] By [83Krisha] at [2007-11-27 8:14:21]
# 1

if you're speaking in terms of threads (meaning the 2 programs are executed with the same JVM), it's possible

if you're launching your 2 programs through 2 different JVM, i don't think it's possible to get one object from a JVM to another

maybe if you serialize your object each time the data is printed on the console in the first program, you can deserialize it and get it back through the other java program, but i'm not sure if this could work (never tried)

calvino_inda at 2007-7-12 19:58:54 > top of Java-index,Java Essentials,Java Programming...
# 2
iam using two console window but in the same system.... is it possible to get the object of the class that is running in one console.....?
83Krisha at 2007-7-12 19:58:54 > top of Java-index,Java Essentials,Java Programming...
# 3

> if you're launching your 2 programs through 2

> different JVM, i don't think it's possible to get one

> object from a JVM to another

Either you ignored this. Or you read it, didn't like the answer and thought that by asking the question again, only slightly differently, you would get an answer you would like.

floundera at 2007-7-12 19:58:54 > top of Java-index,Java Essentials,Java Programming...
# 4
> iam using two console window but in the same> system.... is it possible to get the object of the> class that is running in one console.....?Not automagically as you imply. No.
cotton.ma at 2007-7-12 19:58:54 > top of Java-index,Java Essentials,Java Programming...