This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 236610 - Hint at Statefull SB to setup bean as not passivationCapable one
Summary: Hint at Statefull SB to setup bean as not passivationCapable one
Status: RESOLVED WONTFIX
Alias: None
Product: javaee
Classification: Unclassified
Component: EJB (show other bugs)
Version: 7.4
Hardware: All All
: P3 normal (vote)
Assignee: Martin Fousek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-01 16:43 UTC by Martin Fousek
Modified: 2016-07-07 08:53 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Fousek 2013-10-01 16:43:58 UTC
EJB3.2 spec:
By default, the container may passivate a stateful session bean instance to a secondary storage to save resources. However, the Bean Provid er can optionally configure the stateful session bean to prevent passivation of its instances.

Once the stateful session bean contains any not serializable field it should show a hint that the bean should be marked as passivation not capable. Also fix for that hint should be easy doable.
Comment 1 Martin Fousek 2013-10-01 22:55:01 UTC
Better specification from Marina around impacted fields:
Non-transient non-serializable but not an EM, resource, on an EJB ref (see the EJB spec for the complete list of references that are permitted to be non-serializable in a SFSB).
Comment 2 Martin Balin 2016-07-07 08:53:41 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss