Mantis Bugtracker
  

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0001626 [Resin] minor always 02-26-07 09:29 06-05-07 12:17
Reporter ferg View Status public  
Assigned To ferg
Priority normal Resolution fixed Platform
Status closed   OS
Projection none   OS Version
ETA none Fixed in Version 3.1.2 Product Version
  Product Build
Summary 0001626: Hessianf or alrge input streams
Description (rep by Ben Hood)


I was wondering if anybody knows of any approaches to encode and
decode large object streams using Hessian.

The motivation is to be able to handle vast amounts of data without
having to materialize it into memory.

I've written a module to handle this (see attached maven project) as a
suggestion of how one may do this (with an example test case).

To create an input stream of encoded data, you supply an Iterator
which wraps your application data source. You also supply the method
for each data object to be invoked against. On the decoding side, the
method to be invoked is read, an implementation thereof is registered
and a stream handler decodes the objects in the stream, fires each one
against the registered interface until the stream is exhausted.

I've tried to reuse the hessian toolkit as much as possible. The only
problem I had was the method mangling routine as used by the
HessianSkeleton is a private method, so I lifted that source into a
separate class (homage goes to the author of that code).

Steps To Reproduce
Additional Information
Attached Files

- Relationships

- Notes
(0002010)
ferg
06-05-07 12:17

hessian/3ad0
 

- Issue History
Date Modified Username Field Change
02-26-07 09:29 ferg New Issue
06-05-07 12:17 ferg Note Added: 0002010
06-05-07 12:17 ferg Assigned To  => ferg
06-05-07 12:17 ferg Status new => closed
06-05-07 12:17 ferg Resolution open => fixed
06-05-07 12:17 ferg Fixed in Version  => 3.1.2


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
28 total queries executed.
25 unique queries executed.
Powered by Mantis Bugtracker