Skip to main content

Does HTTPSession, Stateful Session Bean Replication / Clustering Actually Work in Practice?

Adam Bien asks Does HTTPSession, Stateful Session Bean Replication / Clustering Actually Work in the Practice?

Stateful web/ejb components are convenient to use and maintain - they look and feel almost like real objects (see the perfect anti-facade). You don't have to synchronize the state between layers - after transaction everything is flushed transparently to the database. This happens without any expensive copying and data / DTO transformation between layers...

Source:
Community: Java Enterprise