• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

getting an instance from an application running on different JVM

 
krishna charugundla
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 178
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The only way I know of doing it using RMI or may be serializing sockets.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic