Should be peachy.

        The thing to remember is that multiple threads at a time can be
running the same *method* code, it's just data. With very few exceptions,
synchronization problems crop up when two threads start manipulating the
same *data*.

        --- Pat

> -----Original Message-----
> From: John MccLain [mailto:[EMAIL PROTECTED]
> Sent: Friday, July 08, 2005 11:44 AM
> To: tapestry-user-list
> Subject: simple question about static mehods calls vs. spring in Tomcat
> 
> so if use r a and user b simultaneously call a servlet, and the servlet
> makes static method calls (e.g., security.getUserPermissions,
> security.setUserPermissions) to functions that ONLY access and store data
> into session scope or local variables, then would there be a
> synchronization
> problem? if not, then what is the use of dependency injection (Spring)
> within a Tomcat container???
> 
> John McClain
> Senior Software Engineer
> TCS Healthcare
> [EMAIL PROTECTED]
> (530)886-1700x235
> "Skepticism is the first step toward truth"
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]



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

Reply via email to