
Inline adoc files when they are included exactly once. Also fix language tags because this inlining gives us better information on what language the code is written in.
25 lines
1.0 KiB
Plaintext
25 lines
1.0 KiB
Plaintext
== Why is this an issue?
|
|
|
|
``++@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.
|
|
|
|
|
|
ifdef::env-github,rspecator-view[]
|
|
|
|
'''
|
|
== Implementation Specification
|
|
(visible only on this page)
|
|
|
|
=== Message
|
|
|
|
Make sure the "@Remove" method is called on "xxx".
|
|
|
|
|
|
'''
|
|
== Comments And Links
|
|
(visible only on this page)
|
|
|
|
=== on 9 Oct 2015, 13:16:04 Ann Campbell wrote:
|
|
This looks to me like a valuable rule (it came from a customer request) but it will be eons until we can implement it. In the meantime, I'm reluctant to construct the elaborate code sample that will be required to demonstrate the issue without having a better idea of what it will look like when we do implement and/or how accurately we'll be able to attach the issue.
|
|
|
|
endif::env-github,rspecator-view[]
|