]
Alexey Kazakov commented on JBIDE-9550:
---------------------------------------
JSR-299 spec. (CDI) doesn't require application scoped beans to be serializable since
only session and conversation built-in scopes are passivating capable. Not sure about
other specs (JSF, ...).
See JSR-299 6.6.3. Passivating scopes.
So we do as much as we can for validation of passivation capable beans regarding JSR-299
spec.
Maybe some other specs. requires application scoped beans to be serializable but since CDI
validator is responsible only for JSR-299 spec I'm going to reject this issue.
Source editor in JBDS is not highlighting all beans using scopes
which must implement serializable
--------------------------------------------------------------------------------------------------
Key: JBIDE-9550
URL:
https://issues.jboss.org/browse/JBIDE-9550
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: cdi
Affects Versions: 3.3.0.M3
Reporter: Jaroslav Jankovič
Assignee: Alexey Kazakov
Fix For: 3.3.0.M3
According to official The Java EE 6 Tutorial in
http://download.oracle.com/javaee/6/tutorial/doc/gjbbk.html - "Beans that use
session, application, or conversation scope must be serializable, but beans that use
request scope do not have to be serializable." However JBDS offers Quick Fix only for
beans using session scope, not application or conversation scope. In my opinion, JBDS
should highlight beans using these scopes and offer the same Quick Fix wizard as in
session scope case.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: