aspose file tools*
The moose likes Servlets and the fly likes Servlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Servlet" Watch "Servlet" New topic
Author

Servlet

leela krishhna
Greenhorn

Joined: Aug 24, 2012
Posts: 10
Is Servlet is Singleton class or not..
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18907
    
    8

Not.
leela krishhna
Greenhorn

Joined: Aug 24, 2012
Posts: 10
leela krishhna wrote:Is Servlet is Singleton class or not..

Why ,I need Reason.. Any practical proof is there...
Seetharaman Venkatasamy
Ranch Hand

Joined: Jan 28, 2008
Posts: 5575

I create YourServlet obj = new YourServlet() . and JEE specification not restricted container to create only one instance.
Seetharaman Venkatasamy
Ranch Hand

Joined: Jan 28, 2008
Posts: 5575

Welcome to JavaRanch leela krishhna
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61653
    
  67

leela krishhna wrote:Why ,I need Reason.. Any practical proof is there...

Nonsense. It's the other way around. You prove that it is.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Servlet