improve workflow and add session/statfull example in App5.java and test08.tea