If they are all running on the same TDI Server (and therefore same
JVM) you could have on AL read the array and then store it in a Java
property.
java.lang.System.getProperties().put("shortnames", myArrayList);
Then the other ALs just use the .get("shortnames") call to retrieve
it. And I would suggest an ArrayList since it dynamically grows for
you:
myArrayList = new java.util.ArrayList();
myArrayList.add(xxxx);
Hope this helps!
-Eddie
> I have a short name value file that several ALs need to read in. The
> content and length will change as I move forward so initially just put
> them into an array. Which is great in that AL but then I end up
> repeating it again and again. SO was hoping to read the name/values
> once and place the array in system store.
Remember that the System Store is a relational database. It would make
more sense to create a table for your data and store each item as a
separate row. You can then use normal TDI connectors to add and
retrieve items. This will give you persistent storage so you do not
have to worry about the startup sequence of your assembly lines. You
can then treat the file->system store synchronisation just like any
other TDI flow.
Eddie's solution will be faster at run-time.
Andrew