Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java and JDK > Servlets
|
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Servlets section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 26th, 2006, 04:49 AM
Registered User
 
Join Date: Jul 2006
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to spmanivel
Default how can i implement thread in servlet?.

Dear Friends,

   Do u have answers for to implementing thread in servlet, Reply


Thanks...

Mani
 
Old July 26th, 2006, 05:17 PM
Friend of Wrox
 
Join Date: Jan 2006
Posts: 198
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Have you tried to do it like you would create a Thread in a normal application?

BTW it's a bad idea.

Jon Emerson
http://www.jonemerson.net/
 
Old July 27th, 2006, 04:21 AM
Registered User
 
Join Date: Jul 2006
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to spmanivel
Default

Quote:
quote:Originally posted by panacea
 Have you tried to do it like you would create a Thread in a normal application?

BTW it's a bad idea.

Jon Emerson
http://www.jonemerson.net/

Yes but i don't know in servlet?.

Mani
 
Old September 14th, 2006, 08:25 AM
Registered User
 
Join Date: Sep 2006
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to mohitsingal
Default

You can use threads in servlet but iy is a bad idea as it will degread the performance of you servlet since multiple instance for multiple users created.
as threads automaticaly managed by the web
 container






Similar Threads
Thread Thread Starter Forum Replies Last Post
By Default Servlet is Single or Multi-Thread Model bikash Servlets 6 September 3rd, 2009 02:35 PM
Which Thread to use and How peace2007 ASP.NET 1.0 and 1.1 Professional 0 September 23rd, 2007 03:24 AM
how can i create Single Thread in servlet spmanivel Servlets 1 July 25th, 2006 06:14 PM
how to implement this?please help? Desmond Classic ASP Databases 1 May 27th, 2005 11:06 PM
how can i best implement a many to many relation? Haroldd Access 1 July 2nd, 2003 03:57 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.