A method and system for dynamic selection of stateless/stateful component
software. According to one embodiment, an application determines at
runtime a characteristic associated with the process to be implemented by
a software component, wherein stateless and stateful versions of the
software component are available to implement the process, and invokes
either the stateless or stateful version of the software component to
implement the process based on the characteristic.