Yes, it appears that there is/was lots of legacy fluff in the proxy 
generation system which it not used any more with the changed to BCEL. 
 I have cleaned up these classes, added some documenation and am adding 
testcasess now.

I am going to leave it with Serializable, sounds like a reasonable thing 
todo, though I think it is not needed, and if it is it should be added 
by the application which is making the proxy... but for now whatever.

The Replacable stuff is linked to the ProxyProxy fluff and the old proxy 
compiler & EJB specific handler implementation, which is not used any more.

--jason


Francisco Reverbel wrote:

>On Thu, 4 Apr 2002, Jason Dillon wrote:
>
>>Any reason why Proxy.newProxyInstance() adds Serializable & Replacable 
>>to proxy instances?  I am guessing there is a reason, but it is not 
>>documented anywhere.
>>
>
>This proxy compiler is (was?) used to generate jdk 1.2 proxies.
>These are (were?) sent over the wire, so they implement Serializable. 
>
>Right now I am not sure if Serializable is still needed, hence the
>question marks above. jdk 1.2 is not supported anymore, right? Does 
>the CMP 2.0 code need serializable proxies? 
>
>Never understood why Replaceable is there. I think it is some sort of 
>legacy rubbish that could/should be removed.
>
>Cheers,
>
>Francisco
>



_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to