"dimitris(a)jboss.org" wrote : From the top of my head, I'm sure we have
plenty of places in the code we create a proxy for a single call, and throw it away.
It's a bad practise.
We will have to clean these references during undeployment, or to use SoftReferences
testing for Null Object.
I think the JVM doesn't make any internal references to the created proxy, what means
the Proxy will released if a GC happens.
On JBoss Serialization, I created a package called PersistentReference that encapsulates
such thing. It's really simple.
If we want to cache proxies without having to worry on clearing references later maybe we
should implement a similar idea.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961004#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...