What's the difference between stateful and stateless?

By | February 25th, 2015|GlassFish, JBoss, Other Middlewares, Tomcat, WebLogic Server, WebSphere|

Stateless put simply means there is no memory of the past. The transaction operates unaware of what went before it, or what comes after it. Stateful means that there is memory of the past. This is achieved by persisting 'state' data to a shared resource (e.g. database or session cookie). Stateless processes are intended to [...]