new ObjectMarshallingStrategy[]{strategy} );
ByteArrayOutputStream bos = new ByteArrayOutputStream();
marshaller.marshall( bos,
ksession );
final byte[] b1 = bos.toByteArray();
bos.close();
ByteArrayInputStream bais = new ByteArrayInputStream( b1 );
StatefulKnowledgeSession ksession2 = marshaller.unmarshall( bais,
new SessionConfiguration(),