struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lis...@gmx.net
Subject Re: general Thread disscussion
Date Tue, 01 Feb 2005 19:01:06 GMT
Thank you for your detailed reply. Its really helpfull but i had two 
questions:

[...]

>... and it may even be forbidden by J2EE, but... doing it is OK if you are careful a
>
[...]

I had a look in the J2EE-Specification but i can't found the point where 
this Topic is handled. Do you know where?

[...]

>Also, you NEVER want to hold references to any request-oriented resources (in fact, your
thread shouldn't even USE them, shouldn't even be aware that it's running in a servlet container,
if possible). 
>
[...]

Does this include ressources with synchronized-operations?
For example a static HashMap with some Data.
Some Client read of this HashMap (without synchronized) and the thread 
wrote with the synchronized-Expression in the HashMap

Greets Felix




---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message