This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Help w/SingleThreadModel Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Help w/SingleThreadModel" Watch "Help w/SingleThreadModel" New topic

Help w/SingleThreadModel

peter parker
Ranch Hand

Joined: Jul 11, 2001
Posts: 69
What is the answer to the following question.
Which among these variables would be thread safe

A Local and Request Variables
B Local,Instance and request variables
L Goundalkar
Ranch Hand

Joined: Jul 05, 2001
Posts: 395
Local and Request scope variables are thread safe.

<b>L G Goundalkar</b><br /> <a href="" rel="nofollow"></a> <br />Sun Certified Programmer for Java 2 Platform.<br />Sun Certified Web Component Developer for J2EE.
Anthony Villanueva
Ranch Hand

Joined: Mar 22, 2002
Posts: 1055
I also tried answering it in this thread.
I agree. Here's the link:
subject: Help w/SingleThreadModel
Similar Threads
what r thread safe variables
Query from Single Thread Model
request atributes are always thread-safe?
&#65313; thread-safe question
Thread safety