This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Java in General and the fly likes getting an instance from an application running on different JVM Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "getting an instance from an application running on different JVM" Watch "getting an instance from an application running on different JVM" New topic
Author

getting an instance from an application running on different JVM

krishna charugundla
Greenhorn

Joined: Jul 26, 2001
Posts: 2
Hi all,
i have a doubt. an application is running at one Dos prompt, which creates the instances of one class.I have an other application which is running at different Dos prompt.If i want to access the instances created by the first application from the second application , it is returning the null value,because those two applications running on two different java virtual machines. Could you pls give me solution for this to get the instance from the first application?

Thanks
Krishna
Aleksey Matiychenko
Ranch Hand

Joined: Apr 03, 2001
Posts: 178
The only way I know of doing it using RMI or may be serializing sockets.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: getting an instance from an application running on different JVM
 
Similar Threads
server/alone command line
multiple jvm for tomcat
Database instances
Tomcat Cluster / Load Balancing
Two threads of same class instance to wait separately