I don't want to be too glib, but have you thought about a database?
Perhaps with Hibernate/Java Persistence?

David

On 08/08/06, Fabien Couble <[EMAIL PROTECTED]> wrote:

Hi Deepal

Thx for your response... but actually I'd like to know how I can implement
persistence in Axis. I mean I need to use an object which must be
persitent!!
Can you advise me on some ways to do that??

This is the description of what I need to do:
I'm implementing a protocol in which I have to manage an array of resources.
Indeed, I have to add, get or delete resources from that array.
Actually, when a web service receives a request from a client, depending on
the request, the web service has to get, add or delete the resource in the
array.

Please, could you help me??

Fabien


----- Original Message -----
From: "Deepal Jayasinghe" <[EMAIL PROTECTED]>
To: <axis-user@ws.apache.org>
Sent: Monday, August 07, 2006 6:07 PM
Subject: Re: [AXIS2] persistence


> Hi Fabien;
> Please see my comments below;
>
> Fabien Couble wrote:
>
>> Hi all,
>> I have checked that AXIS 2 don't support the persistence by default.
>
> Yes , Axis2 does not support persistence.
>
>> That's why, by surfing on the Web, I have found that to make a service
>> persistent, we have to configure the service.xml file with the
>> following line:
>
> Thats wrong , there wont be any change even if you add something like
> that . In addition to that this is not the way you specify parameter in
> Axis2 , it should be smt like
> <parameter name="foo">MyParaValue</parameter>
>
>><parameter name="scope" value="/value/"/>
>>
>>I did that by replacing the word value by "application". Normally, that
>>mean that a service will be
>>
>>intanciated for all the requests until the server Tomcat is shutdown.
>>Consequently, the service should be persistent...
>>
>>However, it doesn't work...
>>
> If you want to deploy your service in application scope then you need to
> do add an attribute called "scope" into your services.xml as follows
> <service name="foo" scope="application">
>
> </service>
>
>>Is it the good way to do this? HOw can I do that??
>>
>>Thx
>>
>>fabien
>>
>> This message contains information that may be privileged or
>> confidential and is the property of the Capgemini Group. It is
>> intended only for the person to whom it is addressed. If you are not
>> the intended recipient, you are not authorized to read, print, retain,
>> copy, disseminate, distribute, or use this message or any part
>> thereof. If you receive this message in error, please notify the
>> sender immediately and delete all copies of this message.
>>
>
> --
> Thanks,
> Deepal
> ................................................................
> ~Future is Open~
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


This message contains information that may be privileged or confidential and is 
the property of the Capgemini Group. It is intended only for the person to whom 
it is addressed. If you are not the intended recipient,  you are not authorized 
to read, print, retain, copy, disseminate,  distribute, or use this message or 
any part thereof. If you receive this  message in error, please notify the 
sender immediately and delete all  copies of this message.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
David Illsley - IBM Web Services Development

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to