I have a requirement. I have 3 interfaces Interface1, Interface2, Interface3. Currently the workflow is This is not a web based application.
How can I define this workflow in spring in such a way that if there is another component Interface4 in future, I can just add it to the spring config and everything works as expected.
Other question is defining business process that needs to be called for each component. Will a simple init-method="someProcess" suffice to connect all the components for a single workflow communication?