rspec/rules/S3357/java/rule.adoc
2021-04-28 18:08:03 +02:00

3 lines
339 B
Plaintext

``++@Stateful++`` EJB's are designed to maintain user state through a multi-step process. When that process is over, you must be sure to call the bean's ``++@Remove++`` method to remove the bean from the container. Otherwise, bean instances will hang around in memory until their sessions time out, potentially causing resource problems.