Hi,

> I have a doubt with respect to multi threading property of the servlet.
> 1. If i instantiate a class A in the class Aservlets , How many instances
> will be created for N no of requests..

iF your Quesiton is about servlet instances,
        If your servlet is implementing the SingleThreadModel interface, there
can be N instances.
        Else, there will be one instance

> 2. How about static variables for a servlet class which spans across
> multiple jvms.

Static variables can not spawn across multiple JVMs.

Regards,

Subrahmanyam

--
----------------------------------------------------------
Given God=U and Unreason=U, Unreason=God        --- Q.E.D.
Check me at http://www.Subrahmanyam.com
----------------------------------------------------------

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to