Well, i have done some tests and as far as i can see you can manually serialize 
ejb3 proxys using objectstreams. But when it came to automatical serialization 
(done by the container), it wont work, even if set the business interfaces 
serializable by hand, by extending java.io.Serializable.

But... i also had some problems using the containers object serialization 
mechanism, when trying to persist some obviously serializable objects, getting 
some uninterpretable ClassCastExeceptions. Doing it manually (again using 
objectstreams) in @preupdate respectively @postloaded annotated methods work 
fine however. Compared to persisting some "simple" objects like Hashmaps the 
container is doing a rather good job.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3914433#3914433

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3914433


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to