Re: Question: Is there an easy way to allow app to exchange data?
Joshua Paine <[email protected]> Sat, 2 Feb 2008 19:27:58 -0500
| Newsgroups | gmane.comp.java.helma.general |
|---|---|
| Message-ID | <[email protected]> |
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 <[email protected]> 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 >> [email protected] >> http://helma.org/mailman/listinfo/helma-user >> >> > _______________________________________________ > Helma-user mailing list > [email protected] > http://helma.org/mailman/listinfo/helma-user