Serialization of ruby objects from java

does anyone know if or when or how this possible?

there exists a java object WebClient that impliments serializable

in jruby I have the following i send the webclient method
setStatusHandler a jruby object

include com.gargoylesoftware.htmlunit.StatusHandler
webclient.setStatusHandler(someobject)

include_class ‘org.apache.commons.lang.SerializationUtils’
SerializationUtils.serialize(webclient).to_a.pack(“C*”)

this will cause a java serialzation exception, assumingly because the
jruby object cant be serialized.

any ideas about how this works?

thanks for infos
jason.


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

There is a new library that will let you write and read the Ruby
serialization format in Java.

Opensourced project here: Google Code Archive - Long-term storage for Google Code Project Hosting.