Hi, guys: I am a java developer and new to the STAF. I have a question about how to get status message from remote Java code back to my STAF code. Following is what I want to do, and could you please give me some suggestions?
In my local STAF code, I am using this STAF code to call a java program on a few remote servers to configure my remote server's env. The STAF code can be my control node. it works fine and is able to start my remote Java program. But my problem here is that, in my STAF code, I am only able to retrive the status of the remote Java program after the Java progam finished its whole job. For example. in the remote Java program, I have step1: init remote env, step2: config env, step3:validate env and step4: finalize env. After each step, the java program will log a status mesage. Right now, after my STAF code successfully invoked this Java program, it just wait for the whole results. However, I would like to see the STAF keeps getting step 1's message, step 2's message, step 3's message and step 4's message. I feel I should use STAF monitor API in my STAF code and STAF Queue API in my remote Java program. Is this a right way to do this? And Could you please suggest me the right STAF APIs' name to do this? Thank you so much for the help Tun
------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA Learn about the latest advances in developing for the BlackBerry® mobile platform with sessions, labs & more. See new tools and technologies. Register for BlackBerry® DevCon today! http://p.sf.net/sfu/rim-devcon-copy1
_______________________________________________ staf-users mailing list staf-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/staf-users