james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scherer Pierre" <scherer_pie...@ibelgique.com>
Subject RE: Synchronised??
Date Tue, 25 Mar 2003 20:24:04 GMT

It's a problem for me(crash database). If I put my class sychronised, does
it resolve the problem (or can not do that for a lower layer
implementation)?


Yes it's possible for multiple threads to call your service
concurrently.

Steve

> -----Original Message-----
> From: Scherer Pierre [mailto:scherer_pierre@ibelgique.com]
> Sent: Tuesday, March 25, 2003 10:03 AM
> To: James-dev
> Subject: Synchronised??
>
>
>
> Hi,
>
> I have a question about the synchronisation of service.
> In fact, I log in Database when a mailet call the service
> tracking!! But is it possible that more threads (several mail
> on the server ) call this service? Or avalon gives the
> garanty that, if a call is doing by a thread, it locks this service.
>
> Thanks,
>
> -Pierre
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: james-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: james-dev-help@jakarta.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: james-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: james-dev-help@jakarta.apache.org

_____________________________________________________________________
Envie de discuter en "live" avec vos amis ? Télécharger MSN Messenger
http://www.ifrance.com/_reloc/m la 1ère messagerie instantanée de France


---------------------------------------------------------------------
To unsubscribe, e-mail: james-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: james-dev-help@jakarta.apache.org


Mime
View raw message