[MOBY-dev] caching data from MobyRequest

Paul Gordon gordonp at ucalgary.ca
Wed Jul 4 13:50:26 UTC 2007


Hi Andreas,

Yes, there is a class that allows you to cache these...

*org.biomoby.registry.meta.RegistryCache*

You can see how I use it in the source code for
*
ca.ucalgary.seahawk.gui.MobyContentGUI

*Though I should probably add a doc about that too :-)*

*
> Hi all,
>
> again paul, thanks for the answer, it works nicely.
>
> Just one interesst:
>
> everytime I call the service I get the following log
>
> ERROR [STDERR] Fetching data type ontology from 
> http://biomoby.org/RESOURCES/MOBY-S/Objects
> ERROR [STDERR]  ... done
> ERROR [STDERR] Fetching namespace ontology from 
> http://biomoby.org/RESOURCES/MOBY-S/Namespaces
> ERROR [STDERR] There are 1 collections in response 1
>
> is there a way to cache these data, so that the application does not need 
> fetch it everytime ? 
>
> Thanks
> Andreas
>
>
> On Tuesday 03 July 2007 15:46, Paul Gordon wrote:
>   
>> Hi Andreas,
>>
>> The issue is that you have 2 "modes" for toXML() in the package.
>>
>> Please see the "org.biomoby.shared.data Package In Anger"
>>
>> http://biomoby.open-bio.org/CVS_CONTENT/moby-live/Java/docs/DataPackageInAn
>> ger.html
>>
>> This should explain how to do what you want succinctly.  If not, let me
>> know what's not clear, and I'll update the docs.
>>
>> Cheers!
>>
>> Paul
>>
>>     
>>> Hi...
>>>
>>> grrrrr... due to some problems with Kmail - you will get the same
>>> Bug-MobyContentInstance Mail several times :-(
>>> sorry for that...
>>>
>>> the last one "get data from XML... or MobyContentInstance... bug ?" is
>>> the correct and complete one
>>>
>>> :(
>>>
>>> Andreas
>>>       
>> _______________________________________________
>> MOBY-dev mailing list
>> MOBY-dev at lists.open-bio.org
>> http://lists.open-bio.org/mailman/listinfo/moby-dev
>>     
>
>   




More information about the MOBY-dev mailing list