the SingleThreadModel has deprecated in jdk1.4.what does this mean.
let's say I have some jsp,servlet are not thread safe,if I mark it as SingleThreadModel,it will not working in jdk1.4?
Discussions
Web tier: servlets, JSP, Web frameworks: what does SingleThreadModel has deprecated mean?
-
what does SingleThreadModel has deprecated mean? (3 messages)
- Posted by: zhang zhang
- Posted on: July 07 2004 17:59 EDT
Threaded Messages (3)
- what does SingleThreadModel has deprecated mean? by Senthil Chinnaiyan on July 07 2004 19:53 EDT
- what does SingleThreadModel has deprecated mean? by Race Condition on July 08 2004 11:22 EDT
- what does SingleThreadModel has deprecated mean? by J Dev on March 25 2011 07:45 EDT
-
what does SingleThreadModel has deprecated mean?[ Go to top ]
- Posted by: Senthil Chinnaiyan
- Posted on: July 07 2004 19:53 EDT
- in response to zhang zhang
the SingleThreadModel has deprecated in jdk1.4.what does this mean.let's say I have some jsp,servlet are not thread safe,if I mark it as SingleThreadModel,it will not working in jdk1.4?
Not exactly, deprication is an indication not to use the resource. The reason why that interface is depricated was, it doesn't solve the purpose completely. Static variables and context variables can be accessed by concurrent users even if you implement SingleThreadedModel interface.
Senthil. -
what does SingleThreadModel has deprecated mean?[ Go to top ]
- Posted by: Race Condition
- Posted on: July 08 2004 11:22 EDT
- in response to zhang zhang
One entry found for deprecate.
Main Entry: dep·re·cate
Pronunciation: 'de-pri-"kAt
Function: transitive verb
Inflected Form(s): -cat·ed; -cat·ing
Etymology: Latin deprecatus, past participle of deprecari to avert by prayer, from de- + precari to pray -- more at PRAY
1 a archaic : to pray against (as an evil) b : to seek to avert <deprecate the wrath ... of the Roman people -- Tobias Smollett>
2 : to express disapproval of
3 a : PLAY DOWN : make little of <speaks five languages ... but deprecates this facility -- Time> b : BELITTLE, DISPARAGE <the most reluctantly admired and least easily deprecated of ... novelists -- New Yorker>
- dep·re·cat·ing·ly /-"kA-ti[ng]-lE/ adverb
- dep·re·ca·tion /"de-pri-'kA-sh&n/ noun -
what does SingleThreadModel has deprecated mean?[ Go to top ]
- Posted by: J Dev
- Posted on: March 25 2011 07:45 EDT
- in response to zhang zhang
BTW, SingleThreadModal has been officially deprecated in Servlet 3.0 spec