Re: Question: Is there an easy way to allow app to exchange data?

Kris Leite <[email protected]> Sat, 02 Feb 2008 16:16:39 -0800
Newsgroups gmane.comp.java.helma.general
Message-ID <[email protected]>
One solution that I found was:

var server = Packages.helma.main.Server.getServer();
var dev = server.getApplication('dev');
var devData = dev.getCacheNode();

'devData' now contains a pointer to 'dev' applications data cache 
(app.data).

If there is any easier or better way, please let me know.

Thanks,
Kris



Kris Leite wrote:
> Sorry, but I could not find in the documentation where two different 
> apps can exchange data between them.  The Manage app scans all the apps 
> and retrieves information concerning each.  I reviewed the code and 
> could duplicate some of it's function but I was hoping there might be an 
> easier way to pass data between two running Helma apps.
>
> Thanks for any suggestions,
> Kris
>
> _______________________________________________
> Helma-user mailing list
> [email protected]
> http://helma.org/mailman/listinfo/helma-user
>
>