Jung , Dr. Christoph wrote:
> Btw: We got rid of the location annotation by using our own MarshalledObject
> implementation that uses subclasses of
> MarshalledObject{InputStream/OutputStream} with annotateClass(Class) and
> readLocation() methods disabled. This does not require to change the
> getURL() method. IMHO this is cleaner.
Yes, I agree, we did the same thing here. Moreover, this avoids
refrlection during annotateClass() which also takes noticable time.
However this way requires to extend classes from sun.rmi
package, i.e. this is non - 100% pure Java code. If this is okay for
JBoss, I'll do the same thing and remove getURLs() { return null; }

Oleg



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

Reply via email to