This forum is now a read-only archive. All commenting, posting, registration services have been turned off. Those needing community support and/or wanting to ask questions should refer to the Tag/Forum map, and to http://spring.io/questions for a curated list of stackoverflow tags that Pivotal engineers, and the community, monitor.
No announcement yet.
Passing Javav objects between stepsPage Title Module
Many people use the Job's ExecutionContext to pass data between steps because it is persisted to the repository, and therefore available on restart (see http://static.springsource.org/sprin...aToFutureSteps). Remember to use scope="step" for the components in this pattern and don't put large objects in there because of the persistence.
Thank you for your reply! I figured out the way to pass simple parameters between the steps is Job's ExecutionContext but there are only few types that can be stored on it: Int, String, Double and Long.
The question is: can I store on the context my custom java object?