[seam-issues] [JBoss JIRA] Commented: (SEAMWICKET-41) EJB and Seam Wicket result in NotSerializableException
K. Bachl (JIRA)
jira-events at lists.jboss.org
Sun Oct 2 13:04:26 EDT 2011
[ https://issues.jboss.org/browse/SEAMWICKET-41?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12631674#comment-12631674 ]
K. Bachl commented on SEAMWICKET-41:
------------------------------------
This bug really holds me from using CDI at the moment. I tried to use #2 but in case I do:
@EJB(name = "ServiceEJB")
@Transient
ServiceBean bean;
wicket still cries out: ... Unable to serialize class: x.x.logic.__EJB31_Generated__ServiceBean__Intf____Bean__
Do you have any other workarounds?
> EJB and Seam Wicket result in NotSerializableException
> ------------------------------------------------------
>
> Key: SEAMWICKET-41
> URL: https://issues.jboss.org/browse/SEAMWICKET-41
> Project: Seam for Apache Wicket
> Issue Type: Enhancement
> Affects Versions: 3.0.0.Final
> Environment: Wicket 1.4.17, Glassfish 3.1 and Glassfish 3.1.1
> Reporter: Thierry Peng
> Fix For: Future
>
> Original Estimate: 1 day, 2 hours
> Remaining Estimate: 1 day, 2 hours
>
> Injection of EJBs with Seam for Apache Wicket does not work properly. Wicket tries to serialize all injected references once the page/component changes its version. The culprit is the org.glassfish.weld.ejb.SessionObjectReferenceImpl.ejbRef which is not serializable, see the forum reference for the stacktrace.
> There are few discussions about this problem, one mentioned, that the spec doesn't require that an ejb must be serializable, which is true. Because this is a Problem which mainly affects wicket and its way to serializable the component tree, I suggest that we solve it in this module.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the seam-issues
mailing list