[
https://issues.apache.org/jira/browse/DELTASPIKE-647?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14101100#comment-14101100
]
Mark Struberg commented on DELTASPIKE-647:
------------------------------------------
I'm for commons-proxy or an own ASM impl as well.
We cannot use the OWB code 1:1 at least. In OWB we do much more optimizations
which are not usable in a more generic way. E.g. we cache the created class
directly in our Producer<T> resp Bean<T>. When you create dynamic classes you
always have to solve the ugly problem with serialization. And this is why we
store it directly in our Bean<T> (or a wrapper for 3rd party Beans). This
allows us to do much more optimizations which work even if you have a managed
bean + 3 different producer methods (using different qualifiers) for the same
bean class.
But in DS we just cannot use this trick as we are not so deep inside the
container. Thus we need to use much more generic proxies...
> AppScoped abstract repositories doesn't work
> --------------------------------------------
>
> Key: DELTASPIKE-647
> URL: https://issues.apache.org/jira/browse/DELTASPIKE-647
> Project: DeltaSpike
> Issue Type: Bug
> Components: Data-Module
> Reporter: Thomas Andraschko
> Assignee: Mark Struberg
> Attachments: 0001-Failing-PartialBeans-test.patch,
> DELTASPIKE-647.patch, DS-647.7z
>
>
--
This message was sent by Atlassian JIRA
(v6.2#6252)