To improve performance of my session bean I modified one of my objects to implement Externalizable instead of Serializable and implemented my own readExternal and writeExternal methods. This did not work, so I took a look at the jonas source code and found that it explicitly checks to see if the object implements the Serializable interface. A large number of these objects are being passed as arguments to a session bean method. Will this result in reflection being used to get the field names, types etc. for each object, or is it smart enough to remember the object info if there are a large number of objects of the same type ? With about 80,000 objects it takes about 20 secs to pass the arguments from the client to the ejb container. The data of the object is 180 bytes, I don't know how much extra is added by rmi, but the data comes to about 14Kb If externalizable is not an option, is there any other way to improve performance in this case ? Regards, ..Chris. ---- This list is cross-posted to two mail lists. To unsubscribe, follow the instructions below for the list you subscribed to. For objectweb.org: send email to [EMAIL PROTECTED] and include in the body of the message "unsubscribe ejb-container-group". For enhydra.org: send email to [EMAIL PROTECTED] and include in the body of the message "unsubscribe ejb-container-group".
