Process communication.

Hi.

I need to pass an object from a process to another.

The idea is to raise the application, and, after few validations, call an "executable" jar file which contains other application.

What I need is to show a window (splash) between the execution of the first application and the complete load of the second. Then, when second application loaded, splash window must to be closed.

I am trying to to that with 2 process: one raised with a main method and the other using Runtime.exec over a batch file (*.bat). My question, of course, is: how can I pass de window (awt.Frame) objetc from teh first application to the second?

[655 byte] By [Alberthovena] at [2007-11-27 11:41:12]
# 1

Try implementing the Serializable class in your declaration and save the objects in a file?

Something like

class YourClass implements Serializable

Jamwaa at 2007-7-29 17:36:46 > top of Java-index,Java Essentials,Java Programming...
# 2

you mind explaining why on Earth you'd want to do something like this? my guess is you're the first!

SoulTech2012a at 2007-7-29 17:36:46 > top of Java-index,Java Essentials,Java Programming...