'Spring Bean Scopes Step Scope and Singleton

Can someone explain what would happen if I declared a bean of step scope (used during batch processing) and the same bean of scope singleton to be used for another purpose (api calling).

   <bean id="sdlExcelFileProcessor" class="ms.rs.batch.SDLExcelFileProcessor" scope="step">
   <bean id="sdlExcelFileProcessor1" class="ms.rs.batch.SDLExcelFileProcessor" scope="singleton">


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source