Board index » jbuilder » Deprecated Interface SingleThreadModel
Jan Tim
![]() JBuilder Developer |
Jan Tim
![]() JBuilder Developer |
Deprecated Interface SingleThreadModel2006-02-04 09:22:05 PM jbuilder16 Hi, javax.servlet Interface SingleThreadModel Deprecated. As of Java Servlet API 2.4, with no direct replacement. I was using SingleThreadModel in my applications. What should i do now? How can i achieve like that SingleThreadmodel does? Thanks, |
Kevin Dean [TeamB]
![]() Java Developer |
2006-02-04 10:57:01 PM
Re:Deprecated Interface SingleThreadModel
Jan Tim wrote:
Quotejavax.servlet Interface SingleThreadModel Deprecated. As of Java Servlet of the web server as a whole, hence the deprecation. Your best bet is to figure out what parts of your code are not thread-safe and either make them thread-safe or protect the code with the "synchronized" keyword. -- Kevin Dean [TeamB] Dolphin Data Development Ltd. www.datadevelopment.com/ NEW WHITEPAPERS Team Development with JBuilder and Borland Enterprise Server Securing Borland Enterprise Server www.datadevelopment.com/papers/index.html Please see Borland's newsgroup guidelines at info.borland.com/newsgroups/guide.html |