Hi,
MTOM impl is also in need of a storage mechanism for large attachments. We were thinking of storing large attchments temporarily as files. But then there arises the problem of how to delete them after processing.
Is it possible for us to use the same persistant storage for the above purpose. Will the size of the objects will be a problem.

thanks,

~Thilina.
[EMAIL PROTECTED]


On 4/18/05, Jaliya Ekanayake <[EMAIL PROTECTED]> wrote:
>
>
> Hi All,
>
>  
>
> We started looking into implementing of WS-RM on top of Axis 2. There is a
> need for a persistent storage mechanism for messages and some other related
> objects. We believe that axis should facilitate the function of saving the
> messages (in-memory or in a database), since there may be many usages of
> this in different modules.
>
> As an API we would like to propose the following
>
>
>
> ------------------------------------------------
>
> package org.apache.axis.storage ;
>
>  
>
> public interface Storage {
>
>  
>
>     public String put(Object value);
>
>  
>
>     public Object get(Object key);
>
> }  
>
>  
>
> ------------------------------------------------
>
>  
>
> package org.apache.axis.storage;
>
> public class InMemoryStorage implements Storage {
>
> }
>
>  
>
> ------------------------------------------------
>
>  
>
> package org.apache.axis.storage;
>
> public class PersistanceStorage implements Storage {
>
> }
>
>  
>
> ------------------------------------------------
>
>  
>
> However we noted that in the AbstractContext class under the package
> org.apache.axis.context package, it uses some persistence and non
> persistence hash tables for storing objects. So is it true that  ultimately
> the implementations of the "Context" will use the Storage mechanism provided
> by axis to store its contents?
>
> Please send your comments on this.
>
>  
>
> Thanks,
>
>  
>
> Jaliya, Chamikara and Saminda
>
>  
>
>  
>
>  
>
>
>
>
 

Reply via email to