[Helma-user] Question: Is there an easy way to allow app to exchange data?

Joshua Paine joshua at papercrown.org
Sun Feb 3 01:27:58 CET 2008


Kris, that seems pretty hazardous. Why not build some simple actions  
to provide access to the data you need, e.g. with JSON, so your apps  
won't be so tightly entangled.

Joshua Paine
LetterBlock: Building the web is child's play
http://letterblock.com/

On Feb 2, 2008, at 7:16 PM, Kris Leite <kleite at imcsoftware.com> wrote:

> 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
>> Helma-user at helma.org
>> http://helma.org/mailman/listinfo/helma-user
>>
>>
> _______________________________________________
> Helma-user mailing list
> Helma-user at helma.org
> http://helma.org/mailman/listinfo/helma-user


More information about the Helma-user mailing list